POST
/
quickbooks-desktop
/
bills

Authorizations

Authorization
string
headerrequired

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Body

application/json
vendorId
string
required

The vendor who sent this bill for goods or services purchased.

transactionDate
string
required

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

vendorAddress
object

The address of the vendor who sent this bill.

payablesAccountId
string

The Accounts-Payable (A/P) account to which this bill is assigned, used to track the amount owed. If not specified, QuickBooks Desktop will use its default A/P account.

IMPORTANT: If this bill is linked to other transactions, this A/P account must match the payablesAccount used in those other transactions.

dueDate
string

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

refNumber
string

The case-sensitive 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.

termsId
string

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

memo
string

A memo or note for this bill that appears in the Accounts-Payable register and in reports that include this bill.

salesTaxCodeId
string

The sales-tax code associated with this bill, determining whether it is taxable or non-taxable. It's used to assign a default tax status to all transactions for this bill. Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes can also be created in QuickBooks. If QuickBooks is not set up to charge sales tax (via the "Do You Charge Sales Tax?" preference), it will assign the default non-taxable code to all sales.

exchangeRate
number

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).

externalId
string

A globally unique identifier (GUID) you can provide for tracking this object in your external system.

IMPORTANT: Must be formatted as a valid GUID; otherwise, QuickBooks will return an error. This field is immutable and can only be set during object creation.

IDs of existing transactions that you wish to link to this bill, such as payments applied, credits used, or associated purchase orders. Note that this links entire transactions, not individual transaction lines. If you want to link individual lines in a transaction, instead use the field linkToTransactionLine on this bill's lines, if available.

Transactions can only be linked when creating this bill and cannot be unlinked later.

You can use both linkToTransactionIds (on this bill) and linkToTransactionLine (on its transaction lines) as long as they do NOT link to the same transaction (otherwise, QuickBooks will return an error). QuickBooks will also return an error if you attempt to link a transaction that is empty or already closed.

IMPORTANT: By default, QuickBooks will not return any information about the linked transactions in this endpoint's response even when this request is successful. To see the transactions linked via this field, refetch the bill and check the linkedTransactions response field. If fetching a list of bills, you must also specify the parameter includeLinkedTransactions=true to see the linkedTransactions response field.

expenseLines
object[]

The bill's expense lines, each representing one line in this expense.

itemLines
object[]

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

itemGroupLines
object[]

The bill's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry.

Response

200 - application/json
id
string
required

The unique identifier assigned by QuickBooks to this bill. This ID is unique across all transaction types.

objectType
string
required

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

Allowed value: "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.

revisionNumber
string
required

The current revision number of this bill object, which changes each time the object is modified. When updating this object, you must provide the most recent revisionNumber to ensure you're working with the latest data; otherwise, the update will return an error.

vendor
object
required

The vendor who sent this bill for goods or services purchased.

vendorAddress
object | null
required

The address of the vendor who sent this bill.

payablesAccount
object | null
required

The Accounts-Payable (A/P) account to which this bill is assigned, used to track the amount owed. If not specified, QuickBooks Desktop will use its default A/P account.

IMPORTANT: If this bill is linked to other transactions, this A/P account must match the payablesAccount used in those other transactions.

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 monetary 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 case-sensitive 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 has not been completed or is in a draft version.

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 that appears in the Accounts-Payable register and in reports that include this bill.

salesTaxCode
object | null
required

The sales-tax code associated with this bill, determining whether it is taxable or non-taxable. It's used to assign a default tax status to all transactions for this bill. Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes can also be created in QuickBooks. If QuickBooks is not set up to charge sales tax (via the "Do You Charge Sales Tax?" preference), it will assign the default non-taxable code to all sales.

isPaid
boolean | null
required

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

externalId
string | null
required

A globally unique identifier (GUID) you can provide for tracking this object in your external system.

IMPORTANT: Must be formatted as a valid GUID; otherwise, QuickBooks will return an error. This field is immutable and can only be set during object creation.

linkedTransactions
object[]
required

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

IMPORTANT: You must specify the parameter includeLinkedTransactions when fetching a list of bills to receive this field because it is not returned by default.

expenseLines
object[]
required

The bill's expense lines, each representing one line in this expense.

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 set of items bundled together because they are commonly purchased together or grouped for faster entry.

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 for the bill object, added as user-defined data extensions, not included in the standard QuickBooks object.