list_invoices
List sales invoices with filters for date range, status, payment, client, and search terms. Get a summary of matching invoices to easily locate specific ones.
Instructions
List sales invoices with summary fields; use get_invoice for full details.
Filters:
period_from / period_to: issue-date range, YYYY-MM-DD; only applied when BOTH are given.
status: one of draft, pending, issued, partial, unpaid, overdue, paid, void.
paid: True = fully paid invoices only, False = not fully paid.
overdue: True = overdue invoices only.
draft: True = drafts only, False = finalized only.
client: Elorus contact ID of the client (find it with list_contacts).
search: free-text search term (number, client name, etc.).
ordering: comma-separated sort fields, prefix with '-' for descending, e.g. '-date' or 'client__display_name'. Returns {count, page, results}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| paid | No | ||
| draft | No | ||
| client | No | ||
| search | No | ||
| status | No | ||
| overdue | No | ||
| ordering | No | ||
| page_size | No | ||
| period_to | No | ||
| period_from | No |