QuickBooks Desktop vendors API

Everyone you buy from, with what you still owe them. Vendors come from a QuickBooks list (qbXML VendorQuery).

List vendors

GET/v1/files/{file_id}/vendors

List vendors. 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).
statusquerystring: active, inactive, allFilter by status.
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: modified, idid (default) or modified (default with modified_since).
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).

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 vendor

GET/v1/files/{file_id}/vendors/{qb_id}

One vendor 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

Vendors 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.
namestringThe vendor name.
isActivebooleanFalse when the vendor is inactive.
companyNamestringThe company name.
emailstringThe main email address.
phonestringThe main phone number.
addressAddressThe vendor address. Address: line1, line2, city, state, postalCode, country.
balancenumberWhat you owe this vendor.
currencystringCurrency code, when the company file uses multiple currencies.

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/vendors?limit=100"
{
  "object": "list",
  "resource": "vendors",
  "file_id": "file_8f2c41",
  "data": [
    {
      "id": "80000012-1700000100",
      "name": "Ridgeline Lumber",
      "isActive": true,
      "balance": 1875,
      "modifiedAt": "2026-11-18T15:02:10-06:00"
    }
  ],
  "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 vendors

The vendor list as the key for spending

The vendor list itself is simple, but its ids tie together everything you spend: bills, bill payments, purchase orders and, when the payee is a vendor, checks. Each of those carries the vendor as { id, name }, so a pivot table by vendor works on the name while a program joins on the id. Vendor names in QuickBooks have no parents, so there is no colon to worry about.

What balance means

balance is what you owe this vendor, as QuickBooks keeps it on the vendor record. QuickBooks changes that number when a bill or bill payment posts without marking the vendor as changed, so we re-read the whole vendor list once a day to pick it up. For today's figure, use open bills (status=open) or the A/P aging summary, which runs QuickBooks' own report.

Two requests bookkeepers ask for

Total paid to each vendor this year (a starting point for year-end vendor reviews) is the sum of two resources, because QuickBooks records a bill paid by check as a bill payment and money paid without a bill as a check:

GET /v1/files/file_8f2c41/bill-payments?date_from=2026-01-01&date_to=2026-12-31&format=csv
GET /v1/files/file_8f2c41/checks?date_from=2026-01-01&date_to=2026-12-31&format=csv

Group both by vendor (vendor_name on bill payments, payee_name on checks) and add them. Credit card charges entered as credit card transactions aren't in either; this API doesn't read them.

A vendor list for a mailing or a phone tree: ?status=active&fields=name,companyName,email,phone,address.

Inactive vendors

Vendors made inactive in QuickBooks stay in the list with isActive: false, because old bills still point at them. Leave status out to get every vendor, or pass status=active. Changes arrive at the next Web Connector check-in (how freshness works); for an incremental copy, pass modified_since with order=modified and upsert on id.

Also in the reference: Customers, Items, Accounts, Classes.