> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/quickbooks.md).

# QuickBooks

QuickBooks Online integration for reading accounting and financial data.

* MCP connection

## Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector          | Authentication |
| ------------------ | -------------- |
| QuickBooks (OAuth) | OAuth sign-in  |
| QuickBooks (MCP)   | MCP with OAuth |

### QuickBooks (OAuth)

Connect to QuickBooks Online to read accounting and financial data.

#### Set up in QuickBooks

1. Use a QuickBooks account with access to the records and operations that your workflow needs.
2. If your organization restricts application access or user consent, have its administrator approve the connection before you sign in.

#### Set up in StackAI

1. Open **Settings → Connections**, add a connection, and select **QuickBooks (OAuth)**.
2. Complete the fields marked for use before sign-in.
3. Select **Connect**, sign in to the provider account, and review the requested access. Complete authorization to return to StackAI.
4. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connection fields**

| StackAI field         | Required                 | What to enter                                                                                                      |
| --------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| Company ID (Realm ID) | Yes                      | Your QuickBooks Company ID, shown in QuickBooks under Settings > Additional info. Complete this before signing in. |
| Sandbox               | Optional / as applicable | Whether this connection targets the QuickBooks sandbox environment. Complete this before signing in.               |

**Provider documentation:** [Setup reference](https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/oauth-2.0).

### QuickBooks (MCP)

Connect to Intuit's invite-only hosted QuickBooks MCP server. The Intuit app must be approved and its MCP scopes enabled.

#### Set up in QuickBooks

1. Obtain access to the QuickBooks MCP server and the tools that your workflow will use. Use the server URL supplied by the provider or your administrator.
2. Register or select the OAuth application described in the fields below. Add the redirect URI displayed in StackAI to that application and retain its client ID and secret, where required.

#### Set up in StackAI

1. Open **Settings → Connections**, add a connection, and select **QuickBooks (MCP)**.
2. Complete the connector configuration below. If you do not have access to these settings, ask your StackAI administrator to configure the connector.
3. Select **Connect**, sign in to the provider account, and review the requested access. Complete authorization to return to StackAI.
4. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connector configuration**

| StackAI field          | Required                 | What to enter                                                                                                                                                      |
| ---------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Server URL             | Read-only                | Intuit's hosted QuickBooks MCP server URL. This value is shown for reference; it is not an editable credential.                                                    |
| OAuth Scopes           | Optional / as applicable | QuickBooks accounting scope plus the MCP tool scopes enabled for your app by your Intuit Solution Engineer.                                                        |
| Client ID              | Optional / as applicable | Client ID of the Intuit app approved for the hosted MCP pilot. [Provider instructions](https://developer.intuit.com/app/developer/myapps).                         |
| Client Secret          | Optional / as applicable | Client secret of the Intuit app approved for the hosted MCP pilot.                                                                                                 |
| Authorization Endpoint | Optional / as applicable | The OAuth endpoint URL (e.g., <https://mcp.example.com/oauth2/authorize>). You probably don't have to set this, the OAuth flow will try to discover it on its own. |

**Provider documentation:** [Setup reference](https://github.com/IntuitDeveloper/intuit-3p-ai-pilot).

### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

## Use an action

1. Add the required **QuickBooks** action to the workflow.
2. Select a connection when the action requests one.
3. Complete the required fields. Use the reference picker when a value comes from another workflow step.
4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

## Actions

### Query QuickBooks

Run a query to fetch records from QuickBooks.

#### Inputs

| Field | Type     | Required | Description                      |
| ----- | -------- | -------- | -------------------------------- |
| Query | textarea | Yes      | The QuickBooks query to execute. |

#### Outputs

| Field          | Type   | Description                                   |
| -------------- | ------ | --------------------------------------------- |
| Query Response | object | The raw QueryResponse returned by QuickBooks. |

### Get Report

Fetch a financial report from QuickBooks.

#### Inputs

| Field             | Type            | Required | Description                                                                                                                                                 |
| ----------------- | --------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Report            | select (string) | Yes      | The financial report to fetch. Available values: Profit and Loss, Balance Sheet, Cash Flow, General Ledger, Trial Balance, Aged Receivables, Aged Payables. |
| Start Date        | string          | No       | Start of the reporting period (YYYY-MM-DD).                                                                                                                 |
| End Date          | string          | No       | End of the reporting period (YYYY-MM-DD).                                                                                                                   |
| Accounting Method | select (string) | No       | The accounting method for the report. Available values: Accrual, Cash.                                                                                      |

#### Outputs

| Field  | Type   | Description                            |
| ------ | ------ | -------------------------------------- |
| Report | object | The raw report returned by QuickBooks. |

## Important behavior

If an operation is denied, check the connection’s granted permissions and the account’s access in the provider. Reauthorize the connection when it needs additional permissions.

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/integrations/catalog/quickbooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
