Undo an explanation
bank_transactions_uncodeUndo one explanation of a company's bank line, by its id as bank_transactions_list answers it. On FreeAgent the line reads unexplained again by its value, an invoice or bill it settled reads owed again by it, what payments_record made goes with its line, a transfer with the other account's side, and its attachments with it; undone, it is written with no record, the explanation being gone. On Xero the spend or receive money entry is deleted by its Status DELETED while it is not yet reconciled, and answered as it reads deleted; a reconciled one is refused with nothing sent, the answer naming Xero's Reconcile screen under note, where the person unreconciles it first. On Zoho Books a line from the bank is taken back to uncategorised, named by its id as bank_transactions_list answers it, or its imported_transaction_id, and its bankAccount: a categorised one is uncategorised, Zoho deleting what categorising made; a matched one is unmatched, what it was matched to staying in the books - a payment Zoho recorded against an invoice or bill stays, the invoice or bill reading settled until that payment is deleted in Zoho itself; an excluded one is restored. The line is read again and answered whole as bank_transaction; one not coded, or recorded in Zoho itself, is refused with nothing sent. On QuickBooks the expense, deposit or transfer is deleted, named by its id and its type, sent against it as just read, and answered with its id and status Deleted; one QuickBooks marks reconciled, or whose ledger cannot be read, is refused with nothing sent, a reconciled one's answer naming QuickBooks' Reconcile under note, where the person undoes its reconciliation first. One whose answer never came is written where it reads gone or deleted, and not_written where it does not. On Zoho Books one is written where the line reads uncategorised. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. Each call is one write, sent to the company's program once - to FreeAgent, or to Xero under a request key of its own, so Xero never takes it twice. A Zoho Books organisation's write goes to Zoho Books, which takes no request key. One given in another program's names, or naming an id of another program's form, is not_written with reason refused, nothing sent; one Xero keeps from the person's Xero role, with reason xero_role. A company set to read only refuses it before its program is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where its program refused it, what it said; or unknown where its answer never came and reading the books back could not tell, found naming every identical new record where two were made and none where that read itself failed. A write whose answer never came is settled by reading the books back, never sent again. Where the screening holds back its program's words in the answer, the outcome and each record's id stand, marked withheld with why. A QuickBooks company's write goes to QuickBooks under a request key of its own, so QuickBooks never takes it twice.
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": {
"company": "<company>",
"explanation": "<explanation>"
},
"name": "bank_transactions_uncode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | On QuickBooks alone, the entry's kind: for a line whose type is Expense, Check, Cheque, Credit Card Expense or Credit Card Credit the name QuickBooks gives spending, else Deposit or Transfer. | |
| company | Yes | The id companies_list gives the company. | |
| bankAccount | No | On Zoho Books alone, the bank account the line is on, as bank_transactions_list names it. | |
| explanation | Yes | The explanation's id, as bank_transactions_list answers it - on Xero and QuickBooks, the entry's. On Zoho Books, the line's. |