Skip to navigation

QuickBooks Online

Connect your AI agents to QuickBooks Online.

Authentication: OAuth. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.

Sample use cases

  • List unpaid invoices over 30 days past due, by customer.
  • Pull total revenue by class for Q1 and rank by largest.
  • Find expenses tagged client-billable that haven’t been invoiced.

Available Tools

query_accounts

Query Chart of Accounts using SQL-like syntax with filters for account type and active status.

get_account

Retrieve comprehensive account details by ID including name, type, sub-type, classification, current balance, parent account, and account number.

create_account

Create Chart of Accounts entry. Specify name, account type (Bank, Other Current Asset, Fixed Asset, etc.), account sub-type, and optional description, account number, or parent account for hierarchy.

update_account

Update account name, description, number, active status, type/detail type, parent account (query_accounts) or default tax code (query_tax_codes).

query_bills

Query bills using SQL-like syntax with filters for vendor, date range, and payment status.

get_bill

Retrieve comprehensive bill details by ID including vendor info, line items with account/item details, amounts, due date, and balance information.

create_bill

Create bill record for vendor with line items for expenses or items. Specify vendor, transaction date, line items with account or item details, and optional due date.

update_bill

Update bill with new vendor, line items, dates, or amounts. Uses optimistic locking with sync_token.

delete_bill

Delete bill by ID permanently. Uses optimistic locking with sync_token.

query_customers

Query customers using SQL-like syntax with filters for name, status, and balance. Parameters: query (SQL filter), max_results, start_position, active_only. Supports pagination.

get_customer

Retrieve comprehensive customer details by ID including contact info, billing and shipping addresses, payment terms, balance info, tax settings, and metadata.

create_customer

Create customer with contact info, addresses, and settings.

update_customer

Update customer with new contact info, addresses, and settings.

delete_customer

Soft delete customer by setting status to inactive.

check_auth_config

Diagnostic tool to check QuickBooks authentication configuration.

query_estimates

Query estimates using SQL-like syntax with filters for customer, date range, and status.

get_estimate

Retrieve comprehensive estimate details by ID including customer info, line items with products/services, amounts, transaction date, expiration date, and acceptance status.

create_estimate

Create sales estimate for customer with line items. Specify customer, line items with products/services, transaction date, optional expiration date, and customer memo.

update_estimate

Update estimate with new line items, dates, customer memo, or addresses. Uses optimistic locking with sync_token.

delete_estimate

Delete estimate by ID permanently. Uses optimistic locking with sync_token.

send_estimate

Send estimate via email to customer. Specify estimate ID; email_address is optional — omit to send to the customer’s on-file BillEmail instead of overriding it.

query_invoices

Query invoices using SQL-like syntax with filters for customer, status, dates, and amounts.

get_invoice

Retrieve comprehensive invoice details by ID including customer info, line items with quantities and amounts, payment status, delivery info, tax calculations, and financial totals.

create_invoice

Create invoice with line items, customer details, and financial settings.

update_invoice

Modify existing invoice with updated line items, financial details, and settings.

void_invoice

Void invoice while maintaining audit trail. Preserves historical records but removes from accounts receivable. Parameters: id (required), sync_token (required). Cannot void paid invoices.

send_invoice

Send an invoice by email, using the customer’s email on file unless overridden. Custom subjects and message bodies are not supported.

query_items

Query items using SQL-like syntax with flexible filtering and pagination support.

get_item

Retrieve comprehensive item details by ID including name, description, SKU, unit price, purchase cost, income/expense accounts, inventory tracking, and quantity on hand.

create_item

Create item for products/services.

update_item

Update item name, description, SKU, pricing, accounts, or status.

delete_item

Delete an item by marking it as inactive (soft delete).

query_payments

Query payments using SQL-like syntax with filters for customer, date range, and amount.

get_payment

Retrieve comprehensive payment details by ID including customer info, payment method, line items showing invoice applications, amounts applied and unapplied.

create_payment

Create payment record for customer against invoices. Specify total amount, customer, payment method, and line items linking to invoices. Auto-calculates unapplied amounts.

update_payment

Update payment with new amount, method, or invoice applications. Uses optimistic locking with sync_token.

delete_payment

Delete payment by ID. Uses optimistic locking with sync_token.

query_vendors

Query vendors using SQL-like syntax with filters for active status and name. Parameters: query (SQL filter), max_results (1-1000), start_position, active_only. Supports pagination.

get_vendor

Retrieve comprehensive vendor details by ID including contact information, addresses, email, phone numbers, tax identifier, balance, and 1099 status.

create_vendor

Create vendor record with display name, contact details, billing address, email, phone, tax identifier, and 1099 settings. Display name is required.

update_vendor

Update vendor with new contact details, address, email, phone, tax info, or active status. Uses optimistic locking with sync_token.

delete_vendor

Delete vendor by ID. Uses optimistic locking with sync_token.

create_bill_payment

Pay one or more of a vendor’s bills by check or credit card.

create_class

Create a class, or a subclass when parent_class_id is set (use query_classes to find the parent).

create_department

Create a department (location), or a sub-department when parent_department_id is set (use query_departments to find the parent).

create_purchase

Record an expense paid by cash, check or credit card (a credit-card refund with credit=true).

create_tax_agency

Create a tax agency by display name, to receive new tax rates in create_tax_code.

create_tax_code

Create a sales tax code through TaxService, from existing tax rates (tax_rate_id, see query_tax_rates) and/or new ones (name, rate_value, tax_agency_id from query_tax_agencies).

delete_bill_payment

Permanently delete a bill payment; the bills it paid become payable again.

delete_purchase

Permanently delete an expense (purchase).

get_bill_payment

Get one bill payment by ID: vendor, pay type, paying account, the bills it covers (Line.LinkedTxn), total and SyncToken.

get_class

Get one class by ID: name, parent, active state and SyncToken.

get_department

Get one department by ID: name, parent, active state and SyncToken.

get_purchase

Get one expense (purchase) by ID: payment type, paid-from account, payee, lines, total and SyncToken.

get_report

Run a financial report: ProfitAndLoss, BalanceSheet, CashFlow, TrialBalance, GeneralLedger, AgedReceivables/AgedPayables (aging), CustomerSales, ItemSales, TransactionList and more.

get_tax_agency

Get one tax agency (the authority a tax rate is owed to) by ID. Use query_tax_agencies to find agency IDs.

get_tax_classification

Get one tax classification (an item tax category used by Automated Sales Tax and non-US tax regimes) by ID.

get_tax_code

Get one sales tax code by numeric ID with the tax rates it groups.

get_tax_payment

Get one tax payment or refund made against a filed tax return, by ID.

get_tax_rate

Get one tax rate by ID: percentage, tax agency and active state.

query_bill_payments

List or search payments made against vendor bills.

query_classes

List or search classes, e.g. to find the ClassRef ID for an invoice, bill or expense line.

query_departments

List or search departments (locations), e.g. to find the DepartmentRef ID for an invoice, bill or expense.

query_employees

List or search employees by name to find an employee ID, e.g. the entity_id (entity_type ‘Employee’) for an expense in create_purchase.

query_payment_methods

List or search payment methods (Cash, Check, Visa) to find the payment_method_id for create_purchase, update_purchase, create_payment or update_payment.

query_purchases

List or search expenses (cash, check and credit-card purchases).

query_tax_agencies

List tax agencies, e.g. to find the tax_agency_id for a new rate in create_tax_code.

query_tax_classifications

List tax classifications. The full list runs to thousands of rows, so start with level=1, then pass a row’s id as parent_id to list its children.

query_tax_codes

List or search sales tax codes, e.g. to find the TaxCodeRef ID for a line.

query_tax_payments

List tax payments and refunds made against filed tax returns.

query_tax_rates

List or search tax rates, e.g. to reuse an existing rate in create_tax_code.

update_bill_payment

Change a bill payment. Only the fields you pass change; lines, if passed, replace all lines (pass total_amt with them).

update_class

Rename, re-parent, deactivate (active=false) or reactivate a class.

update_department

Rename, re-parent, deactivate (active=false) or reactivate a department.

update_purchase

Change an expense. Only the fields you pass change; lines, if passed, replace all lines.

void_bill_payment

Void a bill payment: it stays on record with its total zeroed and lines cleared, and the bills it paid become payable again.

get_attachment

Get one attachment (note or file) by ID: file name, note, category, content type, size, tag, linked records and SyncToken.

search_attachment

Search attachments by IDs, file name, note, category, content type, tag, place, latitude, longitude, size range, created or updated time.

create_attachment

Add a note attachment, optionally linked to records (attachable_refs: an invoice, bill, purchase, journal entry, deposit, customer or vendor, found with query_invoices, query_bills, query_purchases,…

upload_attachment

Upload a file and attach it to records. file_reference must be a file staged through the platform’s file endpoint (not a public URL or local path); max 25 MB.

download_attachment

Download an attachment’s file through the file service (the bytes never enter the conversation).

update_attachment

Change an attachment’s note, file name, category, content type, tag, location fields or links.

delete_attachment

Permanently delete an attachment (note or file) and its links.

get_budget

Get one budget by ID: name, dates, period type, amounts by account/customer/period and SyncToken.

search_budget

Search budgets by name, IDs, active status, or created/updated time; sort by name or time; page with start_position/next_start_position, or set count_only for a total.

create_budget

Create a budget with a unique name, start/end dates and optional amounts by account (query_accounts), customer (query_customers) and period; use customer on all amounts or none.

update_budget

Change a budget’s name, dates, amounts or dimensions.

delete_budget

Permanently delete a budget. Needs budget_id and sync_token from get_budget or search_budget.

list_entity_changes

List changes since a time within 30 days: IDs, SyncTokens, last-updated times and deleted IDs.

get_change_order

Get one change order by ID: status, project, customer, parent estimate, lines, totals and SyncToken.

create_change_order

Create a change order on a project estimate (QuickBooks Advanced with Construction): customer (query_customers), active project, parent estimate (query_estimates) and item lines (query_items).

update_change_order

Change a change order: status (Pending, Accepted, Closed, Rejected), acceptance, dates, memos, email/print status, tax, or lines (replaces all).

delete_change_order

Permanently delete a change order. Needs change_order_id and sync_token from get_change_order. This cannot be undone.

get_company_currency

Get one company currency (multicurrency companies) by ID: code, name, active state and SyncToken.

search_company_currency

Search the currencies enabled in a multicurrency company by IDs, active status (active by default), or created/updated time; sort; page with start_position, or set count_only.

create_company_currency

Add a currency to a multicurrency company by ISO code (check get_preference CurrencyPrefs first).

update_company_currency

Rename, deactivate (active=false) or reactivate a company currency, or set its custom fields.

get_company_info

Get the company’s info: company and legal names, addresses, email, phone, website, country, fiscal year start, employer ID and subscription attributes (NameValue), with the SyncToken…

update_company_info

Change company-wide info: names, addresses, email, phone, website, country, employer ID, fiscal year start, languages or attributes.

get_credit_card_payment

Get one credit card payment (a bank payment toward a credit card balance) by ID: amount, bank account, credit card account, date, memo and SyncToken.

search_credit_card_payment

Search credit card payments by IDs, transaction date, created or updated time; payee (vendor_ids) filters each fetched page.

create_credit_card_payment

Record a payment from a bank account toward a credit card balance.

update_credit_card_payment

Change a credit card payment. Only fields you pass change; the current amount, accounts and date are resent, as QuickBooks requires.

delete_credit_card_payment

Permanently delete a credit card payment.

get_credit_memo

Get one credit memo by ID: customer, lines, total, remaining credit, terms, email status and SyncToken.

search_credit_memo

Search credit memos by IDs, customers, projects, payment terms, reference number, balance, transaction date, created or updated time.

create_credit_memo

Create a credit memo owed to a customer.

update_credit_memo

Change a credit memo. Only fields you pass change (sparse update); lines, if passed, replace all lines and set the new total.

send_credit_memo

Email a credit memo to its billing email, or to send_to (which QuickBooks then saves as the billing email).

download_credit_memo

Download a credit memo as a PDF through the platform’s file transfer; the bytes never enter the conversation.

delete_credit_memo

Permanently delete a credit memo. Needs credit_memo_id and the current sync_token from get_credit_memo or search_credit_memo.

get_customer_type

Get one customer type by ID: name, active state and timestamps. Use search_customer_type to find customer type IDs.

search_customer_type

Search customer types (customer categories set up in QuickBooks) by IDs, active status, or created/updated time; sort; page with start_position, or set count_only.

get_deposit

Get one bank deposit by ID: receiving account, date, lines (source account, payer, check number, payment method, linked payments), cash back, total and SyncToken.

search_deposit

Search bank deposits by IDs, transaction date range, created or updated time.

create_deposit

Record a bank deposit into deposit_to_account_id (a Bank or Other Current Asset account from query_accounts).

update_deposit

Change a bank deposit. Only the fields you pass change; lines, if passed, replace all lines (otherwise the current lines are kept).

delete_deposit

Permanently delete a bank deposit. Linked payments return to Undeposited Funds.

get_employee

Get one employee by ID: names, contact details, address, employee number, hire and release dates, rates, active state and SyncToken (the SSN is always masked).

create_employee

Create an employee. Needs given_name; optionally set the mailing address, contact details, employee number, dates and rates.

update_employee

Update an employee: names, address, email and phones, employee number, hire/release dates, birth date, gender, rates, or active=false to deactivate (there is no employee delete).

get_entitlement

Get the company’s subscription entitlements: plan name, user limits, trial days and each feature (e.g. Budgets, Class Tracking) with its On/Off state.

download_estimate

Download an estimate as a PDF through the platform’s file transfer; the bytes never enter the conversation.

get_exchange_rate

Get the exchange rate for one currency into the home currency, today or on as_of_date.

search_exchange_rate

Search stored exchange rates by source currencies, a date, or last-updated time; sort by last update; page with start_position, or set count_only.

update_exchange_rate

Set the exchange rate for a currency on a date in a multicurrency company.

search_inventory_adjustment

Find inventory adjustments, including ones created in QuickBooks, by IDs or created/updated time.

get_inventory_adjustment

Get one inventory quantity adjustment by ID: date, reference number, adjustment account, memo, item lines with quantity changes and dimension values, and SyncToken.

create_inventory_adjustment

Change the quantity on hand of inventory items (damage, shrinkage, recount).

update_inventory_adjustment

Update an inventory adjustment: replace its item lines (with dimension values), date, reference number or memo.

delete_inventory_adjustment

Permanently delete an inventory adjustment, reversing its quantity changes.

delete_invoice

Permanently delete an invoice. Needs invoice_id and the current sync_token from get_invoice or query_invoices.

download_invoice

Download an invoice as a PDF through the platform’s file transfer; the bytes never enter the conversation.

get_journal_entry

Get one journal entry by ID: date, number, memo, adjusting flag, currency, debit/credit lines and SyncToken.

search_journal_entry

Search journal entries by IDs, transaction date range, journal number, created or updated time.

create_journal_entry

Create a journal entry from balanced Debit and Credit lines.

update_journal_entry

Change a journal entry. Only the fields you pass change; lines, if passed, replace all lines and must balance (otherwise the current lines are kept).

delete_journal_entry

Permanently delete a journal entry. Needs journal_entry_id and the current sync_token from get_journal_entry or search_journal_entry.

cancel_payment

Void a received payment: QuickBooks keeps it on record with zero amounts and ‘Voided’ in the memo, and un-applies it from invoices.

download_payment

Download a payment receipt as a PDF through the platform’s file transfer; the bytes never enter the conversation.

send_payment

Email a payment receipt. send_to overrides and saves the payment’s bill email.

get_payment_method

Get one payment method by ID: its ID, name, type (CREDIT_CARD or NON_CREDIT_CARD), active state and SyncToken.

create_payment_method

Create a payment method (e.g. ‘Wire transfer’) with an optional type.

update_payment_method

Rename a payment method, change its type, or deactivate (active=false) or reactivate it; there is no delete.

create_bank_account

Store a bank account on a customer for later eCheck debits (QuickBooks Payments).

get_bank_account

Get one bank account stored on a customer (QuickBooks Payments), with account and routing numbers cut to the last four digits.

list_bank_accounts

List the bank accounts stored on a customer for QuickBooks Payments (newest first; the API returns at most ten and has no paging).

delete_bank_account

Delete a bank account stored on a customer (QuickBooks Payments).

list_cards

List the cards a customer has stored for QuickBooks Payments (last four digits only).

get_card

Get one card stored on a customer (QuickBooks Payments): brand, last four digits, expiry, holder name.

delete_card

Delete a card stored on a customer (QuickBooks Payments).

create_charge

Charge a card (QuickBooks Payments). Give token (from the merchant’s card form) or card_on_file_id (from list_cards).

get_charge

Get a card charge (QuickBooks Payments) by ID: status (AUTHORIZED, CAPTURED, SETTLED, REFUNDED…), amounts, card last four, capture and refund details.

capture_charge

Capture a card charge that was only authorized (create_charge with capture=false), for up to the authorized amount (QuickBooks Payments).

void_charge

Void a card charge that has not settled (QuickBooks Payments).

create_payment_refund

Refund all or part of a card charge (target='charge', ID from create_charge) or an eCheck (target='echeck', ID from create_echeck) in QuickBooks Payments.

get_payment_refund

Get one refund of a card charge (target='charge') or an eCheck (target='echeck') in QuickBooks Payments: amount, status, type.

create_echeck

Debit a bank account by eCheck (QuickBooks Payments).

get_echeck

Get an eCheck debit (QuickBooks Payments) by ID: status (PENDING, SUCCEEDED, DECLINED, VOIDED, REFUNDED), amount, check number, bank account last four and refund details.

download_payment_receipt

Download a QuickBooks Payments receipt as a file reference.

get_preference

Get the company’s preferences: accounting labels and tracking, currency (multicurrency on/off, home currency), sales form and email defaults, products and services, report basis, tax, time tracking,…

get_purchase_order

Get one purchase order by ID: vendor, status (Open/Closed), lines, total, vendor email, shipping, linked bills and SyncToken.

search_purchase_order

Search purchase orders by IDs, vendors, reference number, transaction date, created or updated time; the due-date window filters each fetched page.

create_purchase_order

Create a purchase order with a vendor. Needs vendor_id from query_vendors and lines: item lines with item_id from query_items, or category lines with account_id from query_accounts.

update_purchase_order

Change a purchase order, or close/reopen it with po_status.

send_purchase_order

Email a purchase order to send_to, else the email on the order (po_email), else the vendor’s email; QuickBooks saves send_to as the order’s email.

download_purchase_order

Download a purchase order as a PDF through the platform’s file transfer; the bytes never enter the conversation.

delete_purchase_order

Permanently delete a purchase order. Needs purchase_order_id and the current sync_token from get_purchase_order or search_purchase_order.

get_recurring_transaction

Get one recurring transaction template by ID: its transaction_type, name, recur_type, active, schedule, sync_token and full transaction body.

search_recurring_transaction

Search recurring transaction templates by IDs, transaction_types, recur_data_ref_ids, created or updated time.

create_recurring_transaction

Create a recurring template from the type’s native transaction body.

delete_recurring_transaction

Permanently delete a recurring transaction template.

get_refund_receipt

Get one refund receipt by ID: customer, lines, total, account paid from, payment type, check or card details and SyncToken.

search_refund_receipt

Search refund receipts by IDs, customers, projects, reference number, balance, transaction date, created or updated time; card transaction ID filters each fetched page.

create_refund_receipt

Create a refund receipt (money paid back to a customer).

update_refund_receipt

Change a refund receipt. Only fields you pass change (sparse update); lines, if passed, replace all lines.

send_refund_receipt

Email a refund receipt to its billing email, or to send_to (which QuickBooks then saves as the billing email).

download_refund_receipt

Download a refund receipt as a PDF through the platform’s file transfer; the bytes never enter the conversation.

delete_refund_receipt

Permanently delete a refund receipt. Needs refund_receipt_id and the current sync_token from get_refund_receipt or search_refund_receipt.

get_reimburse_charge

Get one billable expense charge (an expense line billable to a customer) by ID: customer, amount, whether it has been invoiced, linked invoice and lines.

search_reimburse_charge

Search billable expense charges by customer, invoiced or not, IDs, or created/updated time; sort by ID or time; page with start_position, or set count_only.

run_tax_summary_report

Run the Tax Summary report for one tax agency (agency_id from query_tax_agencies) over a period.

get_sales_receipt

Get one sales receipt by ID: customer, lines, totals, deposit account, payment method, email status and SyncToken.

search_sales_receipt

Search sales receipts by IDs, customers, projects, reference number, total or balance range, transaction date, created or updated time.

create_sales_receipt

Create a sales receipt (a sale paid in full).

update_sales_receipt

Change a sales receipt. Only fields you pass change (sparse update); lines, if passed, replace all lines.

cancel_sales_receipt

Void a sales receipt: QuickBooks keeps it on record with zero amounts and ‘Voided’ in the memo.

send_sales_receipt

Email a sales receipt to its billing email, or to send_to (which QuickBooks then saves as the billing email).

download_sales_receipt

Download a sales receipt as a PDF through the platform’s file transfer; the bytes never enter the conversation.

delete_sales_receipt

Permanently delete a sales receipt. Needs sales_receipt_id and the current sync_token from get_sales_receipt or search_sales_receipt.

get_term

Get one payment term by ID: name, due days or day of month, discount, active state and SyncToken.

search_term

Search payment terms by name, IDs, active status (active by default; ‘all’ includes deactivated), or created/updated time; sort by name or time; page with start_position, or set count_only.

create_term

Create a payment term: set due_days (e.g. Net 45) or day_of_month_due (e.g. due the 15th), plus an optional discount.

update_term

Rename a payment term, change its due days, day of month due or discount, or deactivate (active=false) or reactivate it.

get_time_activity

Get one time activity by ID: employee or vendor, date, hours or clock times, customer/project, service item, billable status, rates and SyncToken.

search_time_activity

Search time activities by billable status, customer, project, IDs, date range, or created/updated time; sort by ID, date or time; page with start_position, or set count_only.

create_time_activity

Record time worked by an employee (employee_id from query_employees) or a vendor (vendor_id from query_vendors): hours or start/end times, date, and optionally a customer, project, service item,…

update_time_activity

Update a time activity: worker, date, hours or clock times, description, customer, project, service item, class, location, payroll item, billable flag, taxable, rates.

delete_time_activity

Permanently delete a time activity. Needs time_activity_id and the current sync_token from get_time_activity or search_time_activity.

get_transfer

Get one transfer by ID: from and to accounts, amount, date, memo and SyncToken.

search_transfer

Search transfers between accounts by IDs, transaction date range, created or updated time.

create_transfer

Move money between two accounts (e.g. checking to savings).

update_transfer

Change a transfer. Only the fields you pass change.

delete_transfer

Permanently delete a transfer. Needs transfer_id and the current sync_token from get_transfer or search_transfer.

get_vendor_credit

Get one vendor credit by ID: vendor, payable account, lines (category or item, billable customer, markup), total, unapplied balance and SyncToken.

search_vendor_credit

Search vendor credits by IDs, vendors, payable account, reference number, total range, transaction date, created or updated time.

create_vendor_credit

Create a vendor credit. Needs vendor_id from query_vendors and lines: category lines with account_id from query_accounts, or item lines with item_id from query_items.

update_vendor_credit

Change a vendor credit. Only fields you pass change; lines, if passed, replace all lines (otherwise the current vendor and lines are resent, as QuickBooks requires).

delete_vendor_credit

Permanently delete a vendor credit. Needs vendor_credit_id and the current sync_token from get_vendor_credit or search_vendor_credit.