Your application.
Their QuickBooks. Connected.
A modern API on your side. A guided connection on theirs.
Read and write QuickBooks Desktop and Enterprise data from your application.
Your application
SDK or REST request
Desktop Accounting API
Requests, types, and errors
Web Connector
On your customer’s Windows computer
QuickBooks company file
Your customer’s accounting data
GET /invoicesWeb Connector checks in for work. QuickBooks processes it.200 OK JSON responseGive each customer
the right connection.
Create one end user per company file and save its eu_... ID with the matching customer in your app. Create a setup link and open it on the Windows computer that runs QuickBooks.
eu_01...eu_02...Separate connections. The right books for every request.
Easy for your customers.
Clear for your team.
Turn desktop setup into a guided experience. Your customers connect QuickBooks. Your team gets a connection it can work with.
Let’s connect your company file.
Follow the steps to give your application access to QuickBooks Desktop.
desktop-accounting.qwcQWCYour company. Your permission.
Approve the application in QuickBooks to authorize access to the selected company file.
Connected. Ready for your app.
Your connection brings a modern API to the company file your customer already uses.
/invoices200 OKInteractive walkthrough with sample company data.
Your code speaks JSON.
QuickBooks does the accounting.
Send an SDK or REST request with the customer's end-user ID. For HTTP calls, put it in the Daapi-End-User-Id header. We carry the request through the Web Connector and return QuickBooks' answer as JSON.
- Use the language you already work in.TypeScript, Python, C# / .NET, Java, or direct HTTP with curl.
- Read and write through one interface.Work with customers, invoices, payments, and other QuickBooks accounting objects.
- Keep legacy protocols out of your app.Request handling, pagination, and consistent errors sit behind a modern interface.
import { DesktopAccountingApi } from "@desktopaccountingapi/quickbooks-desktop";
// Reads DAAPI_SECRET_KEY from the environment.
const client = new DesktopAccountingApi();
for await (const invoice of client.qbd.invoices.list(
{ limit: 25 },
{ endUserId: "eu_01j9x4m6v4c8k2t7q0r5s3w1zb" },
)) {
console.log(invoice.refNumber, invoice.balanceRemaining);
}
from desktopaccountingapi import DesktopAccountingApi
# Reads DAAPI_SECRET_KEY from the environment.
client = DesktopAccountingApi()
for invoice in client.qbd.invoices.list(
limit=25,
end_user_id="eu_01j9x4m6v4c8k2t7q0r5s3w1zb",
):
print(invoice.ref_number, invoice.balance_remaining)
using DesktopAccountingApi.QuickBooksDesktop;
using DesktopAccountingApi.QuickBooksDesktop.Models;
// Reads DAAPI_SECRET_KEY from the environment.
using var client = new DesktopAccountingApiClient();
await foreach (var invoice in client.Qbd.Invoices.ListAsync(
new InvoiceListParams { Limit = 25 },
new RequestOptions { EndUserId = "eu_01j9x4m6v4c8k2t7q0r5s3w1zb" }))
{
Console.WriteLine($"{invoice.RefNumber} {invoice.BalanceRemaining}");
}
// Reads DAAPI_SECRET_KEY from the environment.
var client = DesktopAccountingApiClient.fromEnv();
for (Invoice invoice : client.qbd().invoices().list(
new InvoiceListParams().limit(25),
RequestOptions.endUser("eu_01j9x4m6v4c8k2t7q0r5s3w1zb"))) {
System.out.println(
invoice.refNumber() + " " + invoice.balanceRemaining());
}
# The same request over HTTP.
curl --get \
"https://api.desktopaccountingapi.com/v1/quickbooks-desktop/invoices" \
--data "limit=25" \
--header "Authorization: Bearer $DAAPI_SECRET_KEY" \
--header "Daapi-End-User-Id: eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
{
"objectType": "list",
"url": "/v1/quickbooks-desktop/invoices",
"data": [
{
"id": "7-1700000000",
"objectType": "qbd_invoice",
"refNumber": "1042",
"customer": { "id": "80000001-1700000000", "fullName": "Northstar Co." },
"subtotal": "1250.00",
"balanceRemaining": "1250.00"
}
],
"nextCursor": "12b2a7d6-...",
"hasMore": true
}
Built around
desktop reality.
QuickBooks runs on your customer’s machine. Give them a clear way to sync, and give your team the context to help when a connection needs attention.
Have a setup question? Talk to us What runs on the customer’s computer?
QuickBooks Desktop and QuickBooks Web Connector run in the customer’s Windows environment. Web Connector checks in with our service for work and exchanges requests with the authorized company file. Your application uses our API from its own backend.
What happens if the computer is offline?
A request cannot complete while the Windows computer or company file is inaccessible. Your application receives a connection error with a next step for the customer. Restore access, check the connection, and run the operation again.
Does a connected status mean a sync will succeed?
A connection being set up is different from QuickBooks being ready to process a request. A real request checks the full path to the company file. A wrong file, a blocking dialog, or unavailable QuickBooks can still require the customer’s attention.
How do multiple company files work?
Each connection identifies a specific company file. Keep the end-user ID with the corresponding customer in your application and use it to direct requests to the right set of books.
Start with a sample file.
Then connect your customers.
Test the connection flow and API with QuickBooks sample company files or trial installations. Production is $49 per active company file per month, with unlimited API usage.
Bring QuickBooks Desktop
into your product.
Your customers’ accounting. Your application’s next capability.