QuickBooks Online MCP tools

Reference for the tools the hosted QuickBooks Online MCP server exposes, with arguments and examples.

All tools except list_companies and describe take a company argument: the company name (case-insensitive) or the Intuit realm id. Names are matched only against companies connected to your SyncFreedom account. If two connected companies share a name, the tool refuses and lists their realm ids; pass the realm id instead.

Write tools need the qbo:write scope.

list_companies()

Returns [{"realm_id": "...", "name": "...", "status": "connected"}].

describe(entity)

Fields, required fields and common filters for an entity such as Invoice, Customer, Bill, Account, Item, JournalEntry, Payment, Vendor. Use it before create or update.

query(company, entity, where="", limit=100, start_position=1, order_by="")

Runs a QuickBooks Online query. where is the part after WHERE in Intuit's query language, for example Balance > '0' AND TxnDate >= '2026-01-01'. Results include total_count and has_more so you can page with start_position.

query(company="Acme Hardware", entity="Invoice", where="Balance > '0'", order_by="DueDate")

get(company, entity, id)

One record by id, full detail. Preferences and CompanyInfo exist once per company: leave id out for them.

report(company, name, params={})

Standard reports: ProfitAndLoss, BalanceSheet, CashFlow, AgedReceivables, AgedPayables, GeneralLedger, TrialBalance, CustomerBalance, VendorBalance, TransactionList, and the others Intuit lists under Reports. params are Intuit's query parameters, e.g. {"start_date": "2026-01-01", "end_date": "2026-03-31", "accounting_method": "Accrual"}. The response is Intuit's report JSON plus a flattened rows table.

create(company, entity, data, request_id="")

Creates a record. data is the Intuit JSON body. Returns the created record including Id and SyncToken.

update(company, entity, data, request_id="")

Sparse update. data must include Id and the current SyncToken (fetch with get first). Only the fields you pass change.

delete(company, entity, id, request_id="", sync_token="")

Deletes a transaction (Intuit's operation=delete). For list entities such as Customer, which cannot be deleted, it sets Active to false. Without sync_token it reads the record first to get the current one.

Safe retries for writes

Every write is sent to Intuit with a requestid. If QuickBooks does not answer, the write may or may not have been saved, and the error says so and quotes its request_id. Call the same tool again with that request_id: QuickBooks returns the original result instead of saving a second copy. For delete, the error also quotes a sync_token; pass both, because a record that was already deleted can no longer be read. You can also pass your own request_id (up to 50 characters) from the start.

A response from QuickBooks that cannot be read (cut off or garbled) is treated the same way: the error quotes the request_id to retry with.

Errors

Errors come back as tool errors with a plain explanation:

  • Unknown company "...": not connected under your account. Call list_companies.
  • Company needs re-authorization: Intuit's refresh token expired (100 days unused) or was revoked. Reconnect in the dashboard.
  • Subscription inactive: see Dashboard → Billing.
  • Intuit validation errors are passed through with Intuit's message and Detail.

View as Markdown