Skip to Content
AccountingAccounts ReceivableInvoices

Invoice Object

business_idstring<biz_string>required

The ID of the Business that the invoice is associated with

Example:"biz_Pk2fNFDd8wj7EFeLWJywc7"
numberstringrequired

The number of the invoice. Must be unique across all invoices for a business.

Maximum string length:255
Example:"INV-1234567890"
descriptionstringrequired

The description of the invoice

Maximum string length:512
Example:"Invoice from Acme Corp"
total_amountnumberrequired

The amount of the invoice

Example:520.56
sourceenum<string>required

The source of the invoice

Available options:manualstripequickbooks
due_atstring<date-time>required

The due date of the invoice

sent_atstring<date-time>required

The date the invoice was sent

statusenum<string>required

The status of the invoice

Available options:openpaiduncollectiblevoidedrefundedpartially_refunded
idstring<inv_string>required

The ID of the invoice

Example:"inv_GkBo16N66u2teKfFuFMMwf"
customer_idstring<cus_string>required

The ID of the Customer that the invoice is associated with

Example:"cus_WxcM3ypJ5boFxsNQzcqRXe"
currencystringrequired

ISO 4217 currency code the invoice was issued in

Example:"CAD"
external_idstring

An optional external identifier for the invoice. Must be unique across all invoices for a business.

Maximum string length:255
Example:"inv-2025-01-15-001"
total_paidnumber

The amount of the invoice that has been paid

Default:0
Example:520.56
voided_atstring<date-time>

The date the invoice was voided

metadataobject
linesobject[]

The lines of the invoice

Show child attributes
descriptionstringrequired

The description of the line item

Maximum string length:512
Example:"Web development 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:520.56
idstring<inl_string>required

The ID of the invoice line

Example:"inl_GkBo16N66u2teKfFuFMMwf"
invoice_idstring<inv_string>required

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

Example:"inv_WQMDNUHpBThYSNh4AprDBo"
metadataobject
paymentsobject[]

The payments of the invoice

Show child attributes
invoice_idstring<inv_string>required

The ID of the invoice that the payment is associated with

Example:"inv_GkBo16N66u2teKfFuFMMwf"
payment_idstringrequired

The external identifier of the payment

Maximum string length:255
Example:"inp_ErisumsAc7qgmbTctM7zKK"
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, always denominated in the invoice's currency. The cash actually moved (which may be in another currency) lives on the linked transaction.

Example:520.56
idstring<inp_string>required

The ID of the invoice payment

Example:"inp_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.

credit_memo_idstring<uuid>

Credit memo that backs this payment. Set for write-off payments; null otherwise.

invoiceobject

The invoice that the payment is associated with

Show child attributes
business_idstring<biz_string>required

The ID of the Business that the invoice is associated with

Example:"biz_Pk2fNFDd8wj7EFeLWJywc7"
numberstringrequired

The number of the invoice. Must be unique across all invoices for a business.

Maximum string length:255
Example:"INV-1234567890"
descriptionstringrequired

The description of the invoice

Maximum string length:512
Example:"Invoice from Acme Corp"
total_amountnumberrequired

The amount of the invoice

Example:520.56
sourceenum<string>required

The source of the invoice

Available options:manualstripequickbooks
due_atstring<date-time>required

The due date of the invoice

sent_atstring<date-time>required

The date the invoice was sent

statusenum<string>required

The status of the invoice

Available options:openpaiduncollectiblevoidedrefundedpartially_refunded
idstring<inv_string>required

The ID of the invoice

Example:"inv_GkBo16N66u2teKfFuFMMwf"
customer_idstring<cus_string>required

The ID of the Customer that the invoice is associated with

Example:"cus_WxcM3ypJ5boFxsNQzcqRXe"
currencystringrequired

ISO 4217 currency code the invoice was issued in

Example:"CAD"
external_idstring

An optional external identifier for the invoice. Must be unique across all invoices for a business.

Maximum string length:255
Example:"inv-2025-01-15-001"
total_paidnumber

The amount of the invoice that has been paid

Default:0
Example:520.56
voided_atstring<date-time>

The date the invoice was voided

metadataobject
linesobject[]

The lines of the invoice

paymentsobject[]

The payments of the invoice

tagsobject

Tag field name to the list of values attached to the invoice. 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"}]}
is_write_offboolean

True when the payment was created by writing off the invoice as uncollectible.

Default:false
tagsobject

Tag field name to the list of values attached to the invoice. 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"}]}