List expenses
in_list_expensesRetrieve and filter expenses by free-text search, status, and pagination to review active, archived, or deleted records with document counts.
Instructions
List expenses. filter is a free-text search across number, amount, notes and vendor/category/client names: compare number exactly yourself. Each row carries state (active/archived/deleted) and documents_count; status=all mixes the three states.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "in_list_expenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| sort | No | Sort directive, e.g. 'date|desc'. | |
| filter | No | Free-text search across the entity's searchable columns. | |
| status | No | Record state (default 'active'). 'all' also returns archived and deleted records. | |
| per_page | No | Rows per page (capped server-side, default 20). |