Search transactions
search_transactionsSearch bank transactions with filters for date, merchant, amount, type, and category. Paginate results to review detailed transaction history and effective category labels.
Instructions
Search the user's bank transactions with filters and pagination. Amounts are unsigned minor units; type gives direction (DEBIT = money out). Each item carries its effective category (user-confirmed, else auto-suggested) with a resolved label. For totals over many transactions prefer aggregate_transactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of period, exclusive. RFC3339 or "YYYY-MM-DD". | |
| from | No | Start of period, inclusive. RFC3339 or "YYYY-MM-DD". | |
| page | No | 1-indexed page, default 1. | |
| size | No | Page size, default 25, max 200. | |
| type | No | DEBIT = money out, CREDIT = money in. | |
| codes | No | Transaction codes, e.g. DIRECT_DEBIT, TRANSFER, PURCHASE. | |
| query | No | Free-text search across merchant name and description. | |
| sortBy | No | Default: date. | |
| merchantId | No | ||
| monthStart | No | A single calendar month "YYYY-MM"; alternative to from/to. | |
| categoryIds | No | Only items the user has categorised with these category ids. | |
| hasCategory | No | true = only user-categorised items; false = only items without one. | |
| merchantName | No | Exact merchant name (case-insensitive). | |
| sortDirection | No | Default: desc. | |
| maxAmountMinor | No | ||
| minAmountMinor | No | Minimum amount in minor units (inclusive). Amounts are unsigned. | |
| linkedToHoldingId | No | Only items linked to this holding. | |
| effectiveCategoryIds | No | Only items whose effective category (user-set, else auto-suggested) is one of these ids. |