الانتقال إلى المحتوى الرئيسي
GET
Lists the service provider's invoices, filtered and sorted.

التفويضات

X-API-Key
string
header
مطلوب

Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.

معلمات الاستعلام

Cursor
string

Opaque pagination cursor from a previous page; omit for the first page. Only valid against the same filters and sort that produced it.

PageSize
integer<int32>
افتراضي:50

Number of items per page. 1-200 (default 50); out of range is a 400, never clamped.

ClientIds
string

Comma-separated client ids; keeps only invoices billed to any of them.

StatusIds
string

Comma-separated status ids: 1 Draft, 2 Submitted, 3 Paid, 4 Void, 5 Approved. Any other id is a 400. Omitted returns every status; deleted invoices are never listed.

ContractIds
string

Comma-separated contract ids; keeps only invoices raised from any of them.

Number
string

Exact match on the invoice's bare sequential number (the wire's Number, not DisplayNumber). A value that does not parse as a whole number is a 400.

InvoiceDateSince
string<date-time>

Keeps only invoices dated at or after this date.

InvoiceDateBefore
string<date-time>

Keeps only invoices dated strictly before this date.

DueDateSince
string<date-time>

Keeps only invoices due at or after this date.

DueDateBefore
string<date-time>

Keeps only invoices due strictly before this date.

IsEmailSent
boolean

Keeps only invoices that have (true) or have not (false) been emailed to the client.

CreatedSince
string<date-time>

Keeps only invoices created at or after this instant.

CreatedBefore
string<date-time>

Keeps only invoices created at or before this instant.

UpdatedSince
string<date-time>

Keeps only invoices last updated at or after this instant.

UpdatedBefore
string<date-time>

Keeps only invoices last updated at or before this instant.

Query
string

Free-text search against the invoice number, reference and name.

SortBy
string
افتراضي:createdOn

Sort field: createdOn (default), updatedOn, date, dueDate or totalAmount.

SortOrder
string
افتراضي:desc

Sort direction: asc or desc (default).

الاستجابة

OK

StatusCode
enum<integer>
الخيارات المتاحة:
100,
101,
102,
103,
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308,
400,
401,
402,
403,
404,
405,
406,
407,
408,
409,
410,
411,
412,
413,
414,
415,
416,
417,
421,
422,
423,
424,
426,
428,
429,
431,
451,
500,
501,
502,
503,
504,
505,
506,
507,
508,
510,
511
IsSuccess
boolean
Data
object[] | null
DataContext
object

The DataContext of a cursor-paginated success response: carries the paging metadata for the returned page.

Notifications
object[]