The Opening Balances object
An opening balance import represents a trial balance CSV processed through the OBCE engine. Each import tracks parsed rows, account mappings, balance proof results, and the final committed journal.
Attributes
id stringPrefixed identifier. Always starts with
dimp_.filename stringOriginal filename of the uploaded CSV.
totalRows stringTotal data rows parsed from the CSV.
status stringImport lifecycle:
pending, completed, or voided.engineVersion stringOBCE engine version used for this import.
createdAt stringISO 8601 timestamp when the import was uploaded.
completedAt stringISO 8601 timestamp when the import was confirmed, or
null if pending.cutoverDate stringThe date for the opening balance journal (defaults to last day of previous month).
openingBalanceMode stringEither
direct (standard) or clearing (enables outstanding doc imports).canConfirm stringWhether the import passes all gates: balance proof, mapping completeness, singleton check.
mappings stringArray of account mapping objects with 5-tier resolution results.
lines stringArray of preview journal lines (one per mapped account).
balanceProof stringBalance equation validation: total debits must equal total credits.
unmapped stringArray of source labels that could not be auto-mapped to chart of accounts.
errors stringArray of error strings preventing confirmation.