list_expenses
Retrieve summary data for purchase documents. Filter by date range, supplier, or search text, with pagination for efficient browsing.
Instructions
List expenses (purchase documents) with summary fields.
Filters:
period_from / period_to: date range, YYYY-MM-DD; only applied when BOTH are given.
supplier: Elorus contact ID of the supplier (find it with list_contacts).
search: free-text search term. Returns {count, page, results}; use get_expense for the full record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| supplier | No | ||
| page_size | No | ||
| period_to | No | ||
| period_from | No |