Skip to Content
BusinessTransactions

Transaction Object

external_idstringrequired
Maximum string length:255
Example:"1234567890"
amountnumberrequired
Example:520.56
datetimestring<date-time>required
descriptionstringrequired

The description of the Transaction

Maximum string length:512
Example:"Payment from Acme Corp"
postedbooleanrequired
typeenum<string>required

The type of the Transaction

Available options:businesspersonal
reviewedbooleanrequired
idstring<txn_string>required

The ID of the Transaction

Example:"txn_WQMDNUHpBThYSNh4AprDBo"
external_account_idstring<eac_string>required

The ID of the External Account associated with the Transaction

Example:"eac_WQMDNUHpBThYSNh4AprDBo"
metadata_object
merchantstring

The merchant of the Transaction

Example:"Amazon"
categoryobject[]

The categories associated with the Transaction, derived from the journal entry with both basis. Each entry carries the ledger name and the amount allocated to it; a single-category journal entry is still returned as a one-element list. Null when no journal entry with both basis exists.

Example:[{"amount":"89.23","name":"Office Supplies"}]
Show child attributes
namestringrequired

The name of the category (the ledger name)

Example:"Office Supplies"
amountnumberrequired

The amount allocated to this category

Example:89.23
statusenum<string>

The status of the Transaction. Null when it has no status.

Example:"confirmed"
line_itemsobject[]

The categorized line items of the Transaction. Each item carries the ledger it is categorized to and the amount allocated to it. Pass the ids of the line items to the split endpoint to re-split the Transaction. Null when the Transaction has no categorization.

Show child attributes
idstring<le_string>required

The ID of the line item

Example:"le_GA6EG2qFxA97NZHtxeLPUy"
ledger_idstring<ldg_string>required

The ID of the Ledger the amount is categorized to

Example:"ldg_Ns6rRRLYVZPh4cVB7MDby5"
categorystringrequired

The name of the category (the name of the Ledger the amount is categorized to)

Example:"Office Supplies"
descriptionstringrequired

The description of the line item

Example:"Office Supplies"
amountnumberrequired

The amount allocated to the line item, signed in the same direction as the Transaction amount (positive for an inflow, negative for an outflow). The line items always sum to the Transaction amount.

Example:-89.23
invoice_paymentsobject[]

The invoice payments associated with the Transaction

Example:null
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
refund_paymentsobject[]

The refund payments associated with the Transaction

Example:null
Show child attributes
amountnumberrequired

The amount of the refund that has been paid

idstring<rfp_string>required

The ID of the payment

Example:"rfp_WQMDNUHpBThYSNh4AprDBo"
transaction_idstring<txn_string>required

The ID of the transaction that the refund payment is associated with

Example:"txn_WQMDNUHpBThYSNh4AprDBo"
bill_paymentsobject[]

The bill payments associated with the Transaction

Example:null
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 transaction. 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"}]}