ynab_update_transactions
Batch update 1-100 YNAB transactions with dry-run preview and token-based confirmation for safe writes.
Instructions
Update 1–100 transactions in a single batch with dry-run preview.
Args:
budget_id (string, optional): Budget UUID. Omit to use the default budget.
transactions (array, required): Up to 100 objects, each requires id plus fields to update. Amount updates use one of amount_decimal (preferred), amount_milliunits, or deprecated amount.
dry_run (boolean, optional): Preview changes without saving. Default: false.
Returns: summary (updated, failed), results[], transactions[].
Examples:
Dry run: set dry_run=true to preview before/after for first 10 items
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 | |||