Opening Balances

Import opening balances from a trial balance CSV using the Opening Balance Closure Engine (OBCE). The pipeline parses debit/credit rows, auto-maps accounts using a 5-tier strategy (exact, then code, then dictionary, then fuzzy, then unmapped), validates the balance equation, and creates an immutable migration journal on confirm.

The singleton constraint ensures only one active opening balance journal per organisation. To re-import, void the existing journal first.

All monetary values in API responses are formatted as pounds (e.g. "1500.00"). Internal storage uses pence (integer minor units).

Clearing Mode (v5.6.0): When enabled, Trade Debtors maps to 1198 (MC_AR) and Trade Creditors maps to 2198 (MC_AP), enabling the TMADD 6.0 zero-sum invariant for outstanding document imports.

→ The Opening Balances object

Endpoints