Remove Transaction
remove_transactionArchive a transaction to hide it or permanently delete to reverse its balance effect. For transfers, confirming deletion removes both legs to keep books balanced.
Instructions
Remove a transaction by archiving (hides from views and reports, recoverable) or permanently deleting (reverses the balance effect). On first call, returns a conflict with confirm / archive / cancel. If the transaction is one leg of a transfer, confirming the deletion removes both legs together to keep the books balanced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Deprecated: use `resolution`. 'archive' / 'delete' / 'cancel'. | |
| force_mode | No | Deprecated: confirming a transfer-leg deletion now deletes both legs automatically. 'delete_both' is still accepted. | |
| resolution | No | Resolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts. | |
| transaction_id | Yes | UUID of the transaction to remove. |