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

ParameterInTypeDescription
file_id (required)pathstringThe company file id (file_...), from GET /v1/files.
limitqueryintegerRecords per page, 1 to 500. Default 100.
cursorquerystringnext_cursor from the previous page. Keep the other parameters the same while paging.
modified_sincequerystringOnly records changed at or after this time (ISO 8601 date-time with offset, or a date).
date_fromquerydateTransaction date on or after (YYYY-MM-DD).
date_toquerydateTransaction date on or before (YYYY-MM-DD).
fieldsquerystringComma-separated top-level fields to return (id is always included).
if_queuedquerystring: errorerror: 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).
orderquerystring: date, modified, iddate (newest first, default), modified (oldest change first, default with modified_since) or id.
formatquerystring: json, csvjson (default) or csv. Accept: text/csv works too.
flatquerystring: 11 returns the flat rows CSV uses, as JSON (what the Power Query recipe reads).
rowsquerystring: records, lineslines gives one row per line item (with format=csv or flat=1).

Responses

StatusMeans
200OK
202The company file keeps no copy here. The answer arrives at the next Web Connector check-in; read the job then.
400A parameter isn't valid, or the key was put in the URL.
401No key, or the key isn't valid.
404No such company file, record or job for this key.
409if_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.
429More 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

ParameterInTypeDescription
file_id (required)pathstringThe company file id (file_...), from GET /v1/files.
qb_id (required)pathstringQuickBooks' id for the record (ListID or TxnID).
if_queuedquerystring: errorerror: 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).
formatquerystring: json, csvjson (default) or csv. Accept: text/csv works too.

Fields

Deposits fields
FieldTypeDescription
idstringQuickBooks' own id (ListID for lists, TxnID for transactions).
editSequencestringChanges every time the record is edited in QuickBooks.
createdAtdate-timeWhen the record was created, with the company file's time offset.
modifiedAtdate-timeWhen the record last changed. Use modified_since to read only what changed.
numberstringThe number people see (invoice number, check number).
datedateThe transaction date (YYYY-MM-DD).
memostringThe memo field.
currencystringCurrency code, when the company file uses multiple currencies.
exchangeRatenumberExchange rate to the home currency, when the company file uses multiple currencies.
accountRefThe account the deposit went to.
totalnumberTotal amount, in the transaction's currency.
linesDepositsLine[]Line items: item, description, quantity, rate, amount, class.
Line item fields
FieldTypeDescription
fromRefWho the money came from.
accountRefThe account the line comes from.
amountnumberThe line amount.
memostringThe 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.