Move a bank statement to another account
move_document_to_accountMove a bank statement uploaded to the wrong bank account to the correct account in the same fund, preserving reconciled rows and listing hand-keyed rows left on the old account for review.
Instructions
Move a bank statement that was uploaded to the wrong bank account — its lines, the cash rows it posted and its closing-balance snapshot — to the right account of the same fund. Rows keep their reconciled tick. Hand-keyed rows the statement had adopted on the old account stay there, unlinked, and are listed in left_on_old_account for review. A statement whose printed account number doesn't match its account is not posted by reconcile_document (account_check "failed", with suggested_bank_account_ids); move it with this tool, then call reconcile_document.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fund_id": "<fund_id>",
"document_id": "<document_id>",
"bank_account_id": "<bank_account_id>"
},
"name": "move_document_to_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_id | Yes | Fund ID (discover via whoami or list_funds) | |
| reasoning | No | Why you are making this change — recorded on the audit log entry for this write | |
| document_id | Yes | Bank statement document ID (from list_documents) | |
| external_ref | No | Your stable ID for this write (e.g. a statement line or document reference). Repeating a call with the same external_ref replays the first result instead of writing twice. | |
| bank_account_id | Yes | The account the statement belongs to |