quickbooks-mcp

v0.12.0
io.github.laf-rge/quickbooks-mcp Checked 4 hours ago Published 1 month ago

MCP server for QuickBooks Online API integration

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

qbo_authenticate

Authenticate with QuickBooks using OAuth (local credential mode only). Step 1: Call with no arguments to get the authorization URL. Step 2: After authorizing in browser, call with authorization_code and realm_id from the callback URL. This tool only works when QBO_CREDENTIAL_MODE is 'local' (the default).

ParameterTypeDescription
authorization_codestringAuthorization code from the QuickBooks OAuth callback URL (the 'code' parameter)
realm_idstringCompany/realm ID from the callback URL (the 'realmId' parameter). Required when providing authorization_code.

get_company_info

Get information about the connected QuickBooks company.

query

Execute a QuickBooks query using SQL-like syntax. Supports querying any entity type (Customer, Vendor, Invoice, Bill, Account, Item, Department, etc.). Results are written to a file to preserve context. Defaults to MAXRESULTS 1000 if not specified. Examples: 'SELECT * FROM Customer', 'SELECT * FROM SalesReceipt WHERE TxnDate >= \'2025-11-01\' AND TxnDate <= \'2025-11-30\''

ParameterTypeDescription
query *stringThe SQL-like query string, e.g. SELECT * FROM Bill WHERE TxnDate >= '2026-01-01'. Any queryable QBO entity works. Add MAXRESULTS N to limit results (default: 1000). Most transaction fields (Department…

list_accounts

List all accounts in the chart of accounts. Returns AcctNum (the user-facing account number), Name, AccountType, AccountSubType, and CurrentBalance. Use AcctNum to reference accounts in other queries or operations.

ParameterTypeDescription
account_typestringOptional filter by account type (e.g., 'Bank', 'Expense', 'Income', 'Other Current Asset', 'Fixed Asset', 'Other Current Liability', 'Equity')
active_onlybooleanIf true, only return active accounts (default: true)

get_profit_loss

Get a Profit and Loss (Income Statement) report. Can be broken down by department/location.

ParameterTypeDescription
accounting_methodstringAccounting method: 'Accrual' (default) or 'Cash'
columnsstring'total' (default) shows only the total column. 'all' renders every column as a table — use with summarize_by to see per-department (or per-month) values, which are otherwise absent from the rendered…
departmentstringFilter to a specific department/location ID
detail_levelstring'summary' (default) returns section totals only. 'account' also lists each account with its balance, so you do not have to open the full report file.
end_datestringEnd date in YYYY-MM-DD format
include_rawbooleanAppend the full raw report payload. Off by default: the rendered summary already carries the numbers, and the raw copy roughly doubles the response. Only needed for fields the summary does not render.
start_datestringStart date in YYYY-MM-DD format
summarize_bystringHow to summarize columns: 'Total' (default), 'Month', 'Week', 'Days', 'Quarter', 'Year', 'Customers', 'Vendors', 'Classes', 'Departments', 'Employees', 'ProductsAndServices'

get_balance_sheet

Get a Balance Sheet report. Can be broken down by department/location.

ParameterTypeDescription
accounting_methodstringAccounting method: 'Accrual' (default) or 'Cash'
as_of_datestringReport as of this date in YYYY-MM-DD format (defaults to today)
columnsstring'total' (default) shows only the total column. 'all' renders every column as a table — use with summarize_by to see per-department (or per-month) values, which are otherwise absent from the rendered…
departmentstringFilter to a specific department/location ID
detail_levelstring'summary' (default) returns section totals only. 'account' also lists each account with its balance, so you do not have to open the full report file.
include_rawbooleanAppend the full raw report payload. Off by default: the rendered summary already carries the numbers, and the raw copy roughly doubles the response. Only needed for fields the summary does not render.
summarize_bystringHow to summarize columns: 'Total' (default), 'Month', 'Week', 'Days', 'Quarter', 'Year', 'Customers', 'Vendors', 'Classes', 'Departments', 'Employees', 'ProductsAndServices'

get_report

Run a QuickBooks report that has no dedicated tool: A/R and A/P aging, customer and vendor balances, transaction lists, general ledger, journal, sales by customer/item/class/department, cash flow, and detail variants. Answers what is outstanding and how old it is, which the entity query tools cannot — a report sees postings that carry no account reference in entity JSON. Profit and Loss, Balance Sheet and Trial Balance have their own tools.

ParameterTypeDescription
report *stringQuickBooks' own spelling ('AgedPayables') is accepted too.
accounting_methodstringDefault Accrual.
customerstringCustomer name or ID.
date_macrostringNamed period instead of dates, e.g. 'Last Month'.
departmentstringDepartment/location name or ID.
detail_levelstring'summary' (default) prints section headers and subtotals; 'full' adds the leaf rows nested under them, which on a detail report is thousands. Top-level rows always print, so a flat report is complete…
end_datestringYYYY-MM-DD.
include_rawbooleanAppend the raw report payload. Off by default; the table already carries the numbers.
max_rowsnumberRendered row cap, default 200, max 2000.
report_datestringYYYY-MM-DD as-of date for the aging, balance and inventory reports; rejected on the rest.
start_datestringYYYY-MM-DD. Range reports only.
summarize_bystringColumn breakdown, where the report supports it.
vendorstringVendor name or ID.

get_trial_balance

Get a Trial Balance report. Useful for month-end close and reconciliation. Note: Trial Balance does not support department/location breakdown in QuickBooks Online.

ParameterTypeDescription
accounting_methodstringAccounting method: 'Accrual' (default) or 'Cash'
end_datestringEnd date in YYYY-MM-DD format
flagsbooleanIf true, append a close-review pass over the report: accounts carrying a balance on the wrong side (an asset or expense with a credit, a liability/equity/income with a debit), and uncategorized/suspen…
include_rawbooleanAppend the full raw report payload. Off by default: the rendered account/debit/credit table already carries the numbers, and the raw copy roughly doubles the response.
start_datestringStart date in YYYY-MM-DD format

query_account_transactions

Query all transactions affecting a specific account, across all 13 posting transaction types. Returns a consolidated list with date, type, amount (debit/credit), and description. Useful for investigating account balance discrepancies. Note: the A/R side of invoices, credit memos, and payments has no account reference in QBO's data model and cannot appear here — use account_period_summary for A/R totals.

ParameterTypeDescription
account *stringAccount name, number (AcctNum), or ID. Examples: 'Tips', '2320', '116'
departmentstringFilter to specific department/location (optional)
end_datestringEnd date YYYY-MM-DD (default: today)
include_subaccountsbooleanAlso match transactions posting to sub-accounts of this account (default: false). Needed to reconcile against account_period_summary, which always rolls sub-accounts into the parent.
limitnumberMax transactions returned in detail. Totals always cover the whole period regardless of this.
offsetnumberSkip this many transactions (default: 0). Page through long results using the offset the previous call reports.
start_datestringStart date YYYY-MM-DD (default: start of year)

account_period_summary

Get a period summary for an account: opening balance, total debits/credits, closing balance, and transaction count. Uses the General Ledger report. Supports department filtering.

ParameterTypeDescription
account *stringAccount name, number (AcctNum), or ID
accounting_methodstringAccounting method: 'Accrual' (default) or 'Cash'
departmentstringFilter to specific department/location (optional)
end_datestringEnd date YYYY-MM-DD (default: today)
start_datestringStart date YYYY-MM-DD (default: start of year)

create_journal_entry

Create a journal entry. Accepts account/department/entity names (will lookup IDs automatically). Validates debits=credits before creating. Lines may carry an entity (vendor, customer, or employee) — QuickBooks requires one on any line posting to Accounts Receivable or Accounts Payable. Returns entry details and a link to view in QuickBooks.

ParameterTypeDescription
lines *arrayArray of line items. Provide account_name OR account_id (name preferred). Optionally provide department_name OR department_id.
txn_date *stringTransaction date in YYYY-MM-DD format
doc_numberstringJournal number (shown as 'Journal no.' in QuickBooks). If not specified, QuickBooks will auto-assign the next number.
draftbooleanIf true, validate and show preview without creating (default: true)
memostringPrivate memo for the journal entry

get_journal_entry

Fetch a single journal entry by ID with full details including SyncToken (needed for edits). Returns formatted summary and writes full object to temp file.

ParameterTypeDescription
id *stringThe journal entry ID

edit_journal_entry

Modify an existing journal entry. Can update date, memo, doc_number, and/or lines. For lines: provide line_id to update existing line, omit line_id to add new line, set delete=true to remove a line. A line_id preserves the line's existing entity unless entity_name/entity_id is given; pass entity_name: "" to clear it. Validates debits=credits before saving.

ParameterTypeDescription
id *stringJournal entry ID to edit
doc_numberstringNew journal number (optional)
draftbooleanIf true, validate and show preview without saving (default: true)
linesarrayLine modifications. Provide line_id to update existing line, omit to add new line.
memostringNew private memo (optional)
txn_datestringNew transaction date in YYYY-MM-DD format (optional)

create_bill

Create a vendor bill. Accepts vendor/account/department names (will lookup IDs automatically). Note: DepartmentRef is header-level only — for multi-department splits, create separate bills (one per department). Returns bill details and a link to view in QuickBooks.

ParameterTypeDescription
lines *arrayArray of expense line items. Provide account_name OR account_id (name preferred). Optionally provide class_name OR class_id for per-line Class tracking, and customer_name OR customer_id to attribute t…
txn_date *stringTransaction date in YYYY-MM-DD format
ap_accountstringAccounts Payable account name or number (optional, defaults to standard AP). Only Accounts Payable-type accounts are matched.
department_idstringHeader-level department/location ID (use if you already know it, otherwise use department_name)
department_namestringHeader-level department/location name (e.g., '20358', 'Cotati'). Will be looked up to get ID.
doc_numberstringReference number for the bill (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
due_datestringDue date in YYYY-MM-DD format (optional)
memostringPrivate memo for the bill
vendor_idstringVendor ID (use if you already know it, otherwise use vendor_name)
vendor_namestringVendor display name (e.g., 'Simplisafe', 'PG&E'). Will be looked up to get ID.

get_bill

Fetch a single bill by ID with full details including SyncToken (needed for edits). Returns vendor, date, due date, amount, AP account, line details.

ParameterTypeDescription
id *stringThe bill ID

edit_bill

Modify an existing bill. Can update vendor, date, due date, memo, and/or lines. For lines: provide line_id to update existing line, omit to add new line, set delete=true to remove. A line_id preserves the line's existing customer unless customer_name/customer_id is given; pass customer_name: "" to clear it. Note: DepartmentRef is header-level only — lines do not support department.

ParameterTypeDescription
id *stringBill ID to edit
department_namestringHeader-level department/location name (auto-resolved to ID)
doc_numberstringReference number for the bill (optional)
draftbooleanIf true, validate and show preview without saving (default: true)
due_datestringNew due date in YYYY-MM-DD format (optional)
linesarrayLine modifications. Provide line_id to update existing, omit to add new.
memostringNew private memo (optional)
txn_datestringNew transaction date in YYYY-MM-DD format (optional)
vendor_namestringNew vendor display name (e.g., 'Simplisafe', 'PG&E'). Auto-resolved to ID.

get_expense

Fetch a single expense (Purchase) by ID with full details including SyncToken. Covers Expenses, Checks, and Credit Card charges. Returns payment type, account, date, amount, line details.

ParameterTypeDescription
id *stringThe expense (Purchase) ID

edit_expense

Modify an existing expense (Purchase). Can update date, memo, payment account, payee, and/or lines. The payee may be a vendor, customer, or employee — set entity_type to say which (defaults to Vendor). Note: PaymentType (Cash/Check/CreditCard) cannot be changed after creation.

ParameterTypeDescription
id *stringExpense (Purchase) ID to edit
department_namestringHeader-level department/location name (auto-resolved to ID)
draftbooleanIf true, validate and show preview without saving (default: true)
entity_idstringPayee ID (use if you already know it, otherwise use entity_name)
entity_namestringPayee display name. Will be looked up to get ID; use entity_type to say which name list it belongs to.
entity_typestringWhich name list entity_name/entity_id refers to. Defaults to Vendor.
linesarrayLine modifications. Provide line_id to update existing, omit to add new.
memostringNew private memo (optional)
payment_accountstringNew payment account name/number (Bank or Credit Card account)
txn_datestringNew transaction date in YYYY-MM-DD format (optional)

create_expense

Create an expense (Purchase). Accepts account/department/payee names (will lookup IDs automatically). Covers Cash, Check, and Credit Card payment types. The payee may be a vendor, customer, or employee — set entity_type to say which (defaults to Vendor). Note: PaymentType cannot be changed after creation. DepartmentRef is header-level only. Returns expense details and a link to view in QuickBooks.

ParameterTypeDescription
lines *arrayArray of expense line items. Provide account_name OR account_id (name preferred). Optionally provide customer_name OR customer_id to attribute the line to a customer.
payment_account *stringBank or credit card account name or number (e.g., 'PLAT BUS CHECKING', '5752'). Will be looked up to get ID.
payment_type *stringPayment method: 'Cash', 'Check', or 'CreditCard'. Cannot be changed after creation.
txn_date *stringTransaction date in YYYY-MM-DD format
department_idstringHeader-level department/location ID (use if you already know it, otherwise use department_name)
department_namestringHeader-level department/location name (e.g., '20358', 'Cotati'). Will be looked up to get ID.
doc_numberstringReference number for the expense (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
entity_idstringPayee ID (use if you already know it, otherwise use entity_name)
entity_namestringPayee display name (e.g., 'Acme Supply Co'). Will be looked up to get ID; use entity_type to say which name list it belongs to.
entity_typestringWhich name list entity_name/entity_id refers to. Defaults to Vendor.
memostringPrivate memo for the expense

get_sales_receipt

Fetch a single sales receipt by ID with full details including SyncToken (needed for edits). Returns customer, date, deposit account, department, line details with items/qty/price.

ParameterTypeDescription
id *stringThe sales receipt ID

edit_sales_receipt

Modify an existing sales receipt. Can update date, memo, customer, deposit account, department, and/or lines. For lines: provide line_id to update existing line, omit line_id to add new line (requires item_name), set delete=true to remove.

ParameterTypeDescription
id *stringSales receipt ID to edit
customer_namestringCustomer name (auto-resolved to ID). Also used to restore a customer that was cleared by an earlier edit.
department_namestringHeader-level department/location name (auto-resolved to ID)
deposit_to_accountstringNew deposit account name/number (Bank account)
draftbooleanIf true, validate and show preview without saving (default: true)
linesarrayLine modifications. Provide line_id to update existing line, omit to add new line.
memostringNew private memo (optional)
txn_datestringNew transaction date in YYYY-MM-DD format (optional)

create_sales_receipt

Create a sales receipt. Accepts item/customer/department names (will lookup IDs automatically). Lines reference items (products/services) not accounts. Returns receipt details and a link to view in QuickBooks.

ParameterTypeDescription
lines *arrayArray of line items. Each line references an item (product/service). Provide item_name OR item_id (name preferred).
txn_date *stringTransaction date in YYYY-MM-DD format
customer_idstringCustomer ID (use if you already know it, otherwise use customer_name)
customer_namestringCustomer display name (e.g., 'Cash Sales'). Will be looked up to get ID.
department_idstringHeader-level department/location ID (use if you already know it, otherwise use department_name)
department_namestringHeader-level department/location name (e.g., '20358', 'Cotati'). Will be looked up to get ID.
deposit_to_accountstringBank account name or number to deposit into (e.g., 'Undeposited Funds', '1000'). Will be looked up to get ID.
doc_numberstringReference number for the sales receipt (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
memostringPrivate memo for the sales receipt

create_invoice

Create an invoice. Accepts item/customer/department names (will lookup IDs automatically). Either customer_name or customer_id is REQUIRED — invoices must have a customer. Lines use SalesItemLineDetail (product/service references, not accounts). Returns invoice details and a link to view in QuickBooks.

ParameterTypeDescription
lines *arrayArray of line items. Each line references an item (product/service). Provide item_name OR item_id (name preferred).
txn_date *stringTransaction date in YYYY-MM-DD format
allow_online_ach_paymentbooleanAllow customer to pay this invoice via bank transfer (ACH) online. Must be explicitly set — company defaults do not apply via API.
allow_online_credit_card_paymentbooleanAllow customer to pay this invoice with a credit card online. Must be explicitly set — company defaults do not apply via API.
bill_emailstringEmail address to send the invoice to. Required if you want QuickBooks to email the invoice.
customer_idstringCustomer ID (use if you already know it, otherwise use customer_name)
customer_memostringCustomer-facing message visible on the invoice
customer_namestringCustomer display name (e.g., 'Cash Sales'). Will be looked up to get ID.
department_idstringHeader-level department/location ID (use if you already know it, otherwise use department_name)
department_namestringHeader-level department/location name (e.g., '20358', 'Cotati'). Will be looked up to get ID.
doc_numberstringReference number for the invoice (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
due_datestringDue date in YYYY-MM-DD format (optional)
memostringPrivate memo for the invoice (internal, not visible to customer)
sales_term_refstringPayment terms name (e.g., 'Net 30', 'Due on receipt'). Will be looked up to get ID.

get_invoice

Fetch a single invoice by ID with full details including SyncToken (needed for edits). Returns customer, date, due date, balance, department, line details with items/qty/price.

ParameterTypeDescription
id *stringThe invoice ID

edit_invoice

Modify an existing invoice. Can update date, due date, memo, customer, department, terms, email, online payment settings, and/or lines. For lines: provide line_id to update existing line, omit line_id to add new line (requires item_name), set delete=true to remove.

ParameterTypeDescription
id *stringInvoice ID to edit
allow_online_ach_paymentbooleanAllow customer to pay via bank transfer (ACH) online
allow_online_credit_card_paymentbooleanAllow customer to pay with credit card online
bill_emailstringNew email address to send the invoice to
customer_memostringNew customer-facing message visible on the invoice
customer_namestringNew customer display name (auto-resolved to ID)
department_namestringHeader-level department/location name (auto-resolved to ID)
draftbooleanIf true, validate and show preview without saving (default: true)
due_datestringNew due date in YYYY-MM-DD format (optional)
linesarrayLine modifications. Provide line_id to update existing line, omit to add new line.
memostringNew private memo (optional)
sales_term_refstringPayment terms name (e.g., 'Net 30'). Auto-resolved to ID.
txn_datestringNew transaction date in YYYY-MM-DD format (optional)

create_deposit

Create a bank deposit. Accepts account/department/entity names (will lookup IDs automatically). Lines represent the sources of the deposit — amounts can be positive (income) or negative (fees, deductions). Each line may name the vendor, customer, or employee it came from via entity_name/entity_type. QuickBooks computes the total from line amounts. Returns deposit details and a link to view in QuickBooks.

ParameterTypeDescription
deposit_to_account *stringBank account name or number receiving the deposit (e.g., 'PLAT BUS CHECKING', '5752'). Will be looked up to get ID.
lines *arrayArray of deposit line items. Each line represents a source of the deposit. Amounts can be positive or negative.
txn_date *stringTransaction date in YYYY-MM-DD format
department_idstringHeader-level department/location ID (use if you already know it, otherwise use department_name)
department_namestringHeader-level department/location name (e.g., '20358', 'Cotati'). Will be looked up to get ID.
draftbooleanIf true, validate and show preview without creating (default: true)
memostringPrivate memo for the deposit

get_deposit

Fetch a single deposit by ID with full details including SyncToken (needed for edits). Returns deposit account, date, memo, and line details showing source accounts and amounts.

ParameterTypeDescription
id *stringThe deposit ID

edit_deposit

Modify an existing deposit. Can update date, memo, deposit account, department, and/or lines. CRITICAL for line changes: The QB Deposit API does NOT replace lines - it merges them. Lines WITH line_id update existing lines. Lines WITHOUT line_id are ADDED as new. Lines NOT included are KEPT unchanged. To 'delete' a line, you must include ALL existing lines with their line_ids and set unwanted lines to amount: 0. Line amounts must sum to the original deposit total (use expected_total to override for corrupted deposits). Entity (vendor/customer/employee) can be set on any line, new or existing, v…

ParameterTypeDescription
id *stringDeposit ID to edit
department_namestringHeader-level department/location name (auto-resolved to ID)
deposit_to_accountstringNew deposit account name/number (Bank account)
draftbooleanIf true, validate and show preview without saving (default: true)
expected_totalnumberOverride total validation with this expected amount (for fixing corrupted deposits). Lines must sum to this value instead of current deposit total.
linesarrayIMPORTANT: You MUST include ALL existing lines with their line_ids. Lines without line_id are ADDED (not replaced). Lines not included are KEPT (not deleted). To 'delete' a line, set its amount to 0.…
memostringNew private memo (optional)
txn_datestringNew transaction date in YYYY-MM-DD format (optional)

create_vendor_credit

Create a vendor credit. Accepts vendor/account/department names (will lookup IDs automatically). Lines represent credit amounts applied to expense accounts. Returns credit details and a link to view in QuickBooks.

ParameterTypeDescription
lines *arrayArray of line items. Each line credits an expense account.
txn_date *stringTransaction date in YYYY-MM-DD format
ap_accountstringAccounts Payable account name or number (optional, defaults to standard AP). Only Accounts Payable-type accounts are matched.
department_idstringHeader-level department/location ID (use if you already know it, otherwise use department_name)
department_namestringHeader-level department/location name (e.g., '20358', 'Cotati'). Will be looked up to get ID.
doc_numberstringReference number for the vendor credit (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
memostringPrivate memo for the vendor credit
vendor_idstringVendor ID (use if you already know it, otherwise use vendor_name)
vendor_namestringVendor display name (e.g., 'Acme Corp'). Will be looked up to get ID.

get_vendor_credit

Fetch a single vendor credit by ID with full details including SyncToken (needed for edits). Returns vendor, date, memo, ref number, AP account, and line details showing expense accounts and amounts.

ParameterTypeDescription
id *stringThe vendor credit ID

edit_vendor_credit

Modify an existing vendor credit. Can update vendor, date, memo, ref number, and/or lines. For lines: provide line_id to update existing line, omit line_id to add new line (requires amount and account_name), set delete=true to remove. A line_id preserves the line's existing customer unless customer_name/customer_id is given; pass customer_name: "" to clear it. Note: DepartmentRef is header-level only — lines do not support department.

ParameterTypeDescription
id *stringVendor Credit ID to edit
doc_numberstringNew reference number (optional)
draftbooleanIf true, validate and show preview without saving (default: true)
linesarrayLine modifications. Provide line_id to update existing line, omit to add new line.
memostringNew private memo (optional)
txn_datestringNew transaction date in YYYY-MM-DD format (optional)
vendor_namestringNew vendor display name (auto-resolved to ID)

create_bill_payment

Create a bill payment (the QBO 'check' / 'pay bills' flow). Pays one or more existing bills and optionally applies vendor credits, clearing Accounts Payable. Use this to record vendor ACH/EFT debits or checks so the bank feed can match them — especially when a bank charge equals bills minus credit memos. Amounts default to each bill's open balance and each credit's remaining balance. Returns payment details and a link to view in QuickBooks.

ParameterTypeDescription
bills *arrayBills to pay. Each bill must belong to the vendor and have an open balance.
payment_account *stringBank account name or number the payment is drawn from (e.g., 'PLAT BUS CHECKING', '5752'). Only Bank-type accounts are matched, so a partial name cannot resolve to an expense or liability account.
txn_date *stringPayment date in YYYY-MM-DD format (use the bank debit date for bank-feed matching)
creditsarrayVendor credits to apply against the bills (optional). Each credit must belong to the vendor and have remaining balance.
doc_numberstringReference number, e.g., check number or EFT reference (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
memostringPrivate memo for the payment
vendor_idstringVendor ID (use if you already know it, otherwise use vendor_name)
vendor_namestringVendor display name (e.g., 'US Foods'). Will be looked up to get ID.

create_transfer

Move money between two of the company's own accounts (QuickBooks 'Transfer') — bank to bank, or a credit-card paydown. Use this rather than create_expense, which would book the outflow as an expense and never touch the receiving account, or create_journal_entry, which posts the right result but does not read as a transfer in the register or the bank-feed match screen. Defaults to draft: true for a preview.

ParameterTypeDescription
amount *numberAmount to move. Must be positive; reverse the accounts rather than passing a negative.
from_account *stringAccount the money leaves. Bank or Credit Card only — name, number, or ID.
to_account *stringAccount the money arrives in. Bank or Credit Card only — name, number, or ID.
txn_date *stringTransfer date, YYYY-MM-DD.
draftbooleanPreview without recording. Default true.
private_notestringPrivate note on the transfer.

receive_payment

Record a customer payment against one or more open invoices (QuickBooks 'Receive Payment'), clearing Accounts Receivable. This is the A/R counterpart to create_bill_payment. Not a deposit — create_deposit banks money without settling an invoice — and not a sales receipt, which records a sale that was paid outright and never had an invoice. Defaults to draft: true for a preview.

ParameterTypeDescription
invoices *arrayInvoices to settle. Each amount defaults to that invoice's open balance, so the common case needs only the id.
txn_date *stringPayment date, YYYY-MM-DD.
amountnumberPayment total. Defaults to the sum applied to invoices. A larger figure is allowed and leaves the difference as an unapplied credit on the customer; a smaller one is rejected.
customer_idstringCustomer ID. Either this or customer_name.
customer_namestringCustomer display name. Either this or customer_id.
deposit_to_accountstringBank account, or Undeposited Funds. Omit to let QuickBooks use its own default, which is normally Undeposited Funds.
draftbooleanPreview without recording. Default true — shows each invoice's open balance, what is being applied, and what remains.
memostringPrivate note on the payment.
payment_methodstringPayment method name or ID, e.g. 'Check', 'Cash', 'EFT'.
reference_nostringCheck number or ACH reference.

get_bill_payment

Fetch a single bill payment by ID with full details including SyncToken. Shows vendor, date, pay type, bank account, linked bills/credits with applied amounts, and flags any unapplied amount (payment total not matching net applied lines).

ParameterTypeDescription
id *stringThe bill payment ID

delete_entity

Permanently delete a QuickBooks transaction. Supports journal entries, bills, invoices, deposits, sales receipts, expenses, vendor credits, bill payments, and attachments. Uses a two-step flow: first call previews what will be deleted, second call with confirm=true executes the deletion. Note: Customers cannot be deleted — use edit_customer with active=false to deactivate instead.

ParameterTypeDescription
entity_type *stringThe type of entity to delete.
id *stringThe entity ID to delete.
confirmbooleanIf true, execute the deletion. If false (default), show a preview of what will be deleted.

create_customer

Create a customer or sub-customer. Accepts name parts, contact info, addresses, and hierarchy settings. Use parent_ref to create sub-customers or jobs. Returns customer details and a link to view in QuickBooks.

ParameterTypeDescription
display_name *stringPrimary display name (must be unique in QuickBooks)
bill_addressobjectBilling address (optional)
bill_with_parentbooleanIf true, invoices for this sub-customer are billed to the parent (default: false)
company_namestringCompany name (optional)
draftbooleanIf true, validate and show preview without creating (default: true)
emailstringPrimary email address (optional)
family_namestringLast/family name (optional)
given_namestringFirst/given name (optional)
jobbooleanMark this customer as a job (default: false). Jobs track work for a parent customer.
middle_namestringMiddle name (optional)
mobilestringMobile phone number (optional)
notesstringNotes about the customer (optional)
parent_refstringParent customer name or ID to create a sub-customer or job. Will be looked up to get ID.
phonestringPrimary phone number (optional)
preferred_delivery_methodstringHow invoices are delivered: Print, Email, or None
sales_term_refstringDefault payment terms name (e.g., 'Net 30'). Will be looked up to get ID.
ship_addressobjectShipping address (optional, same shape as bill_address)
suffixstringName suffix, e.g., 'Jr.' (optional)
taxablebooleanWhether the customer is taxable (optional)

get_customer

Fetch a single customer by ID with full details including SyncToken (needed for edits). Returns name, contact info, addresses, balance, hierarchy (parent/sub-customer), and active status.

ParameterTypeDescription
id *stringThe customer ID

edit_customer

Modify an existing customer. Can update name, contact info, addresses, notes, taxable status, active status, hierarchy (parent/sub-customer), delivery method, and payment terms. Set active=false to deactivate (QuickBooks equivalent of delete).

ParameterTypeDescription
id *stringCustomer ID to edit
activebooleanSet to false to deactivate customer (QuickBooks equivalent of delete)
bill_addressobjectNew billing address
bill_with_parentbooleanBill this sub-customer with its parent
company_namestringNew company name
display_namestringNew display name (must be unique in QuickBooks)
draftbooleanIf true, validate and show preview without saving (default: true)
emailstringNew primary email address
family_namestringNew last/family name
given_namestringNew first/given name
jobbooleanMark as a job (tracks work for a parent customer)
middle_namestringNew middle name
mobilestringNew mobile phone number
notesstringNew notes about the customer
parent_refstringParent customer name or ID (makes this a sub-customer). Auto-resolved to ID.
phonestringNew primary phone number
preferred_delivery_methodstringHow invoices are delivered: Print, Email, or None
sales_term_refstringDefault payment terms name (e.g., 'Net 30'). Auto-resolved to ID.
ship_addressobjectNew shipping address
suffixstringNew name suffix
taxablebooleanWhether the customer is taxable

create_vendor

Create a vendor.

ParameterTypeDescription
display_name *stringUnique display name
account_numberstringYour account number with the vendor
bill_addressobject
company_namestring
draftbooleanPreview only (default: true)
emailstring
family_namestring
given_namestring
phonestring
term_refstringPayment terms name or ID
titlestringContact title, e.g. 'Ms.'
vendor_1099booleanTrack for 1099

edit_vendor

Sparse-update a vendor: only fields passed change; bill_address merges into the stored address. active=false deactivates. Read vendors with query (SELECT * FROM Vendor WHERE ...).

ParameterTypeDescription
id *stringVendor ID
account_numberstring
activeboolean
bill_addressobject
company_namestring
display_namestring
draftbooleanPreview only (default: true)
emailstring
family_namestring
given_namestring
phonestring
term_refstringPayment terms name or ID
titlestring
vendor_1099boolean