POST
/
Bill
/
single
/
{entry}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Headers

idempotencyKey
string

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

entry
string
required

The paypoint's entrypoint identifier. Learn more

Body

accountingField1
string | null

Optional custom field.

accountingField2
string | null

Optional custom field.

AdditionalData
string | null

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"
  }
}
attachments
object[] | null

Array of fileContent objects with attached documents. Max upload size is 30 MB.

billDate
string | null

Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY.

billItems
object[] | null

Array of LineItems contained in bill.

billNumber
string | null

Unique identifier for the bill. Required when adding a bill.

comments
string | null

Any comment or description.

Maximum length: 250
dueDate
string | null

Due date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY.

endDate
string | null

End Date for scheduled bills. Applied only in Mode = 1. Accepted formats: YYYY-MM-DD, MM/DD/YYYY

frequency
enum<string> | null

Frequency for scheduled bills. Applied only in Mode = 1.

Available options:
one-time,
weekly,
every2weeks,
every6months,
monthly,
every3months,
annually
mode
enum<integer> | null

Bill mode: value 0 for one-time bills, 1 for scheduled bills.

Available options:
0,
1
netAmount
string | null

Net Amount owed in bill. Required when adding a bill.

status
enum<integer>

The bill's status. Values are:

  • -99: deleted or canceled
  • 1: Active
  • 2: Sent to approval
  • 5: Partially approved
  • 11: Rejected
  • 20: Approved
  • 50: Payment in transit
  • 100: Paid "
Available options:
-99,
1,
2,
5,
11,
20,
50,
100
terms
string | null

Description of payment terms.

vendor
object

Response

200 - application/json
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

pageidentifier
string | null

Auxiliary validation used internally by payment pages and components.

responseCode
integer | null

Code for the response. Learn more in API Response Codes.

responseData

If isSuccess = true, this contains the bill identifier. If isSuccess = false, this contains the reason for the error.

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Was this page helpful?