POST
/
quickbooks-desktop
/
bill-credit-card-payments

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 the bill(s) that this bill credit card payment is paying and who will receive this payment.

IMPORTANT: This vendor must match the vendor on the bill(s) specified in applyToTransactions; otherwise, QuickBooks will say the transactionId in applyToTransactions "does not exist".

transactionDate
string
required

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

creditCardAccountId
string
required

The credit card account to which this bill credit card payment is being charged. This bill credit card payment will decrease the balance of this account.

applyToTransactions
object[]
required

The bills to be paid by this bill credit card payment. This will create a link between this bill credit card payment and the specified bills.

IMPORTANT: In each applyToTransactions object, you must specify either paymentAmount, applyCredits, discountAmount, or any combination of these; if none of these are specified, you will receive an error for an empty transaction.

IMPORTANT: The target bill must have isPaid=false, otherwise, QuickBooks will report this object as "cannot be found".

payablesAccountId
string

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

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

refNumber
string

The case-sensitive user-defined reference number for this bill credit card payment, 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.

memo
string

A memo or note for this bill credit card payment.

exchangeRate
number

The market exchange rate between this bill credit card payment'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.

Response

200 - application/json
id
string
required

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

objectType
string
required

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

Allowed value: "qbd_bill_credit_card_payment"
createdAt
string
required

The date and time when this bill credit card payment 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 credit card payment 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 credit card payment 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 | null
required

The vendor who sent the bill(s) that this bill credit card payment is paying and who will receive this payment.

IMPORTANT: This vendor must match the vendor on the bill(s) specified in applyToTransactions.

payablesAccount
object | null
required

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

IMPORTANT: If this bill credit card payment 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 credit card payment, in ISO 8601 format (YYYY-MM-DD).

creditCardAccount
object
required

The credit card account to which this bill credit card payment is being charged. This bill credit card payment will decrease the balance of this account.

amount
string | null
required

The monetary amount of this bill credit card payment, represented as a decimal string.

currency
object | null
required

The bill credit card payment'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 credit card payment'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).

amountInHomeCurrency
string | null
required

The total monetary amount for this bill credit card payment 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 credit card payment, 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.

IMPORTANT: For checks, this field is the check number.

memo
string | null
required

A memo or note for this bill credit card payment.

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.

appliedToTransactions
object[]
required

The bill(s) paid by this bill credit card payment.

customFields
object[]
required

The custom fields for the bill credit card payment object, added as user-defined data extensions, not included in the standard QuickBooks object.