QuickBooks Desktop customers API

Customers and their jobs, with balances. A job is a customer with a parent, so Acme Construction:Kitchen remodel is its own row. Customers come from a QuickBooks list (qbXML CustomerQuery).

List customers

GET/v1/files/{file_id}/customers

List customers. 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.
customerquerystringA customer id or name. A customer includes its jobs.
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 customer

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

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

Customers 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 customer or job name.
fullNamestringThe full name, including parents (Customer:Job, Parent:Item).
isActivebooleanFalse when the customer is inactive in QuickBooks.
parentRefFor a job, the customer it belongs to.
isJobbooleanTrue for jobs (customers with a parent).
companyNamestringThe company name.
emailstringThe main email address.
phonestringThe main phone number.
billAddressAddressThe billing address. Address: line1, line2, city, state, postalCode, country.
balancenumberWhat this customer or job owes, not counting its jobs.
totalBalancenumberWhat this customer owes, including its jobs.
jobStatusstring: Awarded, Closed, InProgress, None, NotAwarded, PendingThe job status for jobs, in QuickBooks' own words: Awarded, Closed, InProgress, None, NotAwarded or Pending.
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/customers?limit=100"
{
  "object": "list",
  "resource": "customers",
  "file_id": "file_8f2c41",
  "data": [
    {
      "id": "80000001-1700000000",
      "name": "Acme Construction",
      "fullName": "Acme Construction",
      "isActive": true,
      "isJob": false,
      "email": "ap@acme.example",
      "balance": 4250,
      "totalBalance": 6980.5,
      "modifiedAt": "2026-11-20T08:12:44-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 customers

Jobs live in the customer list

QuickBooks Desktop has no separate job list. A job is a customer with a parent, and a sub-job is a job with a parent, so one list holds Acme Construction, Acme Construction:Kitchen remodel and Acme Construction:Kitchen remodel:Cabinets. qbXML has no job query of its own (jobs come back from the same customer query), and this API keeps that shape: every row has isJob and, for jobs, a parent reference. Filter isJob in your sheet or script to get a customers-only list.

The customer filter takes an id or a name and always includes the jobs underneath. These two requests return the same rows:

GET /v1/files/file_8f2c41/customers?customer=80000001-1700000000
GET /v1/files/file_8f2c41/customers?customer=Acme%20Construction

Names match the full name or the short name, ignoring case. A job's full name has a colon in it, so encode it (Acme%20Construction%3AKitchen%20remodel) or, better, pass the id.

balance or totalBalance

balance is what this one customer or job owes. totalBalance adds every job underneath. For a list of customers with what each owes in total, keep the rows where isJob is false and read totalBalance; adding up balance across a parent and its jobs gives the same figure, and adding totalBalance for both counts the jobs twice.

QuickBooks updates a customer's balance when an invoice or payment posts without marking the customer as changed, so a modified_since read won't pick that up. We re-read the whole customer list once a day to catch it. For what is owed this hour, use the open invoices (status=open) or the A/R aging summary, which comes from QuickBooks' own report.

Inactive customers and job status

Customers you made inactive in QuickBooks are still here with isActive: false. Leave status out for everyone, or pass status=active or status=inactive. jobStatus carries QuickBooks' own words (Awarded, InProgress, Closed and so on), which is handy for a contractor's job board: active jobs with jobStatus InProgress, sorted by totalBalance.

Keeping a copy in step

For a nightly pull into a spreadsheet or a database, ask for modified_since set to your last run's as_of with order=modified, and upsert on id. Deleted customers stop appearing after the daily sweep; a request for one by id then answers record_not_found (errors). The same customer reference appears on invoices, payments and estimates, so the id is the join key across all of them.

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