# QuickBooks Desktop estimates API

Estimates and bids, active or not, with line items. Good for a pipeline view of work not yet invoiced. Estimates come from QuickBooks transactions (qbXML `EstimateQuery`). Empty when estimates are turned off in the company file.

## List estimates

`GET /v1/files/{file_id}/estimates`

List estimates. Follow `next_cursor` for the rest ([how pages work](/docs/requests-and-pagination)).

### Parameters

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `file_id` (required) | path | string | The company file id (file_...), from GET /v1/files. |
| `limit` | query | integer | Records per page, 1 to 500. Default 100. |
| `cursor` | query | string | next_cursor from the previous page. Keep the other parameters the same while paging. |
| `modified_since` | query | string | Only records changed at or after this time (ISO 8601 date-time with offset, or a date). |
| `date_from` | query | date | Transaction date on or after (YYYY-MM-DD). |
| `date_to` | query | date | Transaction date on or before (YYYY-MM-DD). |
| `status` | query | string: open, active, closed, inactive, all | Filter by status. |
| `customer` | query | string | A customer id or name. A customer includes its jobs. |
| `fields` | query | string | Comma-separated top-level fields to return (id is always included). |
| `if_queued` | query | string: error | error: for clients that can't come back later, such as a scheduled sheet refresh. Instead of 202, a no-copy file answers 409 no_copy_kept at once and nothing is queued; a report QuickBooks hasn't sent yet answers 409 report_not_ready (it is still asked for at the next check-in). |
| `order` | query | string: date, modified, id | date (newest first, default), modified (oldest change first, default with modified_since) or id. |
| `format` | query | string: json, csv | json (default) or csv. Accept: text/csv works too. |
| `flat` | query | string: 1 | 1 returns the flat rows CSV uses, as JSON (what the Power Query recipe reads). |
| `rows` | query | string: records, lines | lines gives one row per line item (with format=csv or flat=1). |

### Responses

| Status | Means |
| --- | --- |
| 200 | OK |
| 202 | The company file keeps no copy here. The answer arrives at the next Web Connector check-in; read the job then. |
| 400 | A parameter isn't valid, or the key was put in the URL. |
| 401 | No key, or the key isn't valid. |
| 404 | No such company file, record or job for this key. |
| 409 | if_queued=error was sent and the answer would have had to wait for the next check-in: the company file keeps no copy (no_copy_kept), or QuickBooks hasn't sent this report yet (report_not_ready). Run it again after the check-in. |
| 429 | More than 60 requests a minute with this key. Retry-After says when to try again. |

## One estimate

`GET /v1/files/{file_id}/estimates/{qb_id}`

One estimate by its QuickBooks id.

### Parameters

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `file_id` (required) | path | string | The company file id (file_...), from GET /v1/files. |
| `qb_id` (required) | path | string | QuickBooks' id for the record (ListID or TxnID). |
| `if_queued` | query | string: error | error: for clients that can't come back later, such as a scheduled sheet refresh. Instead of 202, a no-copy file answers 409 no_copy_kept at once and nothing is queued; a report QuickBooks hasn't sent yet answers 409 report_not_ready (it is still asked for at the next check-in). |
| `format` | query | string: json, csv | json (default) or csv. Accept: text/csv works too. |

## Fields

Estimates fields

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | QuickBooks' own id (ListID for lists, TxnID for transactions). |
| `editSequence` | string | Changes every time the record is edited in QuickBooks. |
| `createdAt` | date-time | When the record was created, with the company file's time offset. |
| `modifiedAt` | date-time | When the record last changed. Use modified_since to read only what changed. |
| `number` | string | The number people see (invoice number, check number). |
| `date` | date | The transaction date (YYYY-MM-DD). |
| `memo` | string | The memo field. |
| `currency` | string | Currency code, when the company file uses multiple currencies. |
| `exchangeRate` | number | Exchange rate to the home currency, when the company file uses multiple currencies. |
| `customer` | Ref | The customer or job, as { id, name }. |
| `total` | number | Total amount, in the transaction's currency. |
| `isActive` | boolean | False once the estimate is closed. |
| `dueDate` | date | When the estimate expires, when set. |
| `lines` | EstimatesLine[] | Line items: item, description, quantity, rate, amount, class. |

Line item fields

| Field | Type | Description |
| --- | --- | --- |
| `item` | Ref | The item, as { id, name }. |
| `description` | string | The line's description. |
| `quantity` | number | Quantity. |
| `rate` | number | Price per unit. |
| `amount` | number | The line amount. |
| `class` | Ref | The class on the line, when classes are turned on. |

`Ref` is `{ id, name }`: QuickBooks' id and full name, so reports can show names without a second request. CSV flattens each record into one row; the columns are listed in [the OpenAPI document](https://desktop-app.greatwork.company/openapi.json).

## Example

```bash
curl -H "Authorization: Bearer dbk_your_key" "https://desktop-app.greatwork.company/v1/files/file_8f2c41/estimates?status=open&limit=100"
```

```json
{
  "object": "list",
  "resource": "estimates",
  "file_id": "file_8f2c41",
  "data": [
    {
      "id": "1A70-1700000800",
      "number": "E-311",
      "date": "2026-11-12",
      "customer": {
        "id": "80000014-1700000140",
        "name": "Juniper & Pine"
      },
      "total": 18400,
      "isActive": true
    }
  ],
  "next_cursor": null,
  "has_more": false,
  "synced_at": "2026-11-27T07:04:12-06:00",
  "as_of": "2026-11-27T07:03:58-06:00"
}
```

## About estimates

## Estimates as a pipeline

Estimates (bids, quotes) don't post to the books, so they never show up on a profit and loss or an aging report. That makes this resource the place to see work that is promised but not yet billed. `isActive` is QuickBooks' own flag: true while the estimate is open, false once it is marked inactive (closed) in QuickBooks. `status=open` lists the live ones.

Open bids by customer, ready for a pipeline sheet:

```bash
GET /v1/files/file_8f2c41/estimates?status=open&fields=number,date,dueDate,customer,total&format=csv
```

Pivot on `customer_name` and sum `total` for the value of open bids per customer, or bucket by month of `date` to see how much you quoted each month. `dueDate` is the expiration date when one was set, which is a natural follow-up list: open estimates expiring in the next two weeks. Filter on that column in the sheet, since the API's date filters apply to the estimate date.

## When estimates come back empty

The list is empty when estimates are turned off in the company file. In QuickBooks they are switched on under Edit > Preferences > Jobs & Estimates > Company Preferences, by answering Yes to "Do you create estimates?" ([Intuit's steps](https://quickbooks.intuit.com/learn-support/en-us/help-article/job-estimates/create-estimate-quickbooks-desktop/L36Axfe7h_US_en_US)). The file's status (`/v1/files/{file_id}/status`) shows a count per resource, so an empty estimates count next to a full invoice count usually means the preference is off.

## Estimates and invoices

When an estimate turns into an invoice (in full or through progress invoicing), QuickBooks links the two, but the link is not part of this resource. To compare quoted and billed for a job, line up estimates and [invoices](/docs/api/invoices) for the same customer or job (the `customer` filter includes a customer's jobs) and compare totals, or use the [job profitability summary](/docs/api/reports/job-profitability) for what was actually billed and spent. Line items are here too: `rows=lines&format=csv` lists every quoted item, quantity and rate. Premier and Enterprise files that use [sales orders](/docs/api/sales-orders) often keep the same pipeline there instead.

**Also in the reference:** [Invoices](/docs/api/invoices), [Sales receipts](/docs/api/sales-receipts), [Payments](/docs/api/payments), [Credit memos](/docs/api/credit-memos).

Previous: [Credit memos](/docs/api/credit-memos) | Next: [Sales orders](/docs/api/sales-orders)
