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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totals | Yes | Signed totals per category code, major units, e.g. {"sales": 60000, "software": -1200}. |