Create a deposit
Creates a deposit into a QuickBooks Desktop bank or other asset account. Lines can either reference existing payments waiting to be deposited, using paymentTransactionId and optionally paymentTransactionLineId, or describe a manual transfer from another account using accountId and related line details.
post/quickbooks-desktop/deposits
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
The ID of the End-User to receive this request.
Request body
Example request
{
"transactionDate": "2024-10-01",
"depositToAccountId": "80000001-1234567890",
"memo": "Batch settlement deposit",
"cashBack": {
"accountId": "80000001-1234567890",
"memo": "Cash back from deposit",
"amount": "1000.00"
},
"currencyId": "80000001-1234567890",
"exchangeRate": 1.2345,
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"paymentTransactionId": "123ABC-1234567890",
"paymentTransactionLineId": "456DEF-1234567890",
"overrideMemo": "Batch settlement deposit",
"overrideCheckNumber": "1234567890",
"overrideClassId": "80000001-1234567890",
"entityId": "80000001-1234567890",
"accountId": "80000001-1234567890",
"memo": "Payment batched into settlement deposit",
"checkNumber": "1234567890",
"paymentMethodId": "80000001-1234567890",
"classId": "80000001-1234567890",
"amount": "1000.00"
}
]
}Response
Returns the newly created deposit.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_deposit",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"transactionDate": "2024-10-01",
"depositToAccount": {
"id": "80000001-1234567890",
"fullName": "Checking"
},
"memo": "Batch settlement deposit",
"totalAmount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"totalAmountInHomeCurrency": "1234.56",
"cashBack": {
"id": "456DEF-1234567890",
"objectType": "qbd_deposit_cash_back_line",
"account": {
"id": "80000001-1234567890",
"fullName": "Petty Cash"
},
"memo": "Cash back from deposit",
"amount": "1000.00"
},
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"transactionType": "invoice",
"paymentTransactionId": "123ABC-1234567890",
"id": "456DEF-1234567890",
"objectType": "qbd_deposit_line",
"paymentTransactionLineId": "456DEF-1234567890",
"entity": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"account": {
"id": "80000001-1234567890",
"fullName": "Undeposited Funds"
},
"memo": "Payment batched into settlement deposit",
"checkNumber": "1234567890",
"paymentMethod": {
"id": "80000001-1234567890",
"fullName": "Credit Card"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Retail Sales"
},
"amount": "1000.00"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}