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
Name | Type | Description |
---|---|---|
customerEmail* | String | customer email |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer token |
{
"payload": [
{
"invoiceId": 66,
"invoiceNo": "SBT-INV-000066",
"totalAmount": 529.75,
"subTotal": 500.00,
"publicKey": "SBPUBK_TCDUH6MNIDLHMJXJEJLBO6ZU2RNUUPHI",
"testKey": "SBTESTPUBK_4v0JR58modUFJjF1Es206pveBQjOLxe2",
"supportEmail": "ts@greentechng.com",
"customerEmail": "motayo@mailinator.com",
"businessName": "Green Technological Concepts",
"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": "Rasaq Agbalaya",
"customerName": "Rasaq Agbalaya",
"customerEmail": "motayo@mailinator.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,
"publicKey": "SBPUBK_TCDUH6MNIDLHMJXJEJLBO6ZU2RNUUPHI",
"testKey": "SBTESTPUBK_4v0JR58modUFJjF1Es206pveBQjOLxe2",
"supportEmail": "ts@greentechng.com",
"receiversName": "Rasaq Agbalaya",
"customerEmail": "motayo@mailinator.com",
"businessName": "Green Technological Concepts",
"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"
}
Last updated