Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The UUID of the business to create the bill for
Body
When the bill was received by the business from the vendor.
Line items making up the bill.
External ID for the bill within your platform. Idempotency key.
When the bill is due. Either due_at or bill_terms must be specified, but not both.
Payment terms for the bill. Either due_at or bill_terms must be specified, but not both.
DUE_ON_RECEIPT
, NET_10
, NET_15
, NET_30
, NET_60
Memo for any text you would like to associate with the bill (for example, to display to end users).
ID of the vendor to associate with the bill. Either vendor_id or vendor_external_id must be specified.
External ID of the vendor to associate with the bill. Either vendor_id or vendor_external_id must be specified.
Payments that have been made towards the balance of the bill.
Additional sales tax line items for the bill.
Arbitrary custom metadata in JSON format with a size limit of 10KB
{
"custom_field": "value",
"any valid json": "below 10kb",
"nested": { "meaning of life": 42, "array": [] }
}
Any (typically user-visible) identifier you would like to associate with the bill. Can be used to filter when listing bills.
Response
Bill created successfully
Unique identifier for the bill.
ID of the Business that received the bill.
Unique ID of the bill in your system.
Status of the bill.
RECEIVED
, PARTIALLY_PAID
, PAID
, VOIDED
Payment terms of the bill.
DUE_ON_RECEIPT
, NET_10
, NET_15
, NET_30
, NET_60
When the bill was received.
When the bill is due.
When the bill was paid.
When the bill was voided.
Memo for the bill for display.
Line items making up the bill
Additional sales tax line items
Sum of all additional taxes in cents
Subtotal of all line items in cents
Total amount including taxes in cents
Remaining balance after payments in cents
Payment allocations for this bill
Vendor credit allocations for this bill
When the bill was imported
When the bill was last updated
The vendor associated with this bill
Arbitrary custom metadata in JSON format with a size limit of 10KB
{
"custom_field": "value",
"any valid json": "below 10kb",
"nested": { "meaning of life": 42, "array": [] }
}
Any (typically user-visible) identifier you would like to associate with the bill. Can be used to filter when listing bills.