QuickBooks Desktop deposits API
Bank deposits and what went into each one, so receipts can be matched to the bank statement. Deposits come from QuickBooks transactions (qbXML DepositQuery).
List deposits
GET/v1/files/{file_id}/deposits
List deposits. Follow next_cursor for the rest (how pages work).
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
file_id (required) | path | string | The company file id (file_...), from GET /v1/files. |
limit | query | integer | Records per page, 1 to 500. Default 100. |
cursor | query | string | next_cursor from the previous page. Keep the other parameters the same while paging. |
modified_since | query | string | Only records changed at or after this time (ISO 8601 date-time with offset, or a date). |
date_from | query | date | Transaction date on or after (YYYY-MM-DD). |
date_to | query | date | Transaction date on or before (YYYY-MM-DD). |
fields | query | string | Comma-separated top-level fields to return (id is always included). |
if_queued | query | string: error | error: for clients that can't come back later, such as a scheduled sheet refresh. Instead of 202, a no-copy file answers 409 no_copy_kept at once and nothing is queued; a report QuickBooks hasn't sent yet answers 409 report_not_ready (it is still asked for at the next check-in). |
order | query | string: date, modified, id | date (newest first, default), modified (oldest change first, default with modified_since) or id. |
format | query | string: json, csv | json (default) or csv. Accept: text/csv works too. |
flat | query | string: 1 | 1 returns the flat rows CSV uses, as JSON (what the Power Query recipe reads). |
rows | query | string: records, lines | lines gives one row per line item (with format=csv or flat=1). |
Responses
| Status | Means |
|---|---|
| 200 | OK |
| 202 | The company file keeps no copy here. The answer arrives at the next Web Connector check-in; read the job then. |
| 400 | A parameter isn't valid, or the key was put in the URL. |
| 401 | No key, or the key isn't valid. |
| 404 | No such company file, record or job for this key. |
| 409 | if_queued=error was sent and the answer would have had to wait for the next check-in: the company file keeps no copy (no_copy_kept), or QuickBooks hasn't sent this report yet (report_not_ready). Run it again after the check-in. |
| 429 | More than 60 requests a minute with this key. Retry-After says when to try again. |
One deposit
GET/v1/files/{file_id}/deposits/{qb_id}
One deposit by its QuickBooks id.
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
file_id (required) | path | string | The company file id (file_...), from GET /v1/files. |
qb_id (required) | path | string | QuickBooks' id for the record (ListID or TxnID). |
if_queued | query | string: error | error: for clients that can't come back later, such as a scheduled sheet refresh. Instead of 202, a no-copy file answers 409 no_copy_kept at once and nothing is queued; a report QuickBooks hasn't sent yet answers 409 report_not_ready (it is still asked for at the next check-in). |
format | query | string: json, csv | json (default) or csv. Accept: text/csv works too. |
Fields
| Field | Type | Description |
|---|---|---|
id | string | QuickBooks' own id (ListID for lists, TxnID for transactions). |
editSequence | string | Changes every time the record is edited in QuickBooks. |
createdAt | date-time | When the record was created, with the company file's time offset. |
modifiedAt | date-time | When the record last changed. Use modified_since to read only what changed. |
number | string | The number people see (invoice number, check number). |
date | date | The transaction date (YYYY-MM-DD). |
memo | string | The memo field. |
currency | string | Currency code, when the company file uses multiple currencies. |
exchangeRate | number | Exchange rate to the home currency, when the company file uses multiple currencies. |
account | Ref | The account the deposit went to. |
total | number | Total amount, in the transaction's currency. |
lines | DepositsLine[] | Line items: item, description, quantity, rate, amount, class. |
| Field | Type | Description |
|---|---|---|
from | Ref | Who the money came from. |
account | Ref | The account the line comes from. |
amount | number | The line amount. |
memo | string | The line memo. |
Ref is { id, name }: QuickBooks' id and full name, so reports can show names without a second request. CSV flattens each record into one row; the columns are listed in the OpenAPI document.
Example
curl -H "Authorization: Bearer dbk_your_key" "https://desktop-app.greatwork.company/v1/files/file_8f2c41/deposits?date_from=2026-11-01&limit=100"
{
"object": "list",
"resource": "deposits",
"file_id": "file_8f2c41",
"data": [
{
"id": "1B52-1700001400",
"date": "2026-11-16",
"account": {
"id": "80000003-1700000003",
"name": "Operating Checking"
},
"total": 2586.4
}
],
"next_cursor": null,
"has_more": false,
"synced_at": "2026-11-27T07:04:12-06:00",
"as_of": "2026-11-27T07:03:58-06:00"
}About deposits
The step between a payment and the bank
In QuickBooks Desktop, customer payments and sales receipts usually go to Undeposited Funds first. Someone then records a bank deposit that groups them, the way the deposit slip groups them at the bank (Intuit's article). This resource holds those deposits: account is the bank account, total is the amount that should match one line on the bank statement, and lines are what went into it.
What is in each deposit
Each line has from (the customer or other name the money came from), account, amount and memo. A deposit can also carry money that didn't come through Undeposited Funds, such as a vendor rebate or an owner contribution typed straight onto the deposit, and those lines name the account they post to.
One row per line, for matching against the bank statement:
GET /v1/files/file_8f2c41/deposits?date_from=2026-11-01&date_to=2026-11-30&rows=lines&format=csv
Each row repeats the deposit's txn_id, txn_number and txn_date, so a sheet can group the lines back into deposits and show each total next to its parts. The account columns on these rows are the line's account; the bank account is account on the deposit itself, so read the deposits once without rows=lines (fields=date,account,total) when you need it alongside.
Finding payments that were never deposited
A payment sitting in Undeposited Funds for weeks usually means a deposit was recorded another way, or a check never made it to the bank. To list them, take payments and sales receipts whose depositTo is Undeposited Funds, and look for each one among the deposit lines by customer (from) and amount. Deposit lines don't carry the payment's id here, so match on customer, amount and date range, and check any near-matches by hand in QuickBooks.
Freshness
Deposits arrive at the next Web Connector check-in like every other transaction. Voided deposits stay with zero amounts, as QuickBooks keeps voided transactions; deleted ones disappear after the daily sweep for deleted records.
Also in the reference: Invoices, Sales receipts, Payments, Credit memos.