id
string
required

The unique identifier assigned by QuickBooks for this bill. This ID is unique among all transaction types.

objectType
string
required

The type of object. This value is always "qbd_bill".

createdAt
string
required

The date and time when this bill was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.

updatedAt
string
required

The date and time when this bill was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.

version
string
required

The current version identifier for this bill, which changes each time the object is modified. When updating this object, you must provide the most recent version to ensure you're working with the latest data; otherwise, the update will fail. This value is opaque and should not be interpreted.

vendor
object
required

The vendor or company from whom this bill is received for goods or services purchased.

vendorAddress
object | null
required

The address of the vendor associated with this bill.

accountsPayableAccount
object | null
required

The accounts payable account to which this bill is assigned, used to track the amount owed. If not specified, the default accounts payable account in QuickBooks is used.

transactionDate
string
required

The date of this bill, in ISO 8601 format (YYYY-MM-DD).

dueDate
string | null
required

The date by which this bill must be paid, in ISO 8601 format (YYYY-MM-DD).

amountDue
string
required

The total monetary amount due for this bill, represented as a decimal string. This equals the sum of the amounts in the bill's expense lines, item lines, and item group lines. It also equals openAmount plus any credits or discounts.

currency
object | null
required

The bill's currency. For built-in currencies, the name and code are standard international values. For user-defined currencies, all values are editable.

exchangeRate
number | null
required

The market exchange rate between this bill's currency and the home currency in QuickBooks at the time of this transaction. Represented as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).

amountDueInHomeCurrency
string | null
required

The total amount due for this bill converted to the home currency of the QuickBooks company file. Represented as a decimal string.

refNumber
string | null
required

The user-defined reference number for this bill, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user.

isPending
boolean | null
required

Indicates whether this bill is pending approval or completion. If true, the bill is in a draft state and has not been finalized.

terms
object | null
required

The bill's payment terms, defining when payment is due and any applicable discounts.

memo
string | null
required

A memo or note for this bill, as entered by the user. Appears in the accounts payable register and relevant reports.

salesTaxCode
object | null
required

The sales tax code associated with this bill, indicating whether it is taxable or non-taxable. Default codes include 'NON' (non-taxable) and 'TAX' (taxable). If QuickBooks is not set up to charge sales tax, it will assign the default non-taxable code to all sales.

isPaid
boolean | null
required

Indicates whether this bill has been paid in full. If true, openAmount will be 0.

externalId
string | null
required

A developer-assigned globally unique identifier (GUID) for tracking this object in external systems. Must be formatted as a valid GUID; otherwise, QuickBooks will return an error.

linkedTransactions
object[]
required

The bill's linked transactions, such as payments applied, credits used, or linked purchase orders.

expenseLines
object[]
required

The bill's expense lines, each representing an expense item or account affected by this transaction.

itemLines
object[]
required

The bill's item lines, each representing the purchase of a specific item or service.

itemGroupLines
object[]
required

The bill's item-group lines, each representing a predefined group of items purchased together.

openAmount
string | null
required

The remaining amount owed on this bill after subtracting any credits or discounts from the openAmount. Represented as a decimal string.

customFields
object[]
required

The custom fields added by the user to this bill object as a data extension. These fields are not part of the standard QuickBooks object.