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
}
]
}'
{
"message": "Invoice created successfully ",
"payload": {
"InvoiceID": 92,
"InvoiceNo": "SBT-INV-000092"
},
"code": "00"
}