> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up QuickBooks in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/quickbooks
Last updated: 2026-11-24

Share QuickBooks with your team in Claude, ChatGPT and Cursor through Metorial: 25 tools (9 read-only).

---

To give your team QuickBooks in Claude, ChatGPT, Cursor and other AI clients, an admin shares the QuickBooks integration in a Metorial portal. Agents can manage business finances and accounting in QuickBooks Online. The integration has 25 tools, 9 read-only, 15 write and 1 destructive, plus 2 triggers.

**What you will learn**

- How an admin shares QuickBooks in a portal and how each person connects
- How to keep the 9 read-only tools and reject the other 16

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

Available: **OAuth (production)**, **OAuth (sandbox)**.

The portal and `metorial setup` use **OAuth (production)** unless someone picks another method.

### Setup settings

Setup also asks for:

- `environment` (optional): QuickBooks API environment to use One of "sandbox", "production".
- `companyId` (optional): QuickBooks Company ID (Realm ID) for the target company. Optional when OAuth captured a realmId.
- `webhookVerifierToken` (optional): Optional Intuit webhook verifier token for signature validation

## Admin: share QuickBooks in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose QuickBooks. Under **Auth Method**, keep **OAuth (production)** or pick another.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from QuickBooks.

4. **Choose who gets it**

   Add the access groups that should see QuickBooks. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user QuickBooks integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search quickbooks
```

## Employee: connect QuickBooks

### In the portal

1. **Open QuickBooks in the catalog**

   Sign in to your portal and open QuickBooks. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search quickbooks
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth (production)**. To connect with **OAuth (sandbox)** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your QuickBooks connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list quickbooks
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 9 read-only tools, such as `get_report` and `get_vendor`, and lose the 15 write tools, such as `pay_bill` or `create_bill`, and the destructive tool `delete_sales_receipt`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list quickbooks
metorial tools <integration-id>
metorial call <integration-id> get_company_info -d '{}'
```

`metorial tools` lists the 25 tools, minus any you rejected. `get_company_info` takes no input. 

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (9)

- `get_account`: Retrieves an account from the chart of accounts by ID, returning type, balance, and classification details. Needs `accountId`.
- `get_report`: Generates a financial report from QuickBooks. Needs `reportName`.
- `query_entities`: Queries QuickBooks entities using a SQL-like query language. Needs `entityType`.
- `get_company_info`: Retrieves the company profile information from QuickBooks, including name, address, contact details, fiscal year, and industry type.
- `get_payment`: Retrieves a payment record by ID with full transaction details and linked invoices. Needs `paymentId`.
- `get_customer`: Retrieves a customer record by ID, returning contact details, addresses, balance, and status. Needs `customerId`.
- `search_contacts`: Searches for customers and/or vendors by name, email, or other criteria. Needs `searchTerm`.
- `get_vendor`: Retrieves a vendor record by ID, returning full contact and balance details. Needs `vendorId`.
- `get_sales_receipt`: Retrieves a sales receipt by ID, including customer, amount, transaction date, and line item details. Needs `salesReceiptId`.

### Write tools (15)

- `create_account`: Creates a new account in the QuickBooks chart of accounts. Needs `name` and `accountType`.
- `get_invoice`: Retrieves a single invoice by its ID, returning full details including line items, amounts, customer info, and payment status. Needs `invoiceId`.
- `create_item`: Creates a new product or service item in QuickBooks. Needs `name`, `itemType` and `incomeAccountId`.
- `create_journal_entry`: Creates a manual journal entry with debit and credit lines. Needs `lines`.
- `create_bill`: Creates a new bill (accounts payable) from a vendor. Needs `vendorId` and `lineItems`.
- `create_payment`: Records a payment received from a customer. Needs `customerId` and `totalAmount`.
- `pay_bill`: Records a bill payment to a vendor. Needs `vendorId`, `totalAmount`, `billIds`, `paymentType` and `bankAccountId`.
- `update_item`: Updates an existing product or service item. Needs `itemId`.
- `create_estimate`: Creates a new estimate (quote/proposal) for a customer. Needs `customerId` and `lineItems`.
- `update_customer`: Updates an existing customer record in QuickBooks. Needs `customerId`.
- `record_expense`: Records a purchase or expense transaction in QuickBooks. Needs `paymentType`, `accountId` and `lineItems`.
- `create_vendor`: Creates a new vendor (supplier) record in QuickBooks with contact details and address information. Needs `displayName`.
- `create_customer`: Creates a new customer record in QuickBooks. Needs `displayName`.
- `create_invoice`: Creates a new invoice in QuickBooks for a specified customer. Needs `customerId` and `lineItems`.
- `create_sales_receipt`: Creates a sales receipt in QuickBooks for an immediate customer sale where payment is received at the time of purchase. Needs `customerId` and `lineItems`.

### Destructive tools (1)

- `delete_sales_receipt`: Deletes a sales receipt transaction from QuickBooks. Needs `salesReceiptId`.

## Triggers

QuickBooks has 2 triggers, which fire on events in QuickBooks:

- `entity_change_polling`: [Polling fallback] Polls the QuickBooks Change Data Capture (CDC) API to detect entity changes since the last poll.
- `entity_change_webhook`: Receives real-time webhook notifications when QuickBooks entities are created, updated, deleted, merged, or voided.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use QuickBooks there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [QuickBooks on metorial.com](https://metorial.com/integrations/quickbooks): the integration overview