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

# QuickBooks

Connect QuickBooks Online in Drivepoint: accounting method, dimensions, start date, incremental lookback, and core versus additional streams.

QuickBooks Online is the financial source for the SmartModel. A QuickBooks Online admin connects the company, then saves settings. Saving is what starts the first data pull. Closing the dialog without saving does not start it.

{% hint style="info" %}
Three streams always sync: the chart of accounts, the monthly Profit and Loss, and the monthly Balance Sheet. The start date sets how far back that first pull goes. Incremental lookback sets how many recent months those two reports re-read on every later refresh. Anything else is an additional stream under Advanced settings.
{% endhint %}

### Connect QuickBooks Online

{% stepper %}
{% step %}

#### Open Data Sources

In Drivepoint, open **Data Sources**. Choose **Connect** or **New Data Source**, then choose **QuickBooks**.
{% endstep %}

{% step %}

#### Sign in as a QuickBooks Online admin

Only a QuickBooks Online admin can authorize the connection. After you accept the Intuit permissions, Drivepoint opens **QuickBooks Settings**.
{% endstep %}

{% step %}

#### Complete settings and save

Set the accounting method, dimensions, start date, and lookback window on this page. Choose **Save changes**. If you are still in the connect step, the button is **Continue**, and the same settings are saved after Intuit returns you to Drivepoint.

Drivepoint stores the settings and starts a data refresh. You get an email when that refresh finishes. If the warehouse is not ready yet, the settings still save, and your account manager finishes the first refresh.
{% endstep %}
{% endstepper %}

<figure><img src="https://2089194542-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuPhWdKX288WBK7UyaQZw%2Fuploads%2FKXUzfvX30WMSa9HTBVi1%2Fimage.png?alt=media&amp;token=a28be5b4-cef3-4d2f-8581-6c58cc91dfa5" alt="QuickBooks settings in Drivepoint"><figcaption><p>QuickBooks settings in Drivepoint.</p></figcaption></figure>

The connected account name includes `quickbooks` and your QuickBooks company id. That id belongs there.

Reopen **QuickBooks Settings** on the connected source whenever you need to change them. Save again. The next sync uses the saved settings.

### Accounting method

Choose **Accrual** or **Cash**. A new connection opens on **Accrual**.

This is the method Drivepoint sends when it requests the Profit and Loss and the Balance Sheet. Use the method you close the books on. Switch it and save when the basis of the next report pull should change.

### Dimensions

The Income Statement and the Balance Sheet each have two dimension fields. Each field is one of:

* **None**
* **Departments**
* **Classes**
* **Customers**
* **Vendors**

**None** is the default on every field, which is an unclassed statement. You can save without changing it.

* Dimension 2 stays unavailable until Dimension 1 is something other than **None**. Setting Dimension 1 back to **None** sets Dimension 2 to **None**.
* The two dimensions on the same statement cannot be the same value. Income Statement **Classes** plus Balance Sheet **Classes** is allowed, because they are different statements.
* Pick a dimension only when that list is in use in QuickBooks. A dimension you do not use there comes back empty.

### Start date

**Start date** is required. It is the earliest day Drivepoint asks QuickBooks for.

The dialog opens on **January 1, 2020**. Change the year and month when you need a different history. The value is stored at midnight UTC (`YYYY-MM-DDT00:00:00Z`). Leave the time at midnight UTC.

| Start date                               | What the first pull covers                      |
| ---------------------------------------- | ----------------------------------------------- |
| January 1, 2020 (the dialog default)     | History from the start of 2020 forward          |
| An earlier date, such as January 1, 2015 | A longer history. The first sync does more work |
| A later date                             | A shorter history, and a faster first sync      |

A connection that was set up earlier may already show a different date, including 2015. The date in settings is the one the next sync uses. Change it, then save.

The start date bounds history for the QuickBooks source. It is separate from lookback. Lookback decides which recent months are re-read after that history is already in Drivepoint.

### Incremental lookback

**Incremental lookback months** is how many recent months the monthly Profit and Loss and monthly Balance Sheet re-sync on each refresh. QuickBooks often restates a closed month after a late bill, a reclass, or a bookkeeper adjustment. Re-reading that window replaces the earlier numbers for those months.

* Leave the field blank to keep the connector default. Drivepoint does not send an override.
* To override it, enter a whole number from **1** to **24**.
* A larger number re-reads further back on every refresh and makes each sync do more work. Use it when books are restated more than a couple of months after close.
* `0`, decimals, and numbers above 24 are rejected.

The window applies to the incremental monthly reports, `profit_loss_report_monthly` and `balance_sheet_report_monthly`. It does not apply to additional streams. Those tables are full refreshes, so each sync replaces the table.

Save after you change the lookback. The next sync uses the new window.

### Streams

#### Core streams

These three always sync. They are not in the Additional streams list, and they cannot be turned off there.

| Stream                         | What it is                                                                                     | How it syncs                                                                                                       |
| ------------------------------ | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `accounts`                     | Chart of accounts                                                                              | Full refresh. The table is replaced on each sync.                                                                  |
| `profit_loss_report_monthly`   | Monthly Profit and Loss, using the accounting method and Income Statement dimensions you saved | Incremental. Each refresh re-reads the lookback window you set, or the connector default when that field is blank. |
| `balance_sheet_report_monthly` | Monthly Balance Sheet, using the accounting method and Balance Sheet dimensions you saved      | Incremental. Each refresh re-reads the lookback window you set, or the connector default when that field is blank. |

These reports are what the SmartModel financial import uses. A standard financial model does not need an additional stream.

#### Additional streams

**Advanced settings**, then **Additional streams**, turns on extra QuickBooks tables. The core reports keep syncing either way. Select the tables you need, then save. New tables are included on the next sync. Clear a stream and save to leave it out of later syncs.

Wait for the list to finish loading before you save. An empty list means this connection has no optional streams available yet.

Every additional stream is a full refresh. The lookback window does not limit them. The start date is still the earliest day the source requests.

| Stream                            | What it is                               |
| --------------------------------- | ---------------------------------------- |
| `bill_payments`                   | Bill payments                            |
| `bills`                           | Bills (accounts payable)                 |
| `classes`                         | Class list                               |
| `credit_memos`                    | Credit memos                             |
| `customers`                       | Customer list                            |
| `departments`                     | Department list                          |
| `deposits`                        | Deposits                                 |
| `employees`                       | Employees                                |
| `invoices`                        | Invoices, including sales-item lines     |
| `items`                           | Products and services                    |
| `journal_entries`                 | Journal entries                          |
| `payments`                        | Customer payments                        |
| `purchase_orders`                 | Purchase orders                          |
| `purchases`                       | Purchases, including expenses and checks |
| `refund_receipts`                 | Refund receipts                          |
| `sales_receipts`                  | Sales receipts                           |
| `transaction_list_report_monthly` | Monthly transaction list                 |
| `transfers`                       | Transfers                                |
| `vendor_credits`                  | Vendor credits                           |
| `vendors`                         | Vendor list                              |

{% hint style="info" %}
Product mapping uses QuickBooks only when the `invoices` stream is on. It maps sales-item lines (`SalesItemLineDetail` with an item and a quantity). When `items` is also on, that table is the item master for those lines, not a second dataset to map. Profit and Loss, the Balance Sheet, accounts, journal entries, payments, and invoice headers are not mapped. See [Product mapping](https://docs.drivepoint.io/using-the-web-app/product-mapping).
{% endhint %}

Transaction detail in the [Financials datamart](https://docs.drivepoint.io/data-integrations/warehouse/financials-datamart.md) (invoices, bills, payments, vendors) comes from these additional streams. The monthly financial statements are available from the core streams without them.

### After you save

1. **Save changes** stores the accounting method, dimensions, start date, lookback, and any additional streams you selected.
2. Drivepoint starts a data refresh and emails you when it completes.
3. Reopen settings when the books, the dimensions, or the history window need to change. Save again so the next sync picks the change up.

{% hint style="warning" %}
A new connection does not pull data until settings are saved. If you close the dialog first, reopen QuickBooks settings and save.
{% endhint %}


---

# 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.drivepoint.io/data-integrations/accounting/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.
