Add Bill
Creates a bill in an entrypoint.
Authorizations
Most endpoints require an organization
token. Some endpoints require an application
token, and those endpoints are noted.
Headers
A unique ID you can include to prevent duplicating objects or transactions if a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.
Path Parameters
The paypoint's entrypoint identifier. Learn more
Body
Optional custom field.
Optional custom field.
Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. Example usage:
{
"additionalData": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
}
}
Array of fileContent
objects with attached documents. Max upload size is 30 MB.
Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY.
Array of LineItems
contained in bill.
Unique identifier for the bill. Required when adding a bill.
Any comment or description.
250
Due date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY.
End Date for scheduled bills. Applied only in Mode
= 1. Accepted formats: YYYY-MM-DD, MM/DD/YYYY
Frequency for scheduled bills. Applied only in Mode
= 1.
one-time
, weekly
, every2weeks
, every6months
, monthly
, every3months
, annually
Bill mode: value 0
for one-time bills, 1
for scheduled bills.
0
, 1
Net Amount owed in bill. Required when adding a bill.
The bill's status. Values are:
-99
: deleted or canceled1
: Active2
: Sent to approval5
: Partially approved11
: Rejected20
: Approved50
: Payment in transit100
: Paid "
-99
, 1
, 2
, 5
, 11
, 20
, 50
, 100
Description of payment terms.
Response
Boolean indicating whether the operation was successful. A true
value indicates success. A false
value indicates failure.
Auxiliary validation used internally by payment pages and components.
Code for the response. Learn more in API Response Codes.
If isSuccess
= true, this contains the bill identifier. If isSuccess
= false, this contains the reason for the error.
Response text for operation: 'Success' or 'Declined'.
Was this page helpful?