# Sample company
Source: https://www.desktopaccountingapi.com/docs/quickbooks/sample-company/

> A QuickBooks company for test projects that answers from recordings of real QuickBooks Desktop.

Simulated QuickBooks: answers are recordings of real QuickBooks Desktop, so you can call the API before you set up Windows. A new account's first test project has one. In any other test project, select **Add sample company** on Home.

Test with real QuickBooks Desktop before production.

## Use it

Open **End users**, then **Sample company**, and copy its end-user ID. Send it in `Daapi-End-User-Id` as for any end user.

## Coverage

Lists:

|  | Accounts | Customers | Inventory items | Items | Service items | Vendors |
| --- | --- | --- | --- | --- | --- | --- |
| List | Yes | Yes | Yes | Yes | Yes | Yes |
| `limit` and `cursor` | Yes | Yes | Yes | Yes | Yes | Yes |
| Retrieve by ID | Yes | Yes | Yes | Yes | Yes | Yes |
| `ids` | Yes | Yes | Yes | Yes | Yes | Yes |
| `fullNames` or `names` | Yes | Yes | Yes | Yes | Yes | Yes |
| `status` | Yes | Yes | Yes | Yes | Yes | Yes |
| `updatedAfter` | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset |
| `updatedBefore` | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset |
| Passthrough without `OwnerID` | Yes | List and lookup by ID | Yes | Yes | Yes | Yes |

Transactions:

|  | Bills | Estimates | Invoices | Purchase orders | Receive payments | Sales receipts |
| --- | --- | --- | --- | --- | --- | --- |
| List | Yes | Yes | Yes | Yes | Yes | Yes |
| `limit` and `cursor` | Yes | Yes | Yes | Yes | Yes | Yes |
| Retrieve by ID | Yes | Yes | Yes | Yes | Yes | Yes |
| `ids` | Yes | Yes | Yes | Yes | Yes | Yes |
| `refNumbers` | Yes | Yes | Yes | Yes | Yes | Yes |
| `updatedAfter` | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset |
| `updatedBefore` | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset | With a UTC offset |
| `transactionDateFrom` and `transactionDateTo` | Yes | Yes | Yes | Yes | Yes | Yes |
| `customerIds` or `vendorIds` | Yes | Yes | Yes | Yes | Yes | Yes |
| `includeLineItems=false` | Yes | Yes | Yes | Yes | Yes | Yes |
| `includeLinkedTransactions` | Yes | Yes | Yes | Yes | – | – |
| `paymentStatus` | Yes | – | Yes | – | – | – |
| Passthrough without `OwnerID` | Yes | Yes | Yes | Yes | Yes | Yes |

`–` means the API has no such parameter for that resource. Each row is one parameter on its own. Two filters together work only for `customerIds` or `vendorIds` with `paymentStatus`; `customerIds` or `vendorIds` with `transactionDateFrom` and `transactionDateTo`; `customerIds` or `vendorIds` with `updatedAfter` or `updatedBefore`; `status` with `updatedAfter` or `updatedBefore`. A filter that matches nothing returns an empty list.

Accounts, Receive payments and Service items have no public custom fields, so passthrough without `OwnerID` returns the same records as with `OwnerID` 0.

Estimates and Purchase orders have no linked transactions, so `includeLinkedTransactions` returns the same records.

Items page in QuickBooks' own order: send the same `limit` with each `cursor`, and with a filter other than `status`, a `limit` that fits every match.

[Passthrough](https://www.desktopaccountingapi.com/docs/quickbooks/passthrough/) and [batch](https://www.desktopaccountingapi.com/docs/guides/batch/) requests follow the same table, message by message. Under `continueOnError`, the other messages are answered and a refused one gets status code `9990` with the reason; under `stopOnError`, one refused message refuses the whole request.

## Anything else

Any other request gets `422` [`SAMPLE_COMPANY_UNSUPPORTED`](https://www.desktopaccountingapi.com/docs/errors/#sample_company_unsupported). `details.element` names the part with no recorded answer, and the message says what works. Nothing changes.

## Modified dates

`updatedAfter` and `updatedBefore` take values from 1970-01-02 to 2037-12-31. With a UTC offset, they match the exact time. Every record was changed on 2026-11-20. Without an offset, `updatedAfter` before 2026-11-20 matches every record, on or after 2026-11-22 matches none, and a value in between gets `SAMPLE_COMPANY_UNSUPPORTED`; send a time with `Z`, for example `2026-11-20T17:05:00Z`.

As in real QuickBooks:

- Lists match a record when its last edit or its last change falls in the range, so `updatedBefore` can return records with a later `updatedAt`. See [`updatedBefore`](https://www.desktopaccountingapi.com/docs/api/reference/operations/qbdcustomerslist/).
- Inventory items match on the last edit only, so a quantity change from a posted transaction does not match `updatedAfter`. See [`updatedAfter`](https://www.desktopaccountingapi.com/docs/api/reference/operations/qbdinventoryitemslist/).

## Recorded dates

The answers were recorded on 2026-11-20 from Intuit QuickBooks Enterprise Solutions 24.0. Dates and timestamps are as QuickBooks recorded them. They do not move with today's date.

- The company is fictional: Tamarack Finch Landscaping, Fernhill, Washington.
- Every record was created on that date.
- Times carry the UTC offset of the computer that recorded them.

## Limits

| Limit | Value |
| --- | --- |
| Requests | 10,000 per sample company per UTC day. Then `429` [`RATE_LIMITED`](https://www.desktopaccountingapi.com/docs/errors/#rate_limited) with `Retry-After`. |
| Sample companies | One per test project. |

## Tell it apart

| Where | Value |
| --- | --- |
| `simulated` on the end user's connection | `true` |
| `Daapi-Simulated` response header | `true` on responses from the sample company. A request rejected before it reaches the sample company, such as a validation error, has none. |

## Removed data

Nothing else in a recording is changed. These elements are removed wherever they appear:

- `CreditCardInfo`: card details
- `CreditCardTxnInfo`: card payment details
- `SSN`: Social Security numbers
- `BankNumber`: bank account numbers
- `DataExtRet` whose `OwnerID` is not 0: custom fields private to another app

## Differences from real QuickBooks

| Area | Difference |
| --- | --- |
| Data | Answers are fixed recordings of one fictional company on QuickBooks Desktop Enterprise 24. A real company file changes, and other QuickBooks versions can answer differently. |
| Filters | Filters and combinations outside the coverage table are refused with `SAMPLE_COMPANY_UNSUPPORTED`. Real QuickBooks answers them. |
| Writes | Creates, updates and deletes are refused. Nothing in the sample company changes. |
| Passthrough | A customer query without `OwnerID` works as a plain list or a lookup by ID. For other customer queries, add `<OwnerID>0</OwnerID>`. |
| Company files | A test project has one sample company. Connect real QuickBooks through another end user. |
