API documentation

Invoices

Invoices and the payments made on them.

Endpoints

CallWhat it doesKey
GET /invoicesList invoicesAny key
GET /invoices/{id}Get one invoiceAny key
GET /paymentsList paymentsAny key
GET /payments/{id}Get one paymentAny key

Invoices

An invoice asks a customer to pay for work. Amounts are dollar strings, such as "186.00".

List parameters for invoices

ParameterValueWhat it does
limit1 to 100How many invoices to return. Default 100.
starting_afteridThe id of the last record you received; the next page starts after it.
updated_sinceISO 8601 timeOnly records changed at or after this time.
created_sinceISO 8601 timeOnly records created at or after this time.
statusdraft, open, sent, viewed, partially_paid, paid, overdue, void, archived, written_offOnly records with this status.
include_archivedtrue or falseInclude archived records. Default false.
customer_ididOnly records for this customer.
job_ididOnly records for this job.

The invoice object

FieldTypeWhat it is
idid (UUID)The invoice's id.
objectstringAlways "invoice".
created_attime (ISO 8601, UTC)When it was created.
updated_attime (ISO 8601, UTC)When it last changed. Use with updated_since to fetch changes.
customercustomer object (id, name), or nullWho pays it (the billing customer).
service_customer_idid (UUID), or nullWho the work was for, when someone else pays.
propertyproperty object (id, address_line_1, city, state, postal_code), or nullWhere the work was.
job_idid (UUID), or nullThe job it bills, if any.
quote_idid (UUID), or nullThe quote it came from, if any.
statusstring (one of the values below), or nullWhere the invoice stands. One of: draft, open, sent, viewed, partially_paid, paid, overdue, void, archived, written_off.
numberstring, or nullThe invoice number.
titlestring, or nullThe invoice's title.
issue_datedate (YYYY-MM-DD), or nullThe date on the invoice.
due_datedate (YYYY-MM-DD), or nullWhen payment is due.
subtotaldollar amount as a string, or nullBefore discounts and tax.
discount_totaldollar amount as a string, or nullAll discounts together.
tax_totaldollar amount as a string, or nullAll tax together.
totaldollar amount as a string, or nullWhat the customer owes in total.
amount_paiddollar amount as a string, or nullPaid so far.
balance_duedollar amount as a string, or nullStill owed.
currencystringThe business's currency, "usd" or "cad". Every amount on this object is in it.
sent_attime (ISO 8601, UTC), or nullWhen it was first sent.
paid_attime (ISO 8601, UTC), or nullWhen it was paid in full.
voided_attime (ISO 8601, UTC), or nullWhen it was voided.
archived_attime (ISO 8601, UTC), or nullWhen it was archived.
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "object": "invoice",
      "created_at": "2026-11-03T14:20:00.000Z",
      "updated_at": "2026-11-03T14:20:00.000Z",
      "customer": {
        "id": "00000000-0000-4000-8000-000000000002",
        "name": "Jordan Example"
      },
      "service_customer_id": "00000000-0000-4000-8000-000000000002",
      "property": {
        "id": "00000000-0000-4000-8000-000000000003",
        "address_line_1": "12 Example Street",
        "city": "Springfield",
        "state": "IL",
        "postal_code": "62701"
      },
      "job_id": "00000000-0000-4000-8000-000000000002",
      "quote_id": "00000000-0000-4000-8000-000000000002",
      "status": "draft",
      "number": "Example",
      "title": "Example",
      "issue_date": "2026-11-03",
      "due_date": "2026-11-03",
      "subtotal": "186.00",
      "discount_total": "186.00",
      "tax_total": "186.00",
      "total": "186.00",
      "amount_paid": "186.00",
      "balance_due": "186.00",
      "currency": "usd",
      "sent_at": "2026-11-03T14:20:00.000Z",
      "paid_at": "2026-11-03T14:20:00.000Z",
      "voided_at": null,
      "archived_at": null
    }
  ],
  "has_more": false
}

Payments

A payment is money received on an invoice: online, by card in the field, or recorded by hand.

List parameters for payments

ParameterValueWhat it does
limit1 to 100How many payments to return. Default 100.
starting_afteridThe id of the last record you received; the next page starts after it.
updated_sinceISO 8601 timeOnly records changed at or after this time.
created_sinceISO 8601 timeOnly records created at or after this time.
statuspending, succeeded, failed, voided, refunded, partially_refunded, disputedOnly records with this status.
customer_ididOnly records for this customer.
invoice_ididOnly records for this invoice.

The payment object

FieldTypeWhat it is
idid (UUID)The payment's id.
objectstringAlways "payment".
created_attime (ISO 8601, UTC)When it was created.
updated_attime (ISO 8601, UTC)When it last changed. Use with updated_since to fetch changes.
invoice_idid (UUID), or nullThe invoice it pays.
customer_idid (UUID), or nullWho paid.
statusstring (one of the values below), or nullWhere the payment stands. One of: pending, succeeded, failed, voided, refunded, partially_refunded, disputed.
methodstring, or nullHow it was paid, such as card, ach, cash or check.
amountdollar amount as a string, or nullThe amount paid, without the tip.
tipdollar amount as a string, or nullThe tip, if any.
refundeddollar amount as a string, or nullRefunded so far.
currencystringThe business's currency, "usd" or "cad". Every amount on this object is in it.
received_attime (ISO 8601, UTC), or nullWhen it was received.
voided_attime (ISO 8601, UTC), or nullWhen it was voided.
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "object": "payment",
      "created_at": "2026-11-03T14:20:00.000Z",
      "updated_at": "2026-11-03T14:20:00.000Z",
      "invoice_id": "00000000-0000-4000-8000-000000000002",
      "customer_id": "00000000-0000-4000-8000-000000000002",
      "status": "pending",
      "method": "Example",
      "amount": "186.00",
      "tip": "186.00",
      "refunded": "186.00",
      "currency": "usd",
      "received_at": "2026-11-03T14:20:00.000Z",
      "voided_at": null
    }
  ],
  "has_more": false
}