Desktop Accounting API documentation
Desktop Accounting API connects your application to your customers’ QuickBooks Desktop company files. You call a JSON REST API from your server. We deliver each request to the customer’s QuickBooks through the QuickBooks Web Connector, Intuit’s own sync program, and return QuickBooks’ answer as typed JSON.
You never install anything on your customer’s computer. Your customer opens a setup link once, downloads a small connector file, allows access in QuickBooks and pastes a password. From then on, your server can list invoices, create customers, run reports and work with more than 60 kinds of QuickBooks records.
Use typed batch requests for up to 25 ordered operations in one round trip. Enable the change feed to receive changed and deleted record IDs through webhooks.
How a request travels
Section titled “How a request travels”Your server ──HTTPS JSON──▶ api.desktopaccountingapi.com ──queue──▶ QuickBooks Web Connector ──▶ QuickBooks Desktop ◀── JSON ───── ◀──────── qbXML response ◀──────────- Your server sends
GET /v1/quickbooks-desktop/invoiceswith your secret key and the end user’s ID. - We validate the request, translate it to qbXML and queue it for that end user’s company file.
- The Web Connector on the customer’s computer checks in about every 10 seconds (more often while there is work), picks up the request and hands it to QuickBooks.
- QuickBooks answers. We map the answer to JSON and return it on your original HTTP call.
A warm connection answers in about a second. Read Request lifecycle for the timing model, timeouts and the async mode for long-running work.
What you can build
Section titled “What you can build”- Two-way sync between your product and QuickBooks Desktop: customers, vendors, items, invoices, bills, payments and journal entries.
- Incremental imports with
updatedAfterfilters and the deleted-objects endpoints. See Incremental sync. - Reporting from QuickBooks’ own reports, such as profit and loss, aging and payroll summaries, returned as rows and columns. See Reports.
- Anything else qbXML supports, through passthrough.
What makes this API different
Section titled “What makes this API different”- Every request has a status you can see. Each QuickBooks-bound call gets a request ID with a lifecycle (
queued,sent,succeeded,failed,outcome_unknown), a timeline and the native QuickBooks status code. You can look it up withGET /v1/requests/{id}or in the dashboard request log. - Errors tell you what to do. Each error carries a stable
code, a cause, fixes addressed to you or to your end user, a message safe to show your customer, a retry flag and a link to its documentation. - Reuse an
Idempotency-Keyfor retries within its seven-day retention period. During that period, a completed or uncertain write is not sent again. After expiry, verify the earlier outcome before retrying old work. See Idempotency and safe retries. - Pagination fails loudly. QuickBooks cursors live only inside one session. We tell you when a cursor expires (
cursorExpiresAt), replay a page you already fetched if your network dropped, and return410 CURSOR_EXPIREDwith progress counts instead of silently skipping records. See Pagination. - Webhooks for asynchronous work. Queue large imports with
Prefer: respond-asyncand receive signed webhooks as each request finishes.
Coming from Conductor? Paths and field names match, so most code changes are the base URL, the key and one header name. See Migrating from Conductor.