update_transaction
Update an existing transaction by ID. All fields except id are optional — only provide what you want to change. Pass tagIds: null to clear all tags, or tagIds: [] to do the same. Pass splits: null to clear all splits. Pass payeeId: null to clear the payee. Use originalAmount + originalCurrencyCode to record what the purchase cost in its invoice currency when that differs from the account currency. Use paymentLegs to change which accounts a multi-account payment is paid from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the transaction to update | |
| note | No | New note. Pass null to clear | |
| time | No | New date/time as ISO 8601 string | |
| amount | No | New amount as an unsigned decimal (e.g. 12.50). Never negative: transactionType sets the direction | |
| splits | No | Replace splits. Pass null or empty array to clear all splits | |
| tagIds | No | Replace tags. Pass null or empty array to clear all tags | |
| payeeId | No | Payee ID to assign. Pass null to clear | |
| accountId | No | Move transaction to a different account | |
| categoryId | No | New category ID | |
| paymentLegs | No | Replace the payment's other accounts (same item shape as create_transaction). Keep a current part by passing its transactionId (see paymentParts in search_transactions), optionally with a new amount unless it is a linked part; an omitted created part is deleted, an omitted linked part becomes a standalone transaction again. Pass null or [] to make it a single-account transaction. Omit to leave the parts unchanged | |
| paymentType | No | Payment method used | |
| originalAmount | No | Amount in the currency the purchase was originally priced in (decimal), e.g. 66.42 for a PLN invoice paid from a UAH account. Informational only: never affects balances. Requires originalCurrencyCode. Pass null on both to clear | |
| transferNature | No | Transfer type | |
| transactionType | No | Change whether this is income or expense | |
| destinationAmount | No | For transfers: new amount received in destination account (decimal, greater than 0) | |
| destinationAccountId | No | For transfers: new destination account ID | |
| originalCurrencyCode | No | ISO 4217 code of originalAmount (e.g. "PLN"). Requires originalAmount. Cannot be combined with transfer fields | |
| destinationTransactionId | No | For transfers: link to an existing destination transaction |