Create a vendor bill
POST
/vendor-bills
Vendors/vendor bills
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-sandbox.saaslogic.io/v1/vendor-bills' \
--header 'Authorization;' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"vendorId": "d90cc3a8-7cb3-11ef-a252-325096b39f47",
"billNumber": "INV123456789",
"currencyISOCode": "USD",
"netAmount": 450,
"dueDate": "2024-10-01T00:00:00",
"billId": "b060836b-15ad-41c6-a6ff-b60d1540085d",
"serviceAddressId": "32f4b59d-4173-427f-aed1-8a05c396b7b0",
"billingAddressId": "51bb4a3b-005c-4155-892b-df1157833f48",
"billDate": "2023-09-24T00:00:00",
"amountReceived": 450,
"taxAmount": 10,
"discountAmount": 10,
"note": "This is a reminder to process the payment as soon as possible."
}'
Response Response Example
200 - Bill created successfully
{
"vendorId": "d90cc3a8-7cb3-11ef-a252-325096b39f47",
"billId": "b060836b-15ad-41c6-a6ff-b60d1540085d",
"serviceAddressId": "32f4b59d-4173-427f-aed1-8a05c396b7b0",
"billingAddressId": "51bb4a3b-005c-4155-892b-df1157833f48",
"billNumber": "INV123456789",
"currencyISOCode": "USD",
"netAmount": 450,
"billDate": "2023-09-24T00:00:000",
"dueDate": "2024-10-01T00:00:000",
"amountReceived": 450,
"taxAmount": 10,
"discountAmount": 10,
"billAmount": 450,
"note": "This is a reminder to process the payment as soon as possible."
}
Request
Header Params
Authorization
string
required
Default:
Bearer {{bearerToken}}
Content-Type
string
optional
Default:
application/json
Accept
string
optional
Default:
application/json
Body Params application/json