A REST API and webhooks for QuickBooks Desktop
Connect QuickBooks Desktop to Portal and create an API key under Developers. Your systems call one versioned REST API for QuickBooks Desktop customers, items, prices, orders, quotes, invoices and shipments, and get signed webhooks when they change.
About QuickBooks Desktop.
QuickBooks Desktop is Intuit's installed accounting software, sold as Pro, Premier and Enterprise. Each company keeps its books in a company file on your own computer or network rather than in Intuit's cloud, and other applications reach it through the QuickBooks SDK once the QuickBooks administrator allows them in the Integrated Applications preferences. Sales orders exist only in Premier and Enterprise.
Versions are named by year and sold as subscriptions such as Pro Plus, Premier Plus and Enterprise. Intuit discontinued QuickBooks Desktop 2023 after May 31, 2026, ending its security updates, live support and connected services, and existing Plus and Enterprise subscribers are entitled to version 2024 at no extra cost.
Enterprise is licensed per user, in single-user steps from 1 to 10, with Diamond supporting up to 40 users. Advanced Inventory, which tracks stock across several inventory sites, and Advanced Pricing come only with the Platinum and Diamond subscriptions.
Portal by Webisoft is a B2B portal for QuickBooks Desktop: customer self-service and team apps on live QuickBooks Desktop data.
Why connecting to QuickBooks Desktop is hard.
Apps reach QuickBooks Desktop by sending qbXML to the SDK on the machine where it is installed, one session at a time, so every new app needs its own install and its own approval in the company file.
Sales orders depend on the edition
Intuit documents the sales order as a Premier and Enterprise feature, turned on under Edit, Preferences, Sales & Customers with Enable Sales Order. A company on Pro, or one that never ticked that box, has no sales order to receive a portal order, so the edition decides what an online order can become.
Access is granted inside the company file
An outside application gets into a company file only when the QuickBooks administrator allows it through the Integrated Applications preferences, either whenever the file is open or also while it is closed. The approval is a company preference of that one file, and the same preferences can block every application at once, so an integration depends on an admin setting it cannot see from outside.
Every yearly version has an end date
Intuit stops supporting each Desktop version on a set date: QuickBooks Desktop 2023 was discontinued after May 31, 2026, with critical security patches ending June 1, 2026 and services such as online banking, payroll tax tables and payment processing switched off. An integration has to keep working across the yearly upgrades this forces.
The SDK cannot link an estimate
In the QuickBooks SDK, a new invoice can be linked only to a sales order and a bill or item receipt only to a purchase order; estimates are not supported as a link. An integration that turns an accepted estimate into a sales order has to copy the estimate lines itself and close the estimate afterwards.
Change times ignore daylight saving
The SDK returns modification times in standard time and does not account for daylight saving time. Reading only what changed since the last sync can skip records during summer months unless the reader looks back further than its last timestamp.
Inventory sites need Enterprise Platinum
Stock by warehouse, truck or staging area needs Advanced Inventory with Multiple Inventory Sites, which only Enterprise Platinum and Diamond subscriptions include. Without it there are no sites to split an item's quantity by, and even with it an integration has to choose which site a portal order draws from.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native QuickBooks Desktop add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the QuickBooks Desktop write rules yourself. |
| Custom code | The need is unique and you have developers who know QuickBooks Desktop. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live QuickBooks Desktop data. | It works on top of QuickBooks Desktop; it does not replace it. |
How Portal reaches QuickBooks Desktop.
Portal connects to QuickBooks Desktop through the On-site connector, a Windows service installed on the machine where QuickBooks Desktop runs, under a Windows user that can open the company file. It sends qbXML requests, version 13.0 by default and 12.0 at least, to the QuickBooks SDK request processor that is installed with QuickBooks, opening one session per sync or command so the company file is never held between cycles. You give it the full path of the company file, or leave it empty to use the company already open, the Notes text that marks credit hold, your home currency and the account that receives portal payments. The QuickBooks Admin user approves access once in single-user mode; nothing secret is stored on the machine.
Sales orders are added with the customer checked first for being active and not on credit hold, and every document's Memo starts with portal: and the portal reference, which the agent searches in the customer's documents of the last 30 days before writing, on top of its own journal. Accepting an estimate adds a sales order with the estimate's lines copied and marks the estimate inactive with the order number in its Memo. Payments become received payments applied to each paid invoice, with any surcharge left as unapplied credit. QuickBooks keeps no shipment document, so shipments are read from invoices with a ship date, and a shipment sent from Portal sets the sales order's ship date and tracking number.
What you need.
- QuickBooks Desktop Pro, Premier or Enterprise on a Windows machine that stays on, and the QuickBooks Admin user for the one-time access approval
- Premier or Enterprise with Enable Sales Order ticked under Edit, Preferences, Sales & Customers, so portal orders have a sales order to become
- An admin in Portal to create API keys and webhook endpoints
Step by step.
Your Portal team sets up the QuickBooks Desktop connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Install the agent on the QuickBooks Desktop machine
Under ERP, On-site connector in Portal, an admin chooses Generate pairing code. On the Windows machine where QuickBooks Desktop is installed, install the On-site connector, run portal-on-site pair with the code, then portal-on-site configure quickbooks_desktop and enter the full path of the company file (or leave it empty for the company already open), the Notes text that marks credit hold, your home currency and the bank account for portal payments (empty means Undeposited Funds). Open the company as the Admin user in single-user mode, run portal-on-site test and answer Yes, always to the access request QuickBooks shows.
Create a restricted key
In Developers, API keys, choose Create restricted key and tick only the scopes your app needs, for example orders and catalog.
Call the API
Send requests to /v1/ with the bearer key and the Portal-Version header. Orders you POST are written as a QuickBooks Desktop sales order whose Memo starts with the portal tag; send an Idempotency-Key so a retry never places the order twice.
Listen for changes
In Developers, Webhooks, add an endpoint for events such as order.confirmed and shipment.updated, which fire as QuickBooks Desktop confirms orders and ships them.
What syncs with QuickBooks Desktop.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers and jobs | Yes | Yes | Credit hold from a marker in Notes, or over the credit limit if you choose |
| Contacts and ship-to addresses | Yes | No | |
| Items | Yes | Yes | Inventory, assembly, non-inventory and service items |
| Prices and price levels | Yes | No | Sales price plus each active price level |
| Stock | Yes | Yes | One total per item; adjustments need an adjustment account |
| Estimates | Yes | Yes | Accepted estimates become a sales order and are marked inactive |
| Sales orders | Yes | Yes | Premier or Enterprise with sales orders turned on |
| Invoices | Yes | Yes | Created from a sales order with its lines linked |
| Received payments | Yes | Yes | Applied to the paid invoices; a surcharge stays as credit |
| Shipments | Yes | Yes | Invoice ship date, ship method and tracking number |
| Credit memos | No | Yes | |
| Returns | No | No | No return authorizations in QuickBooks Desktop |
| Purchase orders | Yes | Yes | New orders, line quantities and closed lines |
| Vendor bills | No | Yes | Paid by check from the deposit account |
Limits today: Sales orders need QuickBooks Desktop Premier or Enterprise. Returns are not created from the portal (credit memos are), and stock is one total per item, not by inventory site.
What you can do next.
- Your e-commerce site posts orders to Portal and receives order.confirmed with the QuickBooks Desktop order number.
- A warehouse app reads on hand, available after open sales orders and on order for each QuickBooks Desktop inventory and assembly item, as one total rather than by inventory site and prices through the API instead of querying QuickBooks Desktop directly.
QuickBooks Desktop questions, answered.
Does QuickBooks Desktop need the Web Connector or a hosted copy?
No. The On-site connector runs as a Windows service next to QuickBooks Desktop and sends qbXML straight to the QuickBooks SDK request processor installed with QuickBooks. It opens one session per sync or write and closes it again, so the agent never holds the company file between cycles.
Is this the QuickBooks Desktop API?
No. It is Portal's API, the same for every ERP; Portal handles QuickBooks Desktop behind it.
Can I test without touching our ERP?
Yes. The test sandbox copies your customers, catalog, prices and stock onto a demo ERP, and test keys work only there.
Keep going.
- One REST API for your ERP: overview
- B2B portal for QuickBooks Desktop
- Connect an AI agent to your ERP, QuickBooks Desktop
- Automate order entry from email, QuickBooks Desktop
- Take invoice payments online, QuickBooks Desktop
- Give customers order status, QuickBooks Desktop
- Build a B2B ordering portal, QuickBooks Desktop
- Quotes customers accept online, QuickBooks Desktop
- Triage a shared inbox, QuickBooks Desktop
- Add approval workflows, QuickBooks Desktop
- Connect an on-prem ERP safely, QuickBooks Desktop
Sources
- Intuit: Create a sales order in QuickBooks Desktop (Premier and Enterprise only)
- Intuit: manage which applications can access a QuickBooks company file
- Intuit: QuickBooks Desktop 2023 service discontinuation
- QuickBooks SDK On-Screen Reference: LinkToTxnID
- QuickBooks SDK On-Screen Reference: DATETIMETYPE
- Intuit: QuickBooks Desktop Enterprise disclaimers (Advanced Inventory, Advanced Pricing, user licenses)
- Intuit: set up Advanced Inventory and inventory sites