> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# QuickBooks Online

> Read QuickBooks Online company entities, CDC and financial reports and write invoices, bills and payments.

Use a [protected REST mount](https://docs.bijection.com/integrations/native-rest.md#protected-saas-mounts)
for each mode. Bind `providerEndpoint` to
`https://quickbooks.api.intuit.com` or `https://sandbox-quickbooks.api.intuit.com`
and a fixed `/v3/company/<realmId>/<resource>` path. Use a sealed QuickBooks
bearer credential or a sealed OAuth2 refresh grant at
`https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer` with Basic client
authentication. Use the same realm when rotating credentials.

Initialize with `{ profile: { mode: "provider", provider, limit, ...terms } }`.
For entity and CDC reads select `collection` from `Invoice`, `Customer`,
`Vendor`, `Bill`, `Payment` and `Item`.

| Mode | Resource and terms | Fields and cursor |
| - | - | - |
| `quickbooks.entities` | `query` with `collection` | All fields returned for each entity, including nested fields, keyed by `Id`. A short page ends the live `STARTPOSITION` sweep. Missing rows stay published. |
| `quickbooks.cdc` | `cdc` with `collection` and a recent ISO 8601 `start` timestamp | All returned entity fields keyed by `Id`. Intuit's explicit `status: "Deleted"` removes that ID. The earlier of Intuit’s response time and the request start commits with the rows. The next request overlaps that time by two minutes, bounded by `start`. |
| `quickbooks.report` | `reports/ProfitAndLoss`, `reports/BalanceSheet` or `reports/TrialBalance` with `limit: 1` and `start` and `end` in YYYY-MM-DD | The full `Header`, `Columns` and `Rows` trees as one record keyed by report name and requested period. Each poll has no cursor or deletion inference. |

The response ceiling is 36 KiB and the configured bound is 1–100 entity
records. CDC is a bounded lookback poll with no server pagination. If a
result exceeds the configured bound, its position stays in place. At
30 days the retained lookback expires. The next CDC reply records a
continuity gap and stops the feed. Install a fresh mount with a reviewed
baseline to resume from a new start. Choose a feed whose changes fit
the cap. CDC reports latest changed entities and
explicit removals within its lookback. It does not provide an initial
inventory or a complete event history. REST queries can shift under
provider changes.

## Writes

Use [providerWriter](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes) at the
same protected label. Pass `scope: ["<realmId>"]` and pass the writer in `receivers.writers` under its mode.

| Mode |
| - |
| `quickbooks.invoices.create-update` |
| `quickbooks.bills.create-update` |
| `quickbooks.payments.create-update` |

Supply one Intuit JSON object up to 24 KiB. For updates, supply the current
`SyncToken` in the payload and put the Intuit `Id` on the command. The
app sends a sparse update. HTTP 200 must return the expected entity's
`Id` and a `SyncToken` to acknowledge. The app retains the status and
record ID. Writes use exact keys, one dispatch attempt and no read cursor.

[Intuit CDC](https://static.developer.intuit.com/output_html/qbo/docs/learn/explore-the-quickbooks-online-api/change-data-capture.html) ·
[Intuit queries](https://static.developer.intuit.com/output_html/qbo/docs/learn/explore-the-quickbooks-online-api/data-queries.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.