Export Transactions
export_transactionsExport filtered YNAB transactions to a spreadsheet-safe CSV with date, amount, payee, category, account, memo, cleared, approved, transfer, and ID; narrow date ranges to control output size.
Instructions
Export filtered CSV: date, dollar amount (negative outflow), payee, category, account, memo, cleared, approved, transfer, id. Formula-leading free text gets an apostrophe for spreadsheet safety. Narrow date ranges to limit output; prefer get_transactions for JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Approval/categorization filter. | |
| month | No | Filter by month (YYYY-MM-DD, first of month) | |
| maxRows | No | Row cap (default 500, max 2000); keeps newest rows and reports truncation in second text block. | |
| payeeId | No | Filter by payee ID | |
| budgetId | No | ||
| accountId | No | Filter by account ID | |
| sinceDate | No | From YYYY-MM-DD, inclusive; default one year ago. | |
| untilDate | No | Through YYYY-MM-DD, inclusive | |
| categoryId | No | Filter by category ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |