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.