Billing

List invoices

View as Markdown

GEThttps://paysuitett.com/api/v1/invoices

Newest issue dates first. Invoice objects omit lines; money is in the invoice's currency (books holds the TTD amounts), with two decimal precision. paid excludes reversed payments; balanceDue subtracts posted credits and is zero for drafts/voids. URLs point to this installation's APP_URL host.

Access. Master key, or a personal key held by an owner/admin or accountant. The business must have the invoices service. Runs as the holder under their row-level security.

Query parameters

statusstring
Filter status.Allowed:draftpostedvoid
customerIdstring · uuid
Filter customer.
fromstring · date
First issue date, inclusive.
tostring · date
Last issue date, inclusive.
limitinteger
Default 50, maximum 200.

Response

200 with a JSON body, as in the example.