Skip to main content

Features

What ships, verified against code on 2026-11-05 (konsolidat 54d072a, konsol 3e220ba8). Counts are measured in the repository named next to them.

Excel-native reporting​

The konsol Excel add-in registers eight worksheet functions in the K. namespace (konsol/public/excel-addin/functions.json). They work in Excel for Microsoft 365 on the desktop and on the web.

=K.EPM("USMF", 2024, "Q1", "401100") → actuals, net amount
=K.EPM_BUDGET("USMF", 2025, "FY", "6100") → budget, full year
=K.EPM_VARIANCE("USMF", 2025, 5, "6100") → actual minus budget
=K.EPM_DEBIT("USMF", 2024, 5, "1300") → period debits
=K.EPM_CREDIT("USMF", 2024, 5, "1300") → period credits
=K.CF("GROUP_CORP", 2024, 6, "Change in Inventory") → consolidated cash flow line
=K.EPMSAVE(125000, "USMF", 2025, 5, "6100", "BUDGET_2025", "base") → write a budget cell
=K.PING() → add-in is loaded
  • Periods resolve against the year's declared calendar: a month number, P07, Q1–Q4, H1/H2, FY, and OPN/CLS for periods 0 and 13.
  • Dimension filters: one optional dimensions argument for any of the site's declared dimensions, e.g. "dim_region=EU;dim_product=X", or a 2-column range of name/value rows.
  • Hierarchy reads: hierarchy and node arguments read a Reporting Hierarchy node as it stood at that period.
  • No silent zero: an actuals read of a period with no trial balance shows #N/A, not 0; a refused K.EPMSAVE write shows #N/A, not the amount.
  • Batching: the add-in groups cells into epm_batch requests of at most 2,000 items; the server issues one ClickHouse query per group.
  • Sign-in once in the task pane; the functions send a bearer token (X-Konsolidat-Token, valid 8 hours).

See Excel Custom Functions for every argument and error.

Period close​

A close app at /close with eleven screens (close-ui/src/nav.js): My work, Approvals, Period, Trial balances, Intercompany, Rates & ownership, Adjustments, Checks, Numbers, Sign-off, Audit trail. The same work is reachable in the Frappe Desk as reports (Period Close, Close Assertions, Consolidated Statement, Statement Drill, My Work).

  • Trial balances are uploaded per entity and period (Check file, Load, Resume), declare their currency and amount basis, and are refused when they do not balance in the currency's minor unit.
  • Rates, ownership changes, journals and deals are approved from the record's Actions menu; approvals after sign-off void the signature.
  • Checks run the dbt assertion suite as an Assertion Run; Green, Amber (a warn that must be acknowledged) or Red.
  • Numbers shows a consolidated P&L and balance sheet with drill-down to entity, elimination, CTA, top-side and deal rows, with commentary per heading and an Excel export.
  • Deadlines and holidays are declared in Close Settings; a reminder goes to the users who hold a User Permission on the entity.

See the Period Close Guide and the Period close API (57 methods in 21 modules under konsol/close/).

Multi-entity consolidation​

Entirely in dbt SQL (dbt_project/models/gold/):

StepWhat happens
Currency translationOnly governed Group Exchange Rates are used; a missing rate stops the build. Each account's fx_method on the group chart decides closing, average or historical rate.
Balance-sheet retranslationClosing-rate balances are restated at each period's closing rate; equity is never revalued; the year-end close carries no CTA (konsolidat#257, #259).
CTAgold_fx_revaluation books the whole-entity residual that makes the translated balance sheet balance.
NCIgold_entity_ownership multiplies the ownership chain from dated Ownership Periods; NCI schedules per subsidiary.
IntercompanyPairs matched by partner entity on flagged Intercompany Accounts; differences labelled and judged against the group tolerance; unmatched rows listed.
JournalsConsolidation Journals (Draft → Pending Approval → Approved → Reversed) with auto-reversal in a named period.
DealsBusiness Combination and Business Disposal documents post goodwill, fair-value, amortisation, disposal gain/loss and CTA recycling journals.
Consolidated TBgold_fully_consolidated_tb unions six layers: entity, IC eliminations (group and NCI legs), CTA, top-side, equity method, deals.

See the Consolidation Guide.

Budgeting and variance analysis​

  • Budget Cycle (scenario × year) locks a budget; Budget Sheet (cycle × entity × layer) holds Budget Lines. Lock writes the rows to ClickHouse; cancel removes them.
  • Four layers: base, challenge, management, board; K.EPM_BUDGET reads one layer or their sum.
  • Spread profiles turn a Budget Annual Input into twelve months; monthly input at the same grain wins.
  • Variance is computed per declared budget-type scenario: variance_abs, variance_pct = (actual − budget) / |budget| × 100, and variance_favorable from the chart's account type.
  • Concurrency: a stale base_modified on a cell save returns HTTP 409; a locked cycle returns 423.

See Budget Layers, the Budgeting Guide and the Variance Analysis Guide.

Cash flow statement​

gold_cash_flow_indirect derives an entity cash-flow statement from balance-sheet movements using the Cash Flow Category doctype; gold_consolidated_cash_flow and gold_cashflow_fact give the group view that K.CF reads. Tests: assert_cf_categories_equal_net_change, assert_cf_net_income_equals_group_pnl, assert_consolidated_cf_reconciles.

Governed reference data​

Every reference table is a konsol doctype written through to epm_staging and read by dbt as a source; there are no dbt seeds (konsolidat 85dff3b). Entities, EPM Fiscal Years with generated periods, the group chart of accounts (Main Account, uploaded and published), Group Exchange Rates, Historical Equity Rates, Consolidation Groups, Ownership Periods, Intercompany Accounts, Dimensions, Measures, Datasets, Scenarios, Spread Profiles, Reporting Hierarchies. See Reference Data.

Data pipeline​

LayerDatabaseModelsPurpose
Rawepm_raw—Trial-balance submissions and Airbyte landings
Stagingepm_staging30 views7 canonical models and the D365 F&O (16) and ERPNext (7) adapters; also konsol's write-through tables
Bronzeepm_bronze16 tablesTyped, snake_case
Silverepm_silver10 tablesGL entries, trial-balance movements, accounts, periods, currencies
Goldepm_gold45 tablesConsolidation, close, budgets, variance, cash flow, hierarchies

101 dbt models, 144 singular tests (139 in tests/, 5 in tests/staging/) and 129 schema tests, 16 macro files, counted in dbt_project/ on 2026-11-08. The ERP adapters are being retired (konsolidat#221); the trial-balance upload is the canonical intake (konsol#218). See the Data Dictionary.

REST API​

129 whitelisted methods on 2026-11-08 (an AST walk of konsol/konsol/**/*.py, tests excluded; the API overview inventory lists every one). Groups:

GroupExamples
Valuesepm_value, epm_batch, get_hierarchy_tree, get_reporting_hierarchy_tree, fx_rates
Budgetsbudget_save, budget_cell_save, budget_save_batch
Period close57 methods under konsol.close.* (period, trial balances, checks, sign-off, journals, rates, statements, approvals, audit trail, home cards and charts)
Configurationcli_api.* (export, diff, apply), schema_apply, chart upload, TB bulk upload
Pipelineorchestrator.api.* (start, retry, resume, cancel), trigger_pipeline, connector_health, airbyte_sync_complete
Add-inexcel_addin_auth, excel_addin_whoami, excel_addin_logout, build_cell_map, build_snapshot
Healthhealth (guest)

Session cookie or the add-in's bearer token; writes are POST. See the API Reference.

Excel task pane​

The Konsolidat task pane (konsol/public/excel-addin/index.html) has four panels: Sign in, Reports (apply the pnl_monthly template or snapshot trial_balance_long), Instructions & testing, and Messages. It does not run pipelines. The add-in's Home ribbon group adds Refresh sheet and Refresh workbook, which recalculate the K. formulas, take saved snapshots again and stamp each sheet with the time. See the Excel Task Pane Guide.

Configuration as code​

Dimensions, Measures and Datasets are konsol doctypes. Publishing one regenerates the konsol-managed block of dbt_project.yml and applies ClickHouse ALTER TABLE ADD COLUMN. konsol-cli exports, diffs and applies the whole semantic model as YAML (konsol config export | diff | apply) and ships an MCP server. See Adding Dimensions.

Operations​

Pipeline definitions, schedules and runs (Pipeline, Pipeline Schedule, Pipeline Run), governed builds through Build Approval, per-connector health refreshed every five minutes, and a sync watermark that fails the build when a reference table is EMPTIED or LAGGING. See Monitoring.

Component stack​

ComponentVersion in the stackPurposeDefault port
ClickHouse24.8Warehouse8123 HTTP, 9000 native (loopback by default)
dbt Coredbt-core 1.12.3, dbt-clickhouse 1.9.3 (CI pin)101 dbt models, 144 singular testsin the Frappe image
Frappe (konsol)Frappe v16, Python 3.14, Node 24API, doctypes, close app, add-in8069
MariaDB / Redis10.11 / 7Frappe metadata, cache and queueinternal
Caddy2TLS and reverse proxy80, 443
AirbyteabctlOptional ERP extraction8000
Excel add-inmanifest 2.0.2.0K.* functions and task pane—

Twelve Compose services in docker-compose.yml; six ClickHouse databases in clickhouse/init-db.sql.