QuickBooks Online

v0.5.0
io.github.mindstone/mcp-server-quickbooks Checked 3 days ago Published 10 days ago

QuickBooks 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…

ParameterTypeDescription
clientId *stringIntuit Developer app Client ID
clientSecret *stringIntuit Developer app Client Secret
realmId *stringQuickBooks company ID (Realm ID)
refreshToken *stringOAuth2 refresh token from the authorization flow
environmentstring"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…

ParameterTypeDescription
query *stringQuickBooks Query Language statement
limitintegerMax 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

ParameterTypeDescription
entityId *stringEntity ID
entityType *stringEntity 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

ParameterTypeDescription
customerIdstringFilter by customer ID
limitintegerMax results (default: 50)
statusstringFilter: "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.

ParameterTypeDescription
customerId *stringCustomer ID (required)
lines *arrayInvoice line items (at least one required)
dueDatestringDue date (YYYY-MM-DD)
memostringCustomer 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.

ParameterTypeDescription
invoiceId *stringInvoice ID (required)
dueDatestringNew due date (YYYY-MM-DD)
memostringNew customer memo
privateNotestringNew private note (not visible to the customer)
syncTokenstringCurrent 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.

ParameterTypeDescription
invoiceId *stringInvoice ID (required)
sendTostringOverride 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

ParameterTypeDescription
invoiceId *stringInvoice ID (required)

list_quickbooks_customers

List customers from QuickBooks Online. Returns: Id, DisplayName, PrimaryEmailAddr, PrimaryPhone, Balance, Active. Example: {} Example: { "active": true } Example: { "searchTerm": "Smith" }

ParameterTypeDescription
activebooleanFilter by active status
limitintegerMax results (default: 50)
searchTermstringSearch 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.

ParameterTypeDescription
displayName *stringCustomer display name (required, must be unique)
companyNamestringCompany name
emailstringPrimary email address
phonestringPrimary 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.

ParameterTypeDescription
customerId *stringCustomer ID (required)
activebooleanSet false to deactivate the customer
companyNamestringNew company name
displayNamestringNew display name
emailstringNew primary email address
phonestringNew primary phone number
syncTokenstringCurrent 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" }

ParameterTypeDescription
limitintegerMax results (default: 50)
vendorIdstringFilter 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.

ParameterTypeDescription
lines *arrayBill line items (at least one required)
vendorId *stringVendor ID (required)
dueDatestringDue date (YYYY-MM-DD)
memostringMemo / notes

list_quickbooks_vendors

List vendors from QuickBooks Online. Returns: Id, DisplayName, PrimaryEmailAddr, PrimaryPhone, Balance, Active. Example: {} Example: { "searchTerm": "Office" }

ParameterTypeDescription
activebooleanFilter by active status
limitintegerMax results (default: 50)
searchTermstringSearch 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.

ParameterTypeDescription
displayName *stringVendor display name (required, must be unique)
companyNamestringCompany name
emailstringPrimary email address
phonestringPrimary 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.

ParameterTypeDescription
vendorId *stringVendor ID (required)
activebooleanSet false to deactivate the vendor
companyNamestringNew company name
displayNamestringNew display name
emailstringNew primary email address
phonestringNew primary phone number
syncTokenstringCurrent 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.

ParameterTypeDescription
accountTypestringFilter by account type (e.g., "Expense", "Income", "Bank")
activebooleanFilter by active status
limitintegerMax results (default: 100)

list_quickbooks_employees

List employees from QuickBooks Online. Returns: Id, DisplayName, PrimaryEmailAddr, PrimaryPhone, Active. Example: {}

ParameterTypeDescription
activebooleanFilter by active status
limitintegerMax 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

ParameterTypeDescription
report *stringReport to run
accountingMethodstringAccounting method for the report (default: company setting)
asOfDateAs-of date (YYYY-MM-DD) — aging reports only
endDateReport end date (YYYY-MM-DD) — range reports only
startDatestringReport 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

ParameterTypeDescription
customerIdstringFilter by customer ID
limitintegerMax results (default: 50)
statusstringFilter 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.

ParameterTypeDescription
customerId *stringCustomer ID (required)
lines *arrayEstimate line items (at least one required)
expirationDatestringExpiration date (YYYY-MM-DD)
memostringCustomer memo / notes