QuickBooks Online
v0.5.0QuickBooks Online MCP server: invoices, bills, customers, vendors, employees, and accounts
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
configure_quickbooks
Configure QuickBooks Online credentials. Call this when the user provides their Intuit Developer app credentials. WORKFLOW: 1. Go to https://developer.intuit.com/ and create an app (or use existing) 2. Get the Client ID and Client Secret from the app's Keys & credentials page 3. Add http://localhost:8000/callback as a Redirect URI 4. Use the OAuth Playground or your app's auth flow to obtain a Refresh Token 5. Find your Company ID (Realm ID) in the URL when logged into QuickBooks Online COMMON MISTAKES: - Refresh tokens expire after 100 days of inactivity — re-authenticate if you get auth…
| Parameter | Type | Description |
|---|---|---|
clientId * | string | Intuit Developer app Client ID |
clientSecret * | string | Intuit Developer app Client Secret |
realmId * | string | QuickBooks company ID (Realm ID) |
refreshToken * | string | OAuth2 refresh token from the authorization flow |
environment | string | "sandbox" or "production" (default: production) |
query_quickbooks
Run a QuickBooks query using the QuickBooks Query Language. Returns matching entities. QuickBooks uses a SQL-like query language. Example: { "query": "SELECT * FROM Invoice WHERE Balance > '0' ORDERBY DueDate" } Example: { "query": "SELECT * FROM Customer WHERE Active = true" } WORKFLOW: 1. Use this for flexible searches across any entity type 2. Entity names are PascalCase: Invoice, Customer, Vendor, Bill, Employee, etc. 3. String values use single quotes, dates use 'YYYY-MM-DD' format COMMON MISTAKES: - Entity names are case-sensitive PascalCase (Invoice, not invoice) - Use single quotes…
| Parameter | Type | Description |
|---|---|---|
query * | string | QuickBooks Query Language statement |
limit | integer | Max results (default: 100, max: 1000) |
get_quickbooks_entity
Get a single QuickBooks entity by type and ID. Example: { "entityType": "Invoice", "entityId": "123" } Supported entity types: Account, Bill, BillPayment, Customer, Employee, Estimate, Invoice, Item, JournalEntry, Purchase, Vendor
| Parameter | Type | Description |
|---|---|---|
entityId * | string | Entity ID |
entityType * | string | Entity type (PascalCase) |
list_quickbooks_invoices
List invoices from QuickBooks Online. Returns: Id, DocNumber, TxnDate, DueDate, Balance, TotalAmt, CustomerRef, Line items. Example: {} Example: { "status": "unpaid" } Example: { "customerId": "123" } WORKFLOW: 1. Call with no args to see recent invoices 2. Filter by status (unpaid/paid/overdue) or customer 3. Use get_quickbooks_entity for full invoice details
| Parameter | Type | Description |
|---|---|---|
customerId | string | Filter by customer ID |
limit | integer | Max results (default: 50) |
status | string | Filter: "unpaid", "paid", or "overdue" |
create_quickbooks_invoice
Create a new invoice in QuickBooks Online. Example: { "customerId": "123", "lines": [{ "description": "Consulting services", "amount": 1500 }] } WORKFLOW: 1. Use list_quickbooks_customers to find the customer ID 2. Create with line items (description + amount required) 3. Optionally set dueDate and memo COMMON MISTAKES: - customerId is required (use list_quickbooks_customers to find it) - Each line needs at least description and amount - Dates use YYYY-MM-DD format This adds a real invoice to the company's books.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Customer ID (required) |
lines * | array | Invoice line items (at least one required) |
dueDate | string | Due date (YYYY-MM-DD) |
memo | string | Customer memo / notes |
update_quickbooks_invoice
Sparse-update an existing invoice in QuickBooks Online (header fields only — line items cannot be sparse-updated). Example: { "invoiceId": "123", "dueDate": "2026-04-01" } Example: { "invoiceId": "123", "memo": "Net 30", "privateNote": "Chased 2026-03-01" } If syncToken is omitted the invoice is read first to obtain the current one (QuickBooks rejects stale SyncTokens). This changes a real invoice record in the company's books.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | Invoice ID (required) |
dueDate | string | New due date (YYYY-MM-DD) |
memo | string | New customer memo |
privateNote | string | New private note (not visible to the customer) |
syncToken | string | Current SyncToken (omit to read it from QuickBooks first) |
send_quickbooks_invoice_email
Email an invoice to its customer via QuickBooks Online. Example: { "invoiceId": "123" } Example: { "invoiceId": "123", "sendTo": "billing@example.com" } WORKFLOW: 1. Use list_quickbooks_invoices to find the invoice ID 2. Send to the invoice's billing email, or override with sendTo This emails a real customer immediately.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | Invoice ID (required) |
sendTo | string | Override recipient email (default: the invoice billing email) |
download_quickbooks_invoice_pdf
Download an invoice as a PDF file from QuickBooks Online. Returns the local file path where the PDF has been saved (system temp directory). Example: { "invoiceId": "123" } WORKFLOW: 1. Use list_quickbooks_invoices to find the invoice ID 2. Download the PDF, then attach or share the saved file
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | Invoice ID (required) |
list_quickbooks_customers
List customers from QuickBooks Online. Returns: Id, DisplayName, PrimaryEmailAddr, PrimaryPhone, Balance, Active. Example: {} Example: { "active": true } Example: { "searchTerm": "Smith" }
| Parameter | Type | Description |
|---|---|---|
active | boolean | Filter by active status |
limit | integer | Max results (default: 50) |
searchTerm | string | Search by display name (partial match) |
create_quickbooks_customer
Create a new customer in QuickBooks Online. Example: { "displayName": "Acme Corp" } Example: { "displayName": "Jane Smith", "email": "jane@smith.com", "phone": "555-1234" } This adds a real customer to the company's books.
| Parameter | Type | Description |
|---|---|---|
displayName * | string | Customer display name (required, must be unique) |
companyName | string | Company name |
email | string | Primary email address |
phone | string | Primary phone number |
update_quickbooks_customer
Sparse-update an existing customer in QuickBooks Online. Example: { "customerId": "123", "email": "ap@example.com" } Example: { "customerId": "123", "active": false } If syncToken is omitted the customer is read first to obtain the current one (QuickBooks rejects stale SyncTokens). Setting active to false deactivates the customer. This changes a real customer record in the company's books.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Customer ID (required) |
active | boolean | Set false to deactivate the customer |
companyName | string | New company name |
displayName | string | New display name |
email | string | New primary email address |
phone | string | New primary phone number |
syncToken | string | Current SyncToken (omit to read it from QuickBooks first) |
list_quickbooks_bills
List bills (accounts payable) from QuickBooks Online. Returns: Id, DocNumber, TxnDate, DueDate, Balance, TotalAmt, VendorRef. Example: {} Example: { "vendorId": "123" }
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results (default: 50) |
vendorId | string | Filter by vendor ID |
create_quickbooks_bill
Create a new bill (accounts payable) in QuickBooks Online. Example: { "vendorId": "123", "lines": [{ "description": "Office supplies", "amount": 250, "accountId": "456" }] } WORKFLOW: 1. Use list_quickbooks_vendors to find the vendor ID 2. Use list_quickbooks_accounts to find expense account IDs 3. Create with line items This adds a real bill to the company's books.
| Parameter | Type | Description |
|---|---|---|
lines * | array | Bill line items (at least one required) |
vendorId * | string | Vendor ID (required) |
dueDate | string | Due date (YYYY-MM-DD) |
memo | string | Memo / notes |
list_quickbooks_vendors
List vendors from QuickBooks Online. Returns: Id, DisplayName, PrimaryEmailAddr, PrimaryPhone, Balance, Active. Example: {} Example: { "searchTerm": "Office" }
| Parameter | Type | Description |
|---|---|---|
active | boolean | Filter by active status |
limit | integer | Max results (default: 50) |
searchTerm | string | Search by display name (partial match) |
create_quickbooks_vendor
Create a new vendor in QuickBooks Online. Example: { "displayName": "Office Depot" } Example: { "displayName": "Acme Supplies", "email": "billing@acme.example", "companyName": "Acme Supplies Ltd" } This adds a real vendor to the company's books.
| Parameter | Type | Description |
|---|---|---|
displayName * | string | Vendor display name (required, must be unique) |
companyName | string | Company name |
email | string | Primary email address |
phone | string | Primary phone number |
update_quickbooks_vendor
Sparse-update an existing vendor in QuickBooks Online. Example: { "vendorId": "123", "email": "ap@example.com" } Example: { "vendorId": "123", "active": false } If syncToken is omitted the vendor is read first to obtain the current one (QuickBooks rejects stale SyncTokens). Setting active to false deactivates the vendor. This changes a real vendor record in the company's books.
| Parameter | Type | Description |
|---|---|---|
vendorId * | string | Vendor ID (required) |
active | boolean | Set false to deactivate the vendor |
companyName | string | New company name |
displayName | string | New display name |
email | string | New primary email address |
phone | string | New primary phone number |
syncToken | string | Current SyncToken (omit to read it from QuickBooks first) |
list_quickbooks_accounts
List chart of accounts from QuickBooks Online. Returns: Id, Name, AccountType, AccountSubType, CurrentBalance, Active. Example: {} Example: { "accountType": "Expense" } Account types: Bank, Accounts Receivable, Other Current Asset, Fixed Asset, Other Asset, Accounts Payable, Credit Card, Other Current Liability, Long Term Liability, Equity, Income, Cost of Goods Sold, Expense, Other Income, Other Expense.
| Parameter | Type | Description |
|---|---|---|
accountType | string | Filter by account type (e.g., "Expense", "Income", "Bank") |
active | boolean | Filter by active status |
limit | integer | Max results (default: 100) |
list_quickbooks_employees
List employees from QuickBooks Online. Returns: Id, DisplayName, PrimaryEmailAddr, PrimaryPhone, Active. Example: {}
| Parameter | Type | Description |
|---|---|---|
active | boolean | Filter by active status |
limit | integer | Max results (default: 50) |
get_quickbooks_report
Run a financial report from QuickBooks Online. Reports available: ProfitAndLoss, BalanceSheet, CashFlow, AgedReceivables, AgedPayables. Example: { "report": "ProfitAndLoss", "startDate": "2026-01-01", "endDate": "2026-03-31" } Example: { "report": "AgedReceivables", "asOfDate": "2026-03-31" } WORKFLOW: 1. ProfitAndLoss / BalanceSheet / CashFlow cover a date range (startDate + endDate) 2. AgedReceivables / AgedPayables are as-of a single date (asOfDate) 3. Dates use YYYY-MM-DD format; omitted dates use the QuickBooks default period
| Parameter | Type | Description |
|---|---|---|
report * | string | Report to run |
accountingMethod | string | Accounting method for the report (default: company setting) |
asOfDate | As-of date (YYYY-MM-DD) — aging reports only | |
endDate | Report end date (YYYY-MM-DD) — range reports only | |
startDate | string | Report start date (YYYY-MM-DD) — range reports only |
list_quickbooks_estimates
List estimates (quotes) from QuickBooks Online. Returns: Id, DocNumber, TxnDate, ExpirationDate, TotalAmt, TxnStatus, CustomerRef, Line items. Example: {} Example: { "status": "Pending" } Example: { "customerId": "123" } WORKFLOW: 1. Call with no args to see recent estimates 2. Filter by status (Pending/Accepted/Closed/Rejected) or customer 3. Use get_quickbooks_entity with entityType "Estimate" for full details
| Parameter | Type | Description |
|---|---|---|
customerId | string | Filter by customer ID |
limit | integer | Max results (default: 50) |
status | string | Filter by estimate status |
create_quickbooks_estimate
Create a new estimate (quote) in QuickBooks Online. Example: { "customerId": "123", "lines": [{ "description": "Consulting services", "amount": 1500 }] } WORKFLOW: 1. Use list_quickbooks_customers to find the customer ID 2. Create with line items (description + amount required) 3. Optionally set expirationDate and memo COMMON MISTAKES: - customerId is required (use list_quickbooks_customers to find it) - Each line needs at least description and amount - Dates use YYYY-MM-DD format This adds a real estimate to the company's books.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Customer ID (required) |
lines * | array | Estimate line items (at least one required) |
expirationDate | string | Expiration date (YYYY-MM-DD) |
memo | string | Customer memo / notes |