QuickBooks Desktop bill payments API
Bills you paid by check or credit card, and which bills each payment covered. Bill payments come from QuickBooks transactions (qbXML BillPaymentCheckQuery and BillPaymentCreditCardQuery).
List bill payments
GET/v1/files/{file_id}/bill-payments
List bill payments. 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). |
vendor | query | string | A vendor id or name. |
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). |
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 bill payment
GET/v1/files/{file_id}/bill-payments/{qb_id}
One bill payment 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. |
vendor | Ref | The vendor, as { id, name }. |
amount | number | The payment amount. |
method | string: check, credit_card | check or credit_card. |
account | Ref | The bank or credit card account it was paid from. |
appliedTo | AppliedTo[] | The transactions this payment was applied to, as { txnId, amount }. |
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/bill-payments?date_from=2026-11-01&limit=100"
{
"object": "list",
"resource": "bill-payments",
"file_id": "file_8f2c41",
"data": [
{
"id": "1B22-1700001100",
"number": "4410",
"date": "2026-11-22",
"vendor": {
"id": "80000012-1700000100",
"name": "Ridgeline Lumber"
},
"amount": 960,
"method": "check",
"account": {
"id": "80000003-1700000003",
"name": "Operating Checking"
}
}
],
"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 bill payments
Two QuickBooks transactions in one list
QuickBooks Desktop records paying a bill as its own transaction, and it has two kinds: Bill Payment (Check) when the money comes from a bank account and Bill Payment (Credit Card) when it goes on a card. qbXML reads them with separate queries (BillPaymentCheckQuery and BillPaymentCreditCardQuery). This resource merges both, with method set to check or credit_card and account set to the bank or card account it was paid from.
A bill paid by check is a bill payment here, not a check, even though it prints as a check and shows in the bank register. The checks resource holds only checks written without a bill (Write Checks), so the two lists never count the same money twice.
Which bills a payment covered
appliedTo lists each bill the payment was applied to as { txnId, amount }, where txnId is the bill's id in bills. It comes in JSON; CSV carries an applied_count column instead. One payment can cover several bills from the same vendor, and a bill can be paid in parts.
Cash out by week
For a cash-out view, bill payments and checks together cover most of what leaves a bank account. Transfers, credit card charges, payroll and sales tax payments are other QuickBooks transactions and aren't in either list, and money moved by journal entry is in journal entries:
GET /v1/files/file_8f2c41/bill-payments?date_from=2026-11-01&date_to=2026-11-30&fields=number,date,vendor,amount,method,account&format=csv
GET /v1/files/file_8f2c41/checks?date_from=2026-11-01&date_to=2026-11-30&fields=number,date,payee,account,amount&format=csv
Keep the rows whose account_name is the bank account you care about, then bucket by week of date. Card bill payments move the balance to the card account; they reach the bank only when the card itself is paid.
Voids
Voiding a bill payment in QuickBooks sets its amount to zero and keeps the record (Intuit's article). Here the payment stays with a zero amount. The bill it paid is open again in QuickBooks, and bills shows it open once that change reaches us at a check-in. The vendor filter takes an id or a name.
Also in the reference: Invoices, Sales receipts, Payments, Credit memos.