How to connect an AI agent to QuickBooks Desktop
Connect QuickBooks Desktop to Portal, then add Portal's MCP address in Claude, ChatGPT or Cursor and sign in. The assistant answers from QuickBooks Desktop data synced into Portal, and anything it changes, like a QuickBooks Desktop sales order whose Memo starts with the portal tag, waits for your confirm.
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.
QuickBooks Desktop is reached through the SDK on the machine where it is installed, one session at a time. Portal gives an assistant tools on the synced company data instead, and sends confirmed sales orders and estimates through the agent.
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 turn on AI tools under Setup, MCP
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.
Turn on AI tools
Under Setup, MCP, tick Allow AI tools for internal users, customer users or both, and choose which tools are offered. Customer, item and price data come from the QuickBooks Desktop customer or Customer:Job, on credit hold when its Notes carry your hold text, CREDIT HOLD by default, or when its balance is over its credit limit if you choose and the sales price of each QuickBooks Desktop item and the price level assigned to the customer, fixed percentage or per item.
Decide on changes
Leave Allow actions that change data off for a read-only assistant. Turn it on and a request such as placing an order returns a preview; once confirmed, it becomes a QuickBooks Desktop sales order whose Memo starts with the portal tag, kept from duplicating by portal: and the reference at the start of the Memo, searched in that customer's documents of the last 30 days before every write, plus the agent's own journal.
Add Portal to your AI app
Copy the address from the MCP page, or from Connect an AI tool on the customer site, and add it as a connector or custom integration in Claude, ChatGPT or Cursor. Sign in on the Portal page that opens and choose Allow.
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.
- Which estimates for this customer are still active in QuickBooks Desktop and have not become sales orders?
- Which QuickBooks Desktop sales orders for this job still have lines that are not invoiced?
- Which customers have CREDIT HOLD in their QuickBooks Desktop notes, and what balance does each one carry?
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.
Does the assistant log in to QuickBooks Desktop?
No. It signs in to Portal as the person using it, and Portal holds the single QuickBooks Desktop connection.
Can it see every QuickBooks Desktop record?
It sees what the signed-in user may see in Portal: a customer user sees their own account, and staff see what their role allows.
Keep going.
- Connect an AI agent to your ERP: overview
- B2B portal for 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
- One REST API for your ERP, 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