totals_to_figures
Turn categorised bank-statement totals into balance sheet figures, applying the rules that stop an import lying: only income categories reach turnover, only expense categories reach operating costs, and the owner topping up the account is never sales. Totals are signed major units per category code; get codes from categorise_transactions.
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": {
"totals": "<totals>"
},
"name": "totals_to_figures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totals | Yes | Signed totals per category code, major units, e.g. {"sales": 60000, "software": -1200}. |