List invoices
gorelo_list_invoicesList invoices with status, totals and client. API: GET /v1/invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free text matched against invoice number, reference and name. | |
| cursor | No | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. | |
| sort_by | No | ||
| page_size | No | Items per page, 1-200 (default 50). | |
| client_ids | No | Comma-separated client ids, for example "12,15". | |
| sort_order | No | ||
| status_ids | No | Comma-separated invoice status (1 Draft, 2 Submitted, 3 Paid, 4 Void, 5 Approved) ids, for example "12,15". | |
| contract_ids | No | Comma-separated contract ids, for example "12,15". | |
| due_date_before | No | Date (yyyy-mm-dd): invoices due before it (find overdue invoices). | |
| invoice_date_since | No | Date (yyyy-mm-dd): invoices dated at or after it. | |
| invoice_date_before | No | Date (yyyy-mm-dd): invoices dated before it. |