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, andOPN/CLSfor periods 0 and 13. - Dimension filters: one optional
dimensionsargument 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:
hierarchyandnodearguments 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 refusedK.EPMSAVEwrite shows#N/A, not the amount. - Batching: the add-in groups cells into
epm_batchrequests 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
warnthat 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/):
| Step | What happens |
|---|---|
| Currency translation | Only 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 retranslation | Closing-rate balances are restated at each period's closing rate; equity is never revalued; the year-end close carries no CTA (konsolidat#257, #259). |
| CTA | gold_fx_revaluation books the whole-entity residual that makes the translated balance sheet balance. |
| NCI | gold_entity_ownership multiplies the ownership chain from dated Ownership Periods; NCI schedules per subsidiary. |
| Intercompany | Pairs matched by partner entity on flagged Intercompany Accounts; differences labelled and judged against the group tolerance; unmatched rows listed. |
| Journals | Consolidation Journals (Draft → Pending Approval → Approved → Reversed) with auto-reversal in a named period. |
| Deals | Business Combination and Business Disposal documents post goodwill, fair-value, amortisation, disposal gain/loss and CTA recycling journals. |
| Consolidated TB | gold_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_BUDGETreads 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, andvariance_favorablefrom the chart's account type. - Concurrency: a stale
base_modifiedon 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
| Layer | Database | Models | Purpose |
|---|---|---|---|
| Raw | epm_raw | — | Trial-balance submissions and Airbyte landings |
| Staging | epm_staging | 30 views | 7 canonical models and the D365 F&O (16) and ERPNext (7) adapters; also konsol's write-through tables |
| Bronze | epm_bronze | 16 tables | Typed, snake_case |
| Silver | epm_silver | 10 tables | GL entries, trial-balance movements, accounts, periods, currencies |
| Gold | epm_gold | 45 tables | Consolidation, 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:
| Group | Examples |
|---|---|
| Values | epm_value, epm_batch, get_hierarchy_tree, get_reporting_hierarchy_tree, fx_rates |
| Budgets | budget_save, budget_cell_save, budget_save_batch |
| Period close | 57 methods under konsol.close.* (period, trial balances, checks, sign-off, journals, rates, statements, approvals, audit trail, home cards and charts) |
| Configuration | cli_api.* (export, diff, apply), schema_apply, chart upload, TB bulk upload |
| Pipeline | orchestrator.api.* (start, retry, resume, cancel), trigger_pipeline, connector_health, airbyte_sync_complete |
| Add-in | excel_addin_auth, excel_addin_whoami, excel_addin_logout, build_cell_map, build_snapshot |
| Health | health (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
| Component | Version in the stack | Purpose | Default port |
|---|---|---|---|
| ClickHouse | 24.8 | Warehouse | 8123 HTTP, 9000 native (loopback by default) |
| dbt Core | dbt-core 1.12.3, dbt-clickhouse 1.9.3 (CI pin) | 101 dbt models, 144 singular tests | in the Frappe image |
| Frappe (konsol) | Frappe v16, Python 3.14, Node 24 | API, doctypes, close app, add-in | 8069 |
| MariaDB / Redis | 10.11 / 7 | Frappe metadata, cache and queue | internal |
| Caddy | 2 | TLS and reverse proxy | 80, 443 |
| Airbyte | abctl | Optional ERP extraction | 8000 |
| Excel add-in | manifest 2.0.2.0 | K.* functions and task pane | — |
Twelve Compose services in docker-compose.yml; six ClickHouse databases in clickhouse/init-db.sql.