Money invoiced and received in a period
curl --request GET \ --url 'https://example.com/api/v1/invoices/summary?status=DRAFT' \ --header 'Authorization: Bearer <token>'How much was invoiced and how much was received between from and to, optionally narrowed by a search (q), a status or one company (clientId). invoiced sums the issued invoices (SENT, VIEWED, PAID or OVERDUE; never DRAFT or CANCELLED) whose issue date falls in the period. received sums the money received in the period, by payment date, whatever the invoice’s issue date, so the two do not reconcile with each other. q, status and clientId narrow both figures to the invoices they match, as they narrow the invoice list; without them received counts every invoice. With neither from nor to the period is the current month in the workspace timezone. Amounts are per currency, workspace currency first, never summed across currencies, and cover only the companies the caller’s invoice scope reaches. GET /invoices with the same q, status, clientId, from and to lists the invoices behind invoiced. Requires the invoices.view permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Free-text search, ignoring case, over the invoice number or external number, subject and bill-to name, the company’s name, legal name or order prefix, and the first and last name of the company’s users (every word must appear in one of them, in any order). A person’s name returns every invoice of each company they are a user of, plus any invoice addressed to them.
Free-text search, ignoring case, over the invoice number or external number, subject and bill-to name, the company’s name, legal name or order prefix, and the first and last name of the company’s users (every word must appear in one of them, in any order). A person’s name returns every invoice of each company they are a user of, plus any invoice addressed to them.
Filter by invoice status. UNPAID and ISSUED are filters, not statuses. UNPAID keeps SENT, VIEWED and OVERDUE, including invoices paid in part, and leaves out DRAFT, PAID and CANCELLED: the invoices the Outstanding figure counts, overdue ones included. ISSUED keeps SENT, VIEWED, PAID and OVERDUE, the invoices the Invoiced figure counts.
Filter by invoice status. UNPAID and ISSUED are filters, not statuses. UNPAID keeps SENT, VIEWED and OVERDUE, including invoices paid in part, and leaves out DRAFT, PAID and CANCELLED: the invoices the Outstanding figure counts, overdue ones included. ISSUED keeps SENT, VIEWED, PAID and OVERDUE, the invoices the Invoiced figure counts.
Inclusive start of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.
Inclusive start of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.
Inclusive end of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.
Inclusive end of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.
Responses
Section titled “Responses”The period covered, and the money invoiced and received in it per currency.
object
The money invoiced and the money received in a period, per currency.
object
object
ISO 4217 code.
object
ISO 4217 code.
Example generated
{ "data": { "invoiced": [ { "amount": 1, "currency": "example" } ], "period": { "from": "2026-04-15", "to": "2026-04-15" }, "received": [ { "amount": 1, "currency": "example" } ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC