Skip to content

invoiceLines

Finance module · 5 operations

List invoice line rows

GET/invoice-lines

A line of an invoice. Returns a cursor page of invoice line rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create an invoice line

POST/invoice-lines

A line of an invoice. Creates an invoice line. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get an invoice line

GET/invoice-lines/{id}

A line of an invoice. Returns one invoice line with its `ETag`. A invoice line the caller may not see returns 404.

Update an invoice line

PATCH/invoice-lines/{id}

A line of an invoice. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete an invoice line

DELETE/invoice-lines/{id}

A line of an invoice. Soft-deletes the invoice line: it moves to Trash and can be restored for its table's retention period.