Skip to content
Support

Estimates API

Owner, AdminLast checked 25 November 20265 min readArticle ID: developers-api-estimates
On this page

3 endpoints for estimates: list estimates; create a draft estimate on a job; get an estimate.

List estimates

GET /api/v1/estimates

Offset mode by default (newest first, meta.total). Pass updated_since or cursor for sync mode (oldest change first, keyset paging, no total). See the pagination guide. Archived records are left out. Unknown query parameters are ignored.

Scope: read:estimates

Parameters

NameInTypeRequiredDescription
per_pagequeryintegerPage size. Out-of-range values are clamped to 1..100.
pagequeryintegerPage number, newest first. Offset mode only; ignored in sync mode.
updated_sincequerystringSwitches to sync mode: rows changed at or after this date or timestamp (a bare date is midnight UTC), oldest change first. Rows are listed once they have settled (5 seconds).
cursorquerystringThe meta.next_cursor of a previous response; continues strictly after the last row received. Switches to sync mode. A value this API did not issue is validation_failed.
job_idquerystringOnly estimates of this job.
statusquerydraft, sent, accepted, declined, expired, cancelledOnly estimates with this status.
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": [
    {
      "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "number": "1042-001",
      "title": "Hot water system repair",
      "date": "2026-11-03",
      "valid_until": "2026-11-03",
      "status": "draft",
      "currency": "AUD",
      "subtotal_cents": 15000,
      "discount_cents": 15000,
      "callout_fee_amount_cents": 15000,
      "tax_cents": 15000,
      "total_cents": 15000,
      "line_items": [
        {
          "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
          "name": "Sam Taylor",
          "description": "Replace the tempering valve.",
          "qty": 0,
          "unit_price_cents": 15000,
          "total_cents": 15000,
          "sort_order": 0
        }
      ],
      "notes": "Side gate is unlocked.",
      "sent_at": "2026-11-03T01:00:00+00:00",
      "created_at": "2026-11-03T01:00:00+00:00",
      "updated_at": "2026-11-03T01:00:00+00:00"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total": 1
  }
}

Errors: 304, 401, 403, 422, 429, 500, 503. See Errors.

Create a draft estimate on a job

POST /api/v1/estimates

Creates a draft estimate on one of the business's jobs. Nothing is sent to the customer. Totals are worked out from the line items, the tax rule and the callout fee, in integer minor units of the business's currency. Another business's (or an archived) job is not_found.

Scope: write:estimates

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringOptional. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app.

Request body

FieldTypeRequiredDescription
job_idstringyesA job of this business (a ULID).
titlestringyes
datestring (date), nullableThe estimate date (YYYY-MM-DD), not after today in the business's timezone. Defaults to today.
valid_untilstring (date), nullableThe last day the offer stands, inclusive. Not before date. Omit for no expiry.
notesstring, nullable
callout_fee_idstring, nullableOne of the business's active callout fees. Send this or custom_callout_fee_amount_cents, not both.
custom_callout_fee_amount_centsinteger, nullableA callout fee amount instead of a preset one, in integer minor units. Send this or callout_fee_id, not both.
tax_rulestringyesA tax rule key valid for the business's market, for example gst10 (Australia) or notax.
tax_exemptboolean
tax_inclusivebooleanTrue (the default) when the unit prices already include tax; false to add tax on top.
line_itemsarray of objectyesThe total (lines rounded up, the callout fee of either kind, and tax when prices exclude it) must fit in a 32-bit integer of minor units.
{
  "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
  "title": "Hot water system repair",
  "date": "2026-11-03",
  "valid_until": "2026-11-03",
  "notes": "Side gate is unlocked.",
  "callout_fee_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
  "custom_callout_fee_amount_cents": 15000,
  "tax_rule": "gst10",
  "tax_exempt": true,
  "tax_inclusive": true,
  "line_items": [
    {
      "name": "Sam Taylor",
      "description": "Replace the tempering valve.",
      "qty": 0,
      "unit_price_cents": 15000
    }
  ]
}

Response: 201 Created.

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "title": "Hot water system repair",
    "date": "2026-11-03",
    "valid_until": "2026-11-03",
    "status": "draft",
    "currency": "AUD",
    "subtotal_cents": 15000,
    "discount_cents": 15000,
    "callout_fee_amount_cents": 15000,
    "tax_cents": 15000,
    "total_cents": 15000,
    "line_items": [
      {
        "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
        "name": "Sam Taylor",
        "description": "Replace the tempering valve.",
        "qty": 0,
        "unit_price_cents": 15000,
        "total_cents": 15000,
        "sort_order": 0
      }
    ],
    "notes": "Side gate is unlocked.",
    "sent_at": "2026-11-03T01:00:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 401, 403, 404, 409, 422, 429, 500, 503. See Errors.

Get an estimate

GET /api/v1/estimates/{id}

Scope: read:estimates

Parameters

NameInTypeRequiredDescription
idpathstringyesThe record id (a ULID).
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "title": "Hot water system repair",
    "date": "2026-11-03",
    "valid_until": "2026-11-03",
    "status": "draft",
    "currency": "AUD",
    "subtotal_cents": 15000,
    "discount_cents": 15000,
    "callout_fee_amount_cents": 15000,
    "tax_cents": 15000,
    "total_cents": 15000,
    "line_items": [
      {
        "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
        "name": "Sam Taylor",
        "description": "Replace the tempering valve.",
        "qty": 0,
        "unit_price_cents": 15000,
        "total_cents": 15000,
        "sort_order": 0
      }
    ],
    "notes": "Side gate is unlocked.",
    "sent_at": "2026-11-03T01:00:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 304, 401, 403, 404, 429, 500, 503. See Errors.

In this section