karellen-qbo-mcp
v0.0.8MCP Server for QuickBooks Online
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
qbo_auth_status
Show the active environment, whether writes are allowed, and the state of the stored QuickBooks authorization. Makes no network calls. Token lifetimes: the access token lasts an hour and is refreshed automatically; the refresh token expires after 100 days without use, and in any case at its hard expiry (5 years after sign-in).
qbo_auth_login
Sign in to QuickBooks in the user's browser and store the resulting authorization. Opens Intuit's consent page; the user picks the company and approves. Waits up to 5 minutes for the redirect back to the local callback listener. Works only with a plain-HTTP localhost redirect URI, which Intuit allows for sandbox (development) keys. For production, the user signs in from a terminal with `karellen-qbo-mcp --environment production auth login` and pastes the address the browser was redirected to.
qbo_list_entities
List the QuickBooks entities this server handles and which operations each supports.
qbo_get
Read one record by Id, including its current SyncToken. Args: entity: Entity name, e.g. "Invoice", "Customer", "JournalEntry". CompanyInfo and Preferences need no id. id: The record's Id. full: Keep attachments' presigned download URLs (TempDownloadUri), left out by default: they are temporary credentials, kilobytes long each, and qbo_download_attachment does not need them.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
full | boolean | |
id |
qbo_query
Run a QuickBooks query (SQL-like, one entity per query). Examples: "SELECT * FROM Invoice WHERE Balance > '0' ORDERBY TxnDate DESC", "SELECT COUNT(*) FROM Customer WHERE Active = true". There are no joins, no OR, and only a subset of fields is filterable. A single call returns at most 1000 rows; use STARTPOSITION/MAXRESULTS to page, or fetch_all=True (without those clauses) to page automatically. Send large results (fetch_all, wide entities such as Attachable) to a file with output_path and read it with a tool such as jq. Args: query: The query statement.…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
fetch_all | boolean | |
full | boolean | |
limit | integer | |
output_path | ||
overwrite | boolean |
qbo_cdc
Change data capture: every record of the given entities created, changed or deleted since a time. QuickBooks looks back at most 30 days and returns at most 1000 records per entity. Deleted records come back with status "Deleted". The result is QuickBooks' CDCResponse list: QueryResponse entries holding one list of records per entity. Args: entities: Entity names, e.g. ["Invoice", "Payment"]. changed_since: ISO 8601 timestamp, e.g. "2026-09-01T00:00:00-07:00". full: Keep attachments' presigned download URLs (TempDownloadUri), left out by default: they a…
| Parameter | Type | Description |
|---|---|---|
changed_since * | string | |
entities * | array | |
full | boolean |
qbo_list_reports
List common QuickBooks report names and the parameters most reports accept.
qbo_report
Run a QuickBooks report, e.g. ProfitAndLoss, BalanceSheet, TrialBalance, GeneralLedger, AgedReceivables. Send large reports (TransactionList, GeneralLedger, long date ranges) to a file with output_path and read it with a tool such as jq. Args: report: Report name (see qbo_list_reports). params: Report parameters, e.g. {"start_date": "2026-01-01", "end_date": "2026-06-30", "accounting_method": "Accrual"}. output: "flat" (default) returns ordered rows with a nesting depth and kind (header/data/summary); "raw" returns QuickBooks' neste…
| Parameter | Type | Description |
|---|---|---|
report * | string | |
output | string | |
output_path | ||
overwrite | boolean | |
params |
qbo_download_pdf
Save the PDF of an invoice, estimate or sales receipt to a local file. Args: entity: "Invoice", "Estimate" or "SalesReceipt". id: The record's Id. output_path: Absolute path of the PDF to write; its directory must exist. overwrite: Replace the file if it already exists.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
id * | string | |
output_path * | string | |
overwrite | boolean |
qbo_download_attachment
Save the file behind an Attachable record to a local file. Args: attachable_id: Id of the Attachable (find them with qbo_query "SELECT * FROM Attachable ..."). output_path: Absolute path of the file to write; its directory must exist. overwrite: Replace the file if it already exists.
| Parameter | Type | Description |
|---|---|---|
attachable_id * | string | |
output_path * | string | |
overwrite | boolean |
qbo_create
Create a record: a customer, vendor, account, item, invoice, bill, payment, journal entry, and so on. `data` is the QuickBooks JSON for the entity without Id/SyncToken, e.g. for a JournalEntry: {"TxnDate": "2026-09-30", "Line": [{"Amount": 100.0, "DetailType": "JournalEntryLineDetail", "JournalEntryLineDetail": {"PostingType": "Debit", "AccountRef": {"value": "60"}}}, ...]}. Reference other records by Id ({"value": "<Id>"}); look them up first. Args: entity: Entity name. data: The record's fields. dry_run: Validate locally and return what would be…
| Parameter | Type | Description |
|---|---|---|
data * | object | |
entity * | string | |
dry_run | boolean | |
full | boolean |
qbo_update
Update a record. `data` must carry the record's Id and its current SyncToken. With sparse=True (default) only the fields in `data` change. With sparse=False the record is replaced: every writable field missing from `data` is cleared. Lists such as Line are always replaced whole, so send the complete list when changing lines. A stale SyncToken is rejected by QuickBooks (someone changed the record). Fields QuickBooks demands even in a sparse update (a Bill's VendorRef, a Class's Name, ...) are copied from the current record when `data` lacks them. Args: entity:…
| Parameter | Type | Description |
|---|---|---|
data * | object | |
entity * | string | |
dry_run | boolean | |
full | boolean | |
sparse | boolean |
qbo_delete
Delete a transaction (invoice, bill, payment, journal entry, ...) or an attachment. Cannot be undone. Name-list records (accounts, customers, vendors, items, ...) cannot be deleted; use qbo_deactivate. Args: entity: Entity name. id: The record's Id. sync_token: The record's current SyncToken. dry_run: Return the record that would be deleted instead of deleting it.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
id * | string | |
sync_token * | string | |
dry_run | boolean |
qbo_deactivate
Deactivate a name-list record (account, customer, vendor, item, class, ...); QuickBooks' way of deleting it. Reactivate with qbo_update {"Id", "SyncToken", "Active": true}. Args: entity: Entity name. id: The record's Id. sync_token: The record's current SyncToken. dry_run: Return the record that would be deactivated instead of deactivating it.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
id * | string | |
sync_token * | string | |
dry_run | boolean |
qbo_void
Void an Invoice, Payment, SalesReceipt or BillPayment: the record stays, its amounts become zero. Args: entity: Entity name. id: The record's Id. sync_token: The record's current SyncToken. dry_run: Return the record that would be voided instead of voiding it.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
id * | string | |
sync_token * | string | |
dry_run | boolean |
qbo_send
Email an Invoice, Estimate or PurchaseOrder from QuickBooks to the customer or vendor. Args: entity: Entity name. id: The record's Id. send_to: Recipient email; defaults to the email address on the record.
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
id * | string | |
send_to |
qbo_batch
Run up to 30 creates, updates, deletes and queries in one request. Each operation succeeds or fails alone. Each operation is one of: {"operation": "create", "entity": "Bill", "data": {...}} {"operation": "update", "entity": "Customer", "data": {"Id", "SyncToken", ...}, "sparse": true} {"operation": "delete", "entity": "Invoice", "data": {"Id", "SyncToken"}} {"query": "SELECT * FROM Vendor WHERE DisplayName = 'Acme'"} Results come back in order, each with the created/updated record or a "fault". Args: operations: The operations. dry_run: Val…
| Parameter | Type | Description |
|---|---|---|
operations * | array | |
dry_run | boolean | |
full | boolean |
qbo_upload_attachment
Upload a local file (receipt, statement, contract; up to 100 MB) as an attachment. Args: file_path: Absolute path of the file to upload. attach_to: Records to link it to, e.g. [{"entity": "Bill", "id": "145"}]. Omit to upload it unlinked. Linking changes each linked record's SyncToken; re-read a record before updating, voiding or deleting it afterwards. note: Optional note stored with the attachment. full: Keep the attachment's presigned download URL (TempDownloadUri), left out by default: it is a temporary credential, ki…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
attach_to | ||
full | boolean | |
note |