Get Invoice - customerEmail

Fetch Invoice using customer's email

/customer/customerEmail

GET https://seerbitapi.com/invoice/{{publicKey}}/customer/{{customerEmail}}

This endpoint allows you to fetch a list of invoice available to a customer

Path Parameters

NameTypeDescription

customerEmail*

String

customer email

publicKey

String

merchant public key

Headers

NameTypeDescription

Authorization*

String

Bearer token

{
    "payload": [
        {
            "invoiceId": 66,
            "invoiceNo": "SBT-INV-000066",
            "totalAmount": 529.75,
            "subTotal": 500.00,
            "tax": 29.75,
            "dueDate": "2022-10-22",
            "currency": "NGN",
            "invoiceItems": [
                {
                    "itemName": "Bag",
                    "unitPrice": 100,
                    "vat": 5.95,
                    "amount": 100,
                    "quantity": 4
                },
                {
                    "itemName": "Bag",
                    "unitPrice": 400,
                    "vat": 23.80,
                    "amount": 400,
                    "quantity": 4
                }
            ],
            "customer": {
                "externalIdentify": "289276",
                "businessName": "Jane Smith Ent",
                "customerName": "Jane Smith",
                "customerEmail": "js@emaildomian.com",
                "businessId": "00000051",
                "id": 19
            },
            "billingCycle": false,
            "payButtonOnInvoices": false,
            "enableAdvancedOptions": false,
            "partialPayment": false,
            "status": "DRAFT",
            "createdAt": "2022-10-18T17:23:13.259"
        },
        {
            "invoiceId": 67,
            "invoiceNo": "SBT-INV-000067",
            "totalAmount": 529.75,
            "subTotal": 500.00,
            "tax": 29.75,
            "dueDate": "2022-10-23",
            "currency": "NGN",
            "invoiceItems": [
                {
                    "itemName": "Bag",
                    "unitPrice": 100.00,
                    "vat": 5.95,
                    "amount": 100.00,
                    "quantity": 4
                },
                {
                    "itemName": "Bag",
                    "unitPrice": 400.00,
                    "vat": 23.80,
                    "amount": 400.00,
                    "quantity": 4
                }
            ],
            
    "code": "00"
}

/customer/customerEmail

GET https://seerbitapi.com/invoice/{{publicKey}}/customer/{{customerEmail}}

Path Parameters

NameTypeDescription

customerEmail*

String

8xMKC83iKpLI

Headers

NameTypeDescription

Authorization*

String

yJunjDFJ1GIr

Last updated