QuickBooks Desktop API reference
Base URL https://desktop-app.greatwork.company. Every endpoint is a read; authenticate with an API key (how). Answers are JSON, or CSV with format=csv, and every one carries synced_at and as_of. This reference is generated from the OpenAPI document, which code generators and coding assistants can read directly.
Which endpoint answers which question
Most questions people bring to a QuickBooks Desktop file map to one resource or report and one or two filters. Start here, then open the resource page for its fields.
| You want | Ask for |
|---|---|
| Who owes you money right now, and how late | A/R aging summary, or invoices with status=overdue for the invoice list behind it |
| What you owe and when it is due | A/P aging summary, or bills with status=open |
| Sales by item or by class for a month | invoices and sales receipts with date_from, date_to, format=csv and rows=lines |
| Income and expenses for a period | profit and loss |
| Which invoices a payment paid | payments (appliedTo) |
| Work bid but not yet billed | estimates with status=open, and sales orders on Premier and Enterprise |
| What is on the shelf and on order | inventory |
| Which jobs make money | job profitability summary |
| Everything that changed since your last pull | any resource with modified_since and order=modified |
Ids, names and the colon
Every record carries QuickBooks' own id: a ListID for list records (customers, vendors, items, accounts, classes) and a TxnID for transactions. Those ids never change, so they are the keys to store. Names are a different matter. QuickBooks builds a full name from the record's name and every parent above it, joined with colons, so a job reads Acme Construction:Kitchen remodel and a sub-item reads Labor:Framing labor. Anyone can rename a customer in QuickBooks, which changes that full name everywhere. Intuit describes the rules on its page about object identifiers, full names and references.
References to other records come as { id, name }, so a sheet can show "Acme Construction" without a second request and a program can still join on the id.
How fresh the answers are
The API reads from the copy of the company file kept here, which the QuickBooks Web Connector on the office PC updates at each check-in. A few things move on their own schedule, and the resource pages say where:
- Changed customers, vendors, items and transactions arrive at the next check-in.
- Customer and vendor balances are re-read in full once a day, because QuickBooks changes a balance when a transaction posts without marking the customer itself as changed. Account balances are re-read at every check-in.
- Inventory quantities are re-read every 6 hours, for the same reason.
- Reports for their default period are refreshed when the stored copy is older than 6 hours. Any other period is asked for at the next check-in.
- Records deleted in QuickBooks are removed by a daily sweep.
Every answer says when its data last changed (as_of) and when it last finished syncing (synced_at), so a sheet or a script can show its own age. The details are in freshness and sync.
Money, dates and formats
Amounts are numbers in the company file's home currency unless a record carries currency and exchangeRate (multicurrency files). Dates are YYYY-MM-DD; times carry the company file's offset. JSON is the default; format=csv gives one row per record, or one row per line item with rows=lines on resources that have lines. Paging works the same on every list: follow next_cursor until it is null (requests and pagination).
Account, files and jobs
| Endpoint | Returns |
|---|---|
GET /v1/me | The key and account |
GET /v1/files | Company files this key can read |
GET /v1/files/{file_id} | One company file |
GET /v1/files/{file_id}/status | Sync health in plain words |
GET /v1/jobs/{job_id} | The answer to a queued read |
GET /v1/files/{file_id}/power-query/{name} | A Power Query (M) recipe for Excel or Power BI |
Resources (18)
| Resource | Endpoint | What it holds |
|---|---|---|
| Customers | /v1/files/{file_id}/customers | Customers and their jobs, with balances. A job is a customer with a parent, so Acme Construction:Kitchen remodel is its own row. |
| Vendors | /v1/files/{file_id}/vendors | Everyone you buy from, with what you still owe them. |
| Items | /v1/files/{file_id}/items | Your item list: services, inventory, non-inventory parts, other charges, discounts and groups, with prices and costs. |
| Accounts | /v1/files/{file_id}/accounts | The chart of accounts, with each account's type, number and current balance. |
| Classes | /v1/files/{file_id}/classes | Your class list (locations, departments, lines of business), for splitting reports the way the company does. |
| Invoices | /v1/files/{file_id}/invoices | Invoices with their line items, what was paid and what is still open. The usual starting point for receivables reports. |
| Sales receipts | /v1/files/{file_id}/sales-receipts | Sales paid on the spot (cash, card, check at the counter), with line items and where the money was deposited. |
| Payments | /v1/files/{file_id}/payments | Customer payments received, and which invoices each one paid. |
| Credit memos | /v1/files/{file_id}/credit-memos | Credits issued to customers, and how much of each is still available to apply. |
| Estimates | /v1/files/{file_id}/estimates | Estimates and bids, active or not, with line items. Good for a pipeline view of work not yet invoiced. |
| Sales orders | /v1/files/{file_id}/sales-orders | Open and closed sales orders, with whether each has been fully invoiced. |
| Bills | /v1/files/{file_id}/bills | Vendor bills with due dates, what is still open and the expense or item lines behind each one. |
| Bill payments | /v1/files/{file_id}/bill-payments | Bills you paid by check or credit card, and which bills each payment covered. |
| Purchase orders | /v1/files/{file_id}/purchase-orders | Purchase orders sent to vendors, with expected dates and whether everything has arrived. |
| Checks | /v1/files/{file_id}/checks | Checks written (and other direct payments entered as checks), with the account and the expense lines. |
| Deposits | /v1/files/{file_id}/deposits | Bank deposits and what went into each one, so receipts can be matched to the bank statement. |
| Journal entries | /v1/files/{file_id}/journal-entries | General journal entries with every debit and credit line, including adjusting entries. |
| Inventory | /v1/files/{file_id}/inventory | Quantity on hand, on order and on sales orders for each inventory item, with average cost and value. |
Reports (5)
| Report | Endpoint | What it shows |
|---|---|---|
| Profit and loss | /v1/files/{file_id}/reports/profit-and-loss | QuickBooks' standard profit and loss: income, cost of goods sold, expenses and net income for a period. |
| Balance sheet | /v1/files/{file_id}/reports/balance-sheet | QuickBooks' standard balance sheet: assets, liabilities and equity as of the end of a period. |
| A/R aging summary | /v1/files/{file_id}/reports/ar-aging | What each customer owes, split into current, 1-30, 31-60, 61-90 and over 90 days past due. |
| A/P aging summary | /v1/files/{file_id}/reports/ap-aging | What you owe each vendor, split into current, 1-30, 31-60, 61-90 and over 90 days past due. |
| Job profitability summary | /v1/files/{file_id}/reports/job-profitability | Actual cost, actual revenue and the difference for every customer and job, for a period. |
Errors follow one shape: every error code. Limits: 60 requests a minute per key, 500 records per page.