Detach cash income from a holding
detach_cash_transactionUndo a cash transaction attribution to correct misattributed income. Returns the bank credit to the unmatched pool so it can be re-attributed to the right holding.
Instructions
Undo an attribution made with attribute_cash_transaction: discard the security transaction it recognised and return the bank credit to the unmatched pool, so it can be re-attributed to the right holding. Use this when income was attributed to the wrong holding or with the wrong details — detach, then attribute_cash_transaction again. Only works on rows YOU attributed (match_status "matched" with a settles_transaction_id); it will not touch auto-matched feed rows, whose transaction pre-existed, and returns an error if the row was never attributed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_id | Yes | Fund ID (discover via whoami or list_funds) | |
| bank_account_id | Yes | Bank account the cash row is on (find via list_bank_accounts) | |
| cash_transaction_id | Yes | The attributed cash row to detach (match_status "matched", has a settles_transaction_id) |