Best for
- Use this CLI when an agent or finance owner needs answers from a QuickBooks Online company: receivables and payables aging, cash and balance snapshots, collection lists, reconciliation leaks, duplicate cleanup, or any r…
Servosity/msp-skills/skills/quickbooks/SKILL.md
Every QuickBooks Online Accounting entity, plus an offline SQLite mirror, cross-entity search, and AR/AP aging no SDK or read-only MCP ships. Trigger phrases: `who owes us money`, `ar aging`, `what do we owe`, `overdue invoices in quickbooks`, `sync quickbooks`, `quickbooks cash position`, `use quickbooks`, `run quickbooks`.
Decision brief
Every QuickBooks Online Accounting entity, plus an offline SQLite mirror, cross-entity search, and AR/AP aging no SDK or read-only MCP ships. Trigger phrases: `who owes us money`, `ar aging`, `what do we owe`, `overdue invoices in quickbooks`, `sync quickbooks`, `quickbooks cash position`, `use quickbooks`, `run quickbooks`.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/Servosity/msp-skills --skill "skills/quickbooks"Inspect the Agent Skill "quickbooks" from https://github.com/Servosity/msp-skills/blob/30e109db0872897de0b88adb38d81d4c292da3ae/skills/quickbooks/SKILL.md at commit 30e109db0872897de0b88adb38d81d4c292da3ae. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
QuickBooks Online uses OAuth 2.0 and scopes every call to a company 'realm'. Set QUICKBOOKSACCESSTOKEN to a current bearer access token (from the Intuit OAuth 2.0 Playground or minted from a refresh token), and set the company via QUICKBOOKSREALMID + QUICKBOOKSENVIRONMENT (produ…
This skill drives the quickbooks-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
Use this CLI when an agent or finance owner needs answers from a QuickBooks Online company: receivables and payables aging, cash and balance snapshots, collection lists, reconciliation leaks, duplicate cleanup, or any read across the books. It is the right choice when the questi…
These capabilities aren't available in any other tool for this API.
Reach for this when an agent or user asks 'who owes us money' or 'what's our overdue AR' - one offline command instead of paging every invoice live.
Permission review
The documentation asks the agent to run terminal commands or scripts.
npx -y @mvanhorn/printing-press-library install quickbooks --cli-onlyThe documentation asks the agent to run terminal commands or scripts.
go install github.com/mvanhorn/printing-press-library/library/other/quickbooks/cmd/quickbooks-cli@latestThe documentation includes network, browsing, or remote request actions.
`quickbooks-cli customers list` - List/query customers (SQL-like SELECT against the QBO query endpoint)The documentation includes network, browsing, or remote request actions.
Drop to the QuickBooks query endpoint and narrow deeply nested output with --select.The documentation includes sending, uploading, or posting data to a remote service.
| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 83/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 15 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
This skill drives the quickbooks-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
$HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
npx -y @mvanhorn/printing-press-library install quickbooks --cli-only
quickbooks-cli --version$PATH for the agent/runtime that will invoke this skill.If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.4 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/other/quickbooks/cmd/quickbooks-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
QuickBooks tools are thin endpoint mirrors that need a live API call for every question and can't answer cross-entity questions at all. This CLI syncs your books to local SQLite once, then answers who's overdue (ar-aging), what you owe (ap-aging), where the cash is (balances), and what's duplicated (dupes) instantly, offline, with agent-native --json/--select output.
Use this CLI when an agent or finance owner needs answers from a QuickBooks Online company: receivables and payables aging, cash and balance snapshots, collection lists, reconciliation leaks, duplicate cleanup, or any read across the books. It is the right choice when the question spans more than one entity or should be answered offline without burning API calls. For one-off writes, the create/update/delete commands and the raw query passthrough cover the full Accounting surface.
These capabilities aren't available in any other tool for this API.
ar-aging - See exactly who owes you and how overdue, bucketed 0-30 / 31-60 / 61-90 / 90+ and rolled up by customer.
Reach for this when an agent or user asks 'who owes us money' or 'what's our overdue AR' - one offline command instead of paging every invoice live.
quickbooks-cli ar-aging --agent
ap-aging - The payables mirror of AR aging: open bills bucketed by age and rolled up by vendor, so you know what's due and when.
Use when the question is 'what do we owe' or 'which vendor bills are overdue' before a payment run.
quickbooks-cli ap-aging --agent
balances - One view of bank/AR/AP account balances plus total customer receivables and total vendor payables.
The fastest 'where do we stand financially' snapshot; pick it for a cash-position summary instead of three separate API sweeps.
quickbooks-cli balances --agent
invoices stale - Overdue invoices older than N days, ranked by age times balance so the biggest, oldest debts surface first.
Use to build a weekly collections call list - highest-leverage receivables first.
quickbooks-cli invoices stale --days 60 --agent
payments unapplied - Payments with money received but not applied to any invoice - a reconciliation leak that quietly distorts AR.
Reach for this during month-end reconcile to catch cash that never got applied.
quickbooks-cli payments unapplied --agent
customers top - Rank customers by outstanding balance (or lifetime invoiced) to see concentration and collection focus.
Use to answer 'who are our biggest receivables' or 'where is AR concentrated'.
quickbooks-cli customers top --by balance --limit 10 --agent
vendors spend - Total billed per vendor over a date window, ranked - see where the money goes.
Use for spend review or vendor negotiation prep - who are our biggest payees this year.
quickbooks-cli vendors spend --since 2026-01-01 --agent
aging-delta - See what changed in receivables and payables since the previous sync - who slipped an aging bucket and whose balance grew.
Reach for this when asked 'what changed in AR/AP since last week' - no live API call can answer it.
quickbooks-cli aging-delta --agent
customer-profitability - Per-customer net position: total invoiced minus payments received, open balance, and average days-to-pay, ranked across the whole book.
Use when an agent is asked which customers pay slowest or are worth the relationship - net position and days-to-pay in one view.
quickbooks-cli customer-profitability --agent
dso - Rolling DSO plus per-customer average days-to-pay - the headline collections-efficiency KPI.
Reach for this when asked 'how fast are we collecting' - the KPI finance owners track weekly.
quickbooks-cli dso --days 90 --agent
cash-forecast - Projected net cash movement by week: expected invoice inflows minus bill outflows bucketed by due date over the next N weeks.
Use when asked 'is it safe to pay this' or 'where is cash heading' - scheduled inflows vs outflows at a glance.
quickbooks-cli cash-forecast --weeks 4 --agent
dupes customers - Fuzzy-match customers (or vendors) by display name and email to catch duplicate records before they fragment AR/AP.
Run during data cleanup to find 'Acme Inc' vs 'Acme, Inc.' before merging.
quickbooks-cli dupes customers --agent
reconcile - One month-end hygiene sweep: unapplied payments, duplicate names, unbalanced journal entries, and inactive records on open transactions in a single findings list.
Use at close: one command answers 'what is leaking' across every hygiene check.
quickbooks-cli reconcile --agent
journal-entries check - Flag journal entries whose debit and credit lines don't net to zero or that touch suspense accounts.
Reach for this during close when the GL won't tie out - finds the unbalanced entry in seconds.
quickbooks-cli journal-entries check --agent
accounts - Accounts - the chart of accounts
quickbooks-cli accounts create - Create an account in the chart of accounts.quickbooks-cli accounts get - Get a single account by Idquickbooks-cli accounts list - List/query accountsquickbooks-cli accounts update - Sparse-update an account (requires Id + SyncToken).bills - Bills - accounts-payable transactions
quickbooks-cli bills create - Create a bill. Requires VendorRef + Line - use --stdin / --body-json for the full payload.quickbooks-cli bills delete - Delete a bill (hard delete; requires Id + SyncToken)quickbooks-cli bills get - Get a single bill by Idquickbooks-cli bills list - List/query billsquickbooks-cli bills update - Sparse-update a bill (requires Id + SyncToken).changes - Change Data Capture - entities changed since a timestamp (powers incremental sync)
quickbooks-cli changes - Fetch entities changed since a timestamp (RFC3339), e.g. for incremental synccustomers - Customers - the people and companies you invoice
quickbooks-cli customers create - Create a customer. Use --stdin / --body-json for nested fields (email, addresses).quickbooks-cli customers get - Get a single customer by Idquickbooks-cli customers list - List/query customers (SQL-like SELECT against the QBO query endpoint)quickbooks-cli customers update - Sparse-update a customer (requires Id + SyncToken). Use --stdin for full payloads.invoices - Invoices - accounts-receivable transactions
quickbooks-cli invoices create - Create an invoice. Requires Line items + CustomerRef - use --stdin / --body-json for the full payload.quickbooks-cli invoices delete - Delete an invoice (hard delete; requires Id + SyncToken)quickbooks-cli invoices get - Get a single invoice by Idquickbooks-cli invoices list - List/query invoicesquickbooks-cli invoices update - Sparse-update an invoice (requires Id + SyncToken). Use --stdin for line edits.items - Items - products and services you sell or buy
quickbooks-cli items create - Create an item. Inventory items need account refs - use --stdin for those.quickbooks-cli items get - Get a single item by Idquickbooks-cli items list - List/query itemsquickbooks-cli items update - Sparse-update an item (requires Id + SyncToken).journal-entries - Journal entries - manual debits and credits
quickbooks-cli journal-entries create - Create a journal entry. Requires balanced Line debits/credits - use --stdin / --body-json.quickbooks-cli journal-entries delete - Delete a journal entry (hard delete; requires Id + SyncToken)quickbooks-cli journal-entries get - Get a single journal entry by Idquickbooks-cli journal-entries list - List/query journal entriesquickbooks-cli journal-entries update - Sparse-update a journal entry (requires Id + SyncToken). Use --stdin for line edits.payments - Payments - customer payments received against invoices
quickbooks-cli payments create - Record a payment. Requires CustomerRef + TotalAmt - use --stdin / --body-json for the full payload.quickbooks-cli payments delete - Delete a payment (hard delete; requires Id + SyncToken)quickbooks-cli payments get - Get a single payment by Idquickbooks-cli payments list - List/query paymentsquickbooks-cli payments update - Sparse-update a payment (requires Id + SyncToken).query - Raw QBO query passthrough - run any SQL-like SELECT against any entity
quickbooks-cli query - Run a raw QBO query, e.g. 'select * from Invoice where Balance > '0' orderby TxnDate'vendors - Vendors - the people and companies you pay
quickbooks-cli vendors create - Create a vendor. Use --stdin / --body-json for nested fields.quickbooks-cli vendors get - Get a single vendor by Idquickbooks-cli vendors list - List/query vendorsquickbooks-cli vendors update - Sparse-update a vendor (requires Id + SyncToken).When you know what you want to do but not which command does it, ask the CLI directly:
quickbooks-cli which "<capability in your own words>"
which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match - fall back to --help or use a narrower query.
quickbooks-cli invoices stale --days 30 --agent --select Id,DocNumber,Balance,DueDate,CustomerRef.name
Overdue invoices with just the fields a collector needs, including the nested customer name, ranked by age times balance.
quickbooks-cli ar-aging --json | jq '.buckets'
Structured aging buckets you can pipe straight into a report or alert.
quickbooks-cli search "acme" --agent
FTS5 lookup across customers, vendors, items, invoices, and more - offline, one box.
quickbooks-cli query --query "select * from Bill where Balance > '0' orderby DueDate" --agent --select Id,DocNumber,Balance,VendorRef.name
Drop to the QuickBooks query endpoint and narrow deeply nested output with --select.
quickbooks-cli invoices create --doc-number INV-1001 --txn-date 2026-05-01 --due-date 2026-05-31
Create from scalar flags for simple cases; for full payloads with Line items and CustomerRef, pipe JSON: cat invoice.json | quickbooks-cli invoices create --stdin.
QuickBooks Online uses OAuth 2.0 and scopes every call to a company 'realm'. Set QUICKBOOKS_ACCESS_TOKEN to a current bearer access token (from the Intuit OAuth 2.0 Playground or minted from a refresh token), and set the company via QUICKBOOKS_REALM_ID + QUICKBOOKS_ENVIRONMENT (production|sandbox) or the full QUICKBOOKS_BASE_URL. Access tokens last about an hour; auth refresh mints a fresh one from QUICKBOOKS_CLIENT_ID/CLIENT_SECRET/REFRESH_TOKEN so you are not pasting tokens hourly. Required scope: com.intuit.quickbooks.accounting.
Run quickbooks-cli doctor to verify setup.
Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.
Pipeable - JSON on stdout, errors on stderr
Filterable - --select keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
quickbooks-cli accounts list --agent --select id,name,status
Previewable - --dry-run shows the request without sending
Offline-friendly - sync/search commands can use the local SQLite store when available
Non-interactive - never prompts, every input is a flag
Explicit retries - use --idempotent only when an already-existing create should count as success
Commands that read from the local store or the API wrap output in a provenance envelope:
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal AND no machine-format flag (--json, --csv, --compact, --quiet, --plain, --select) is set - piped/agent consumers and explicit-format runs get pure JSON on stdout.
When you (or the agent) notice something off about this CLI, record it:
quickbooks-cli feedback "the --since flag is inclusive but docs say exclusive"
quickbooks-cli feedback --stdin < notes.txt
quickbooks-cli feedback list --json --limit 10
Entries are stored locally at ~/.local/share/quickbooks-cli/feedback.jsonl. They are never POSTed unless QUICKBOOKS_FEEDBACK_ENDPOINT is set AND either --send is passed or QUICKBOOKS_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
| Sink | Effect |
|---|---|
stdout | Default; write to stdout only |
file:<path> | Atomically write output to <path> (tmp + rename) |
webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
quickbooks-cli profile save briefing --json
quickbooks-cli --profile briefing accounts list
quickbooks-cli profile list --json
quickbooks-cli profile show briefing
quickbooks-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Parse $ARGUMENTS:
help, or --help → show quickbooks-cli --help outputinstall → ends with mcp → MCP installation; otherwise → see Prerequisites above--agent)go install github.com/mvanhorn/printing-press-library/library/other/quickbooks/cmd/quickbooks-mcp@latest
claude mcp add quickbooks-mcp -- quickbooks-mcp
claude mcp listwhich quickbooks-cli
If not found, offer to install (see Prerequisites at the top of this skill).--agent flag:
quickbooks-cli <command> [subcommand] [args] --agent
quickbooks-cli <command> --help.Alternatives
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
K-Dense-AI/scientific-agent-skills
Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.
github/awesome-copilot
Use this skill whenever the user mentions IP geolocation feeds, RFC 8805, geofeeds, or wants help creating, tuning, validating, or publishing a self-published IP geolocation feed in CSV format. Intended user audience is a network operator, ISP, mobile carrier, cloud provider, hosting company, IXP, or satellite provider asking about IP geolocation accuracy, or geofeed authoring best practices. Helps create, refine, and improve CSV-format IP geolocation feeds with opinionated recommendations beyon
K-Dense-AI/scientific-agent-skills
Analyze Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX/Open Ephys/NWB data, preprocessing, drift/motion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review). Use when working with Neuropixels 1.0/2.0 recordings, spike sorting, or extracellular electrophysiology analysis.