List expenses
crunch_list_expensesList expenses newest first and filter by supplier, type, date, payment method, or receipt status; view amounts, balances, and payment details, with paging or all results.
Instructions
List expenses (purchases, receipts and bills), newest first, filtered by supplier, expense type, date, payment date, payment method or whether a receipt is attached. Each result shows supplier, amounts, status, outstanding balance and payment method. Paged (up to 200 per page); use all=true to fetch every page.
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": "crunch_list_expenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Fetch every page (up to max_items) instead of a single page | |
| raw | No | Return the full objects from the API instead of compact summaries (larger) | |
| page | No | Page to fetch, starting at 0 (default 0) | |
| size | No | Results per page, up to 200 (default 50) | |
| sort | No | Sort order as field,asc or field,desc, for example postingDate,desc | |
| limit | No | Maximum number of items | |
| fields | No | Keep only these fields (dot paths, such as supplier.companyName) | |
| search | No | Case-insensitive substring match on any value | |
| end_date | No | Expenses dated on or before (YYYY-MM-DD) | |
| max_items | No | With all=true, stop after this many results (default 1000, at most 10000) | |
| start_date | No | Expenses dated on or after (YYYY-MM-DD) | |
| supplier_id | No | Only this supplier's expenses | |
| expense_type | No | Only this expense type, for example TRAVEL_AND_SUBSISTENCE | |
| has_attachment | No | Only expenses with (true) or without (false) a receipt attached | |
| payment_method | No | Only expenses paid this way, for example EFT | |
| payment_end_date | No | Paid on or before (YYYY-MM-DD) | |
| payment_start_date | No | Paid on or after (YYYY-MM-DD) |