Get Transactions
ynab_get_transactionsFetch transactions from a YNAB budget. Apply filters by date, account, category, payee, or approval status. Limit results and choose type: all, uncategorized, or unapproved.
Instructions
Gets transactions from a budget with optional filters. Can filter by date range, account, category, payee, or approval status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budgetId | No | The ID of the budget (optional, defaults to YNAB_BUDGET_ID environment variable) | |
| sinceDate | No | Only return transactions on or after this date (ISO format: 2024-01-01) | |
| type | No | Filter by transaction type. Defaults to 'all'. | |
| accountId | No | Filter to only transactions in this account | |
| categoryId | No | Filter to only transactions in this category | |
| payeeId | No | Filter to only transactions with this payee | |
| limit | No | Maximum number of transactions to return (default: 100) |