Create Invoice

Create and send invoice to customer's emails

/create

POST https://seerbitapi.com/invoice/create

This endpoint allows you to create and send an invoice to a customers email

Headers

Name
Type
Description

Authorization*

String

Bearer Token

Request Body

Name
Type
Description

publickey*

String

merchant public key

orderNo*

String

dueDate*

String

expiration date for invoice payment

currency*

String

currency for invoice

receiversName*

String

customer name

customerEmail*

String

customer email

itemName*

String

item invoiced

Quantity*

String

no of items

Rate*

String

unit price of item

tax*

String

tax

curl --location 'https://seerbitapi.com/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTED_KEY' \
--data-raw '{
    "publicKey":"YOUR_PUBLIC_KEY",
    "orderNo": "333333221321",
    "dueDate": "2022-10-23",
    "currency": "NGN",
    "receiversName": "Jane Smith",
    "customerEmail": "janesmith@emaildomain.com",
    "invoiceItems": [
        {
            "itemName": "Bluetooth Pods",
            "quantity": 1,
            "rate": 25000,
            "tax": 7.5
        },
        {
            "itemName": "Quest 10",
            "quantity": 4,
            "rate": 100000,
            "tax": 7.5
        }
    ]
}'

Last updated