Update transactions
update_transactionsModify existing YNAB transactions in one request: approve, categorize, fix payees, set memos, add flags, or mark cleared while leaving unchanged fields intact.
Instructions
Change one or more existing transactions in one request.
Each change names a transaction and only the fields to change; every other field stays as it is. This is the tool for reviewing transactions: approve them, categorize them, fix payees, set memos, flag them, or mark them cleared.
Example changes:
Approve and categorize: {id: , approved: true, category_id: }
Fix the payee: {id: , payee_name: "Costco"}
Clear the memo and the flag: {id: , memo: "", clear_flag: true}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | The changes, one per transaction (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |