# How to connect to the Intuit Enterprise Suite API

Apideck enables you to build a native integration with Intuit Enterprise Suite. This guide explains how to configure the Intuit Enterprise Suite connector.

## Before you start, you'll need:

To create your Intuit Developer account, follow the steps below.

1. Navigate to [developer.intuit.com](https://developer.intuit.com/app/developer/homepage)
2. On the menu bar, click **Sign up**, which will open the "Create your account" form.
3. Fill out the form and click **Create Account**, which redirects you to the developer homepage.
4. Navigate to [Account Profile](https://developer.intuit.com/app/developer/userprofile), fill out your profile details, and click **Submit**.
5. Watch the email inbox you specified for a confirmation message and a second message that contains some introductory links to get you started.
6. To create a new app, navigate to the [Apps dashboard](https://developer.intuit.com/app/developer/dashboard) and click **Create an app**, then open **Keys & OAuth** and copy the Client ID and Secret. Intuit issues a separate development and production key pair for the same app: use the development pair for sandbox companies and the production pair, available only after App Assessment approval, for live Intuit Enterprise Suite companies. The two are not interchangeable.
7. Fill in your app's details, including a **Privacy Policy URL** and a **Terms of Use URL**: Intuit requires both to complete your app's registration before it can be submitted for App Assessment.
8. Add the Apideck Redirect URI:  
   `https://unify.apideck.com/vault/callback`
9. Go back to Apideck to configure the [Intuit Enterprise Suite connector](https://platform.apideck.com/configuration/accounting/intuit-enterprise-suite) with the key pair that matches the companies this connector will connect to: the development pair while you test against sandbox companies, the production pair for live ones.

Intuit Enterprise Suite uses the same developer program, app, and OAuth client as QuickBooks Online. If you already have an app registered for Apideck's QuickBooks connector, reuse that app's Client ID and Secret here instead of creating a second one. When an existing customer transitions from QuickBooks Online to Intuit Enterprise Suite, keep the same admin user who originally connected the app.

Before you can list your app on the QuickBooks App Store, or take it to production with an Intuit Enterprise Suite company, it goes through an App Assessment and Compliance review. See the [App Compliance Guide](https://developers.apideck.com/connectors/intuit-enterprise-suite/docs/application_owner+app_compliance) for the full questionnaire and answers.

### What you don't need to configure

- **Company ID (realm ID)**: captured automatically during the OAuth callback and stored on the connection. Each Intuit Enterprise Suite entity is its own company/realm, so one connection covers exactly one entity; a consumer with several entities authorizes each one separately in Vault.
- **IP allow-listing**: Intuit does not require it, so there is no Apideck IP range to register.

## Required Scopes for Intuit Enterprise Suite

When setting up the Intuit Enterprise Suite connector in the Apideck Dashboard, you'll be asked to select the scopes your integration requires. Scopes define which parts of the Intuit Enterprise Suite API your app can access.

At a minimum, you should enable:

- `com.intuit.quickbooks.accounting`: This grants access to QuickBooks accounting data (such as invoices, customers, and general ledger information).  
  This is the only required scope for most accounting use cases.

Enable these additional scopes only if your integration needs them:

- `com.intuit.quickbooks.payment`: Payment data.
- `project-management.project`: Required for the Projects resource, which is served by Intuit's separate GraphQL endpoint.
- `indirect-tax.tax-calculation.quickbooks`: Sales tax calculation.

If your integration needs to access user-specific identity information (like name, email, phone number, or address), you must also select:

- `openid`: Enables identity support via OpenID Connect.  
  This scope is required in order to use any of the following:
  - `profile`: For the user's first and last name
  - `email`: For the user's email address
  - `phone`: For the user's phone number
  - `address`: For the user's physical address

**Important**: Selecting `profile`, `email`, `phone`, or `address` without selecting `openid` will cause the connection to fail.

## Token lifetimes

Nothing here needs configuring (Apideck handles the refresh cycle), but the limits determine when a consumer will be asked to reconnect.

- **Access token**: valid for 1 hour. Apideck refreshes it automatically.
- **Refresh token**: valid for 100 days of inactivity, and rotated on every refresh call. Each refresh invalidates the previous refresh token; Apideck always persists the latest access/refresh pair.
- **Maximum lifetime**: under Intuit's November 2025 policy update, every refresh token has a hard 5-year maximum lifetime regardless of activity. Standard accounting-scope tokens issued from October 2023 onward reach that cap starting October 2028; restricted/granular-scope tokens issued from February 2022 onward reach it starting February 2027. When a connection reaches its cap, the consumer re-authorizes through Vault: no action is needed on your side beyond prompting them.

## Do your first API call to the Intuit Enterprise Suite API

- Connect an Intuit Enterprise Suite company through [Vault](https://platform.apideck.com/vault) with a test session.

- To test the access token, make a query to get your [`Invoices`](https://developers.apideck.com/apis/accounting/reference#operation/invoicesAll) endpoint using the [Accounting API](https://developers.apideck.com/apis/accounting/reference#operation/invoicesAll).

```bash
curl --location --request GET 'https://unify.apideck.com/accounting/invoices' \
--header 'x-apideck-consumer-id: test-consumer' \
--header 'x-apideck-app-id: {APIDECK_APP_ID}' \
--header 'x-apideck-service-id: intuit-enterprise-suite' \
--header 'Authorization: Bearer {APIDECK_API_KEY}' \
--header 'Content-Type: application/json'
```

## Start building with the Intuit Enterprise Suite API

Learn what else you can [build with the Intuit Enterprise Suite API](https://developers.apideck.com/apis/accounting/intuit-enterprise-suite).

Interested in a personalized demo? [Let us know](https://www.apideck.com/demo-request?from=guide).

## Next steps

- [Disconnect Setup Guide](https://developers.apideck.com/connectors/intuit-enterprise-suite/docs/application_owner+disconnect_setup): configure the Disconnect URL so Apideck is notified when a user disconnects your app from within Intuit Enterprise Suite.
- [App Compliance Guide](https://developers.apideck.com/connectors/intuit-enterprise-suite/docs/application_owner+app_compliance): answer Intuit's App Assessment and Compliance Questionnaire to certify your app.
- [API Changes Guide](https://developers.apideck.com/connectors/intuit-enterprise-suite/docs/application_owner+api_changes): review Intuit's recent rate-limit, deprecation, and query-filtering changes, plus the Platform Service Fees billing model, that may affect your integration.
- [Departments and Classes Guide](https://developers.apideck.com/connectors/intuit-enterprise-suite/docs/application_owner+departments_and_classes): enable and map Intuit Enterprise Suite Departments, Locations, and Classes through the Apideck Accounting API.
