[ Concepts ]
Listing & filtering expenses
Filter the ledger by date, category, merchant, source, and status.
GET /api/v1/expenses and list_expenses support date range, category, merchant, source, and status filters.
Results are paginated. Read next_cursor from the response and send it back as cursor; do not hardcode an offset.
Before logging a new expense, agents should check nearby dates for the same merchant to avoid double-logging something mentioned twice.