Skip to Content
AccountingAccounts PayableBills

Bill Object

business_idstring<biz_string>required

The ID of the Business that the bill is associated with

Example:"biz_Pk2fNFDd8wj7EFeLWJywc7"
vendor_idstring<ven_string>required

The ID of the Vendor that the bill is associated with

Example:"ven_ErisumsAc7qgmbTctM7zKK"
numberstringrequired

The id or number of the bill

Maximum string length:255
Example:"BILL-001"
descriptionstringrequired

The description of the bill

Maximum string length:512
Example:"Cleaning services"
total_amountnumberrequired

The amount of the bill

total_paidnumberrequired

The amount of the bill that has been paid

due_atstring<date-time>required

The due date of the bill

issued_atstring<date-time>required

The date the bill was sent

statusenum<string>required

The status of the bill

Available options:openpaidvoided
idstring<bil_string>required

The ID of the bill

Example:"bil_WQMDNUHpBThYSNh4AprDBo"
currencystringrequired

ISO 4217 currency code the bill was issued in

Example:"CAD"
external_idstring

An optional external identifier for the bill. Must be unique across all bills for a business.

Maximum string length:255
Example:"bill-2025-01-15-001"
voided_atstring<date-time>

The date the bill was voided

metadata_object
linesobject[]

The lines of the bill

Show child attributes
descriptionstringrequired

The description of the line item

Maximum string length:512
Example:"Cleaning services"
ledger_idstring<ldg_string>required

The ID of the ledger that the line item is associated with

Example:"ldg_ErisumsAc7qgmbTctM7zKK"
amountnumberrequired

The amount of the line item

Example:120.52
idstring<bln_string>required

The ID of the bill line

Example:"bln_GkBo16N66u2teKfFuFMMwf"
bill_idstring<bil_string>required

The ID of the bill that the line item is associated with

Example:"bil_WxcM3ypJ5boFxsNQzcqRXe"
metadata_object
paymentsobject[]

The payments associated with the bill

Show child attributes
bill_idstring<bil_string>required

The ID of the bill that the payment is associated with

Example:"bil_WQMDNUHpBThYSNh4AprDBo"
payment_idstringrequired

The external identifier of the payment

Maximum string length:255
Example:"blp_WQMDNUHpBThYSNh4AprDBo"
datetimestring<date-time>required

The date and time the payment was made

Example:"2021-01-01T00:00:00Z"
payment_amountnumberrequired

The amount of the payment

Example:"89.23"
idstring<blp_string>required

The ID of the bill payment

Example:"blp_WQMDNUHpBThYSNh4AprDBo"
transaction_idstring<txn_string>

The ID of the transaction that the payment is associated with. Null for credit-source payments.

Example:"txn_WQMDNUHpBThYSNh4AprDBo"
credit_journal_entry_idstring<uuid>

Journal entry created for this payment. Populated for credit-source payments; null for transaction-source payments (whose JE is keyed off the transaction).

credit_cash_journal_entry_idstring<uuid>

Cash-basis journal entry of a payment drawn from a cash-backed credit. Null otherwise.

vendor_credit_idstring<uuid>

Vendor credit that backs this payment. Set for credit-source payments; null otherwise.

billobject

The bill that the payment is associated with

Show child attributes
business_idstring<biz_string>required

The ID of the Business that the bill is associated with

Example:"biz_Pk2fNFDd8wj7EFeLWJywc7"
vendor_idstring<ven_string>required

The ID of the Vendor that the bill is associated with

Example:"ven_ErisumsAc7qgmbTctM7zKK"
numberstringrequired

The id or number of the bill

Maximum string length:255
Example:"BILL-001"
descriptionstringrequired

The description of the bill

Maximum string length:512
Example:"Cleaning services"
total_amountnumberrequired

The amount of the bill

total_paidnumberrequired

The amount of the bill that has been paid

due_atstring<date-time>required

The due date of the bill

issued_atstring<date-time>required

The date the bill was sent

statusenum<string>required

The status of the bill

Available options:openpaidvoided
idstring<bil_string>required

The ID of the bill

Example:"bil_WQMDNUHpBThYSNh4AprDBo"
currencystringrequired

ISO 4217 currency code the bill was issued in

Example:"CAD"
external_idstring

An optional external identifier for the bill. Must be unique across all bills for a business.

Maximum string length:255
Example:"bill-2025-01-15-001"
voided_atstring<date-time>

The date the bill was voided

metadata_object
linesobject[]

The lines of the bill

paymentsobject[]

The payments associated with the bill

tagsobject

Tag field name to the list of values attached to the bill. Each value carries its allocated amount and, when pinned, its ledger; a single-value field is still returned as a one-element list.

Example:{"Job":[{"amount":"3000.00","value":"Maple Street Remodel"},{"amount":"1500.00","value":"Downtown Office Rewire"}]}
tagsobject

Tag field name to the list of values attached to the bill. Each value carries its allocated amount and, when pinned, its ledger; a single-value field is still returned as a one-element list.

Example:{"Job":[{"amount":"3000.00","value":"Maple Street Remodel"},{"amount":"1500.00","value":"Downtown Office Rewire"}]}