update_transaction
Modify existing ZenMoney transactions: change category, amount, date, payee, comment, or account. Pass one or more IDs to apply the same edit to multiple entries.
Instructions
Change an existing transaction: its category, amount, date, payee, comment or account. Only the fields you pass are touched. Pass a single id or a list of ids to apply the same change to several transactions at once (handy for recategorizing). Ids come from list_transactions. Sync must be done first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Transaction UUID, or a list of UUIDs to update together | |
| date | No | New transaction date in YYYY-MM-DD format | |
| payee | No | New payee. Pass an empty string to clear it. The linked merchant is re-matched to the new payee. | |
| amount | No | New amount for an expense or income. For transfers use outcome_amount/income_amount instead. | |
| account | No | Move the transaction to another account (name or UUID). Not valid for transfers — use from_account/to_account there. | |
| comment | No | New comment. Pass an empty string to clear it. | |
| category | No | New category name or UUID (or several). Pass an empty string or an empty array to remove the category. | |
| to_account | No | New destination account of a transfer (name or UUID) | |
| from_account | No | New source account of a transfer (name or UUID) | |
| income_amount | No | New amount credited to the destination account | |
| outcome_amount | No | New amount debited from the source account |