ynab_create_transactions
Add multiple transactions at once to your YNAB budget with duplicate detection and dry-run validation.
Instructions
Create 1–100 transactions in a single batch with duplicate detection and dry-run support.
Args:
budget_id (string, optional): Budget UUID. Omit to use the default budget.
transactions (array, required): Up to 100 transaction objects. Each requires account_id, date, and exactly one of amount_decimal (preferred), amount_milliunits, or deprecated amount.
dry_run (boolean, optional): Validate without saving. Default: false.
Returns: summary (created, duplicates, failed), results[], transactions[].
Examples:
Dry run first: set dry_run=true to validate before committing
If you explicitly want YNAB-side duplicate import detection, set import_id on each transaction
Write safety: call without confirmation_token to preview. Execute the identical validated request with the short-lived confirmation_token returned by that preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| budget_id | No | ||
| transactions | Yes | ||
| confirmation_token | No | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||