POST
/
quickbooks-desktop
/
receive-payments
/
{id}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The QuickBooks-assigned unique identifier of the receive-payment to update.

Body

application/json
revisionNumber
string
required

The current revision number of the receive-payment object you are updating, which you can get by fetching the object first. Provide the most recent revisionNumber to ensure you're working with the latest data; otherwise, the update will return an error.

applyToTransactions
object[]

The invoices to be paid by this receive-payment. This will create a link between this receive-payment and the specified invoices.

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 invoice must have isPaid=false, otherwise, QuickBooks will report this object as "cannot be found".

creditCardTransaction
object

The credit card transaction data for this receive-payment's payment when using QuickBooks Merchant Services (QBMS). If specifying this field, you must also specify the paymentMethod field.

customerId
string

The customer or customer-job to which the payment for this receive-payment is credited.

depositToAccountId
string

The account where the funds for this receive-payment will be or have been deposited.

exchangeRate
number

The market exchange rate between this receive-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).

memo
string

A memo or note for this receive-payment that will be displayed at the beginning of reports containing details about this receive-payment.

paymentMethodId
string

The receive-payment's payment method (e.g., cash, check, credit card).

receivablesAccountId
string

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

IMPORTANT: If this receive-payment is linked to other transactions, this A/R account must match the receivablesAccount used in all linked transactions. For example, when refunding a credit card payment, the A/R account must match the one used in the original credit transactions being refunded.

refNumber
string

The case-sensitive user-defined reference number for this receive-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.

totalAmount
string

The total monetary amount of this receive-payment, represented as a decimal string.

NOTE: The sum of the paymentAmount amounts in the applyToTransactions array cannot exceed the totalAmount, or you will receive an error.

transactionDate
string

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

Response

200 - application/json
appliedToTransactions
object[]
required

The invoice(s) paid by this receive-payment.

createdAt
string
required

The date and time when this receive-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.

creditCardTransaction
object | null
required

The credit card transaction data for this receive-payment's payment when using QuickBooks Merchant Services (QBMS).

currency
object | null
required

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

customer
object
required

The customer or customer-job to which the payment for this receive-payment is credited.

customFields
object[]
required

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

depositToAccount
object | null
required

The account where the funds for this receive-payment will be or have been deposited.

exchangeRate
number | null
required

The market exchange rate between this receive-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 | null
required

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

id
string
required

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

memo
string | null
required

A memo or note for this receive-payment that will be displayed at the beginning of reports containing details about this receive-payment.

objectType
string
required

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

Allowed value: "qbd_receive_payment"
paymentMethod
object | null
required

The receive-payment's payment method (e.g., cash, check, credit card).

receivablesAccount
object | null
required

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

IMPORTANT: If this receive-payment is linked to other transactions, this A/R account must match the receivablesAccount used in all linked transactions. For example, when refunding a credit card payment, the A/R account must match the one used in the original credit transactions being refunded.

refNumber
string | null
required

The case-sensitive user-defined reference number for this receive-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.

revisionNumber
string
required

The current revision number of this receive-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.

totalAmount
string
required

The total monetary amount of this receive-payment, represented as a decimal string.

totalAmountInHomeCurrency
string | null
required

The total monetary amount of this receive-payment converted to the home currency of the QuickBooks company file. Represented as a decimal string.

transactionDate
string
required

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

unusedCredits
string | null
required

The amount of credit that remains unused after applying credits to this receive-payment. This occurs when the applyCredit.appliedAmount specified for a credit memo (applyCredit.creditMemoId) in the applyToTransactions array is less than the total available credit amount for that credit memo.

unusedPayment
string | null
required

The amount of this receive-payment that remains unapplied to any transactions. This occurs in two cases: (1) When the sum of paymentAmount amounts in applyToTransactions is less than totalAmount, leaving a portion of the payment unused, or (2) When a payment is received that equals the exact amount of an invoice, but credits or discounts are also applied, resulting in excess payment.

updatedAt
string
required

The date and time when this receive-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.