Skip to main content
GET
Retrieve all sales invoices, filter by query

Authorizations

X-API-Key
string
header
required
zivio-tenant-id
string
header
required

Query Parameters

status
string

Filter by one or more statuses. Multiple statuses may be provided in a comma separated list [draft, unpaid, paid, level_1_approved, approved, pending, rejected]

created
string

Date range [YYYY-MM-DD+TO+YYYY-MM-DD] to search based on created timestamp for object.

updated
string

Date range [YYYY-MM-DD+TO+YYYY-MM-DD] to search based on updated timestamp for object.

approved
string

Date range [YYYY-MM-DD+TO+YYYY-MM-DD] to search based on updated timestamp for object.

due_on
string

Date range [YYYY-MM-DD+TO+YYYY-MM-DD] to search based on updated timestamp for object.

sort
string

Results are sorted by created desc as default. Ordering may be specified, available options are ['approved', 'created', 'updated'], which can be combined in a comma separated list, e.g. approved:desc,updated:desc,created:asc

limit
integer

Number of results returned per request

page
integer

Paginate results when number of results exceeds limit

Response

ok

invoices
object[]