ERP Core / Accounting

Accounting - Core Domain Concepts & Structural Topology

Chart of Accounts hierarchy, normal balance rules, cost centers, and analytical accounting dimensions.

Core Domain Concepts & Structural Topology

The structure of the Accounting & FMS domain is built around a strict hierarchy of accounts, immutable balance rules, and analytical dimensions that keep internal reporting flexible without polluting the primary ledger.


1. Chart of Accounts Hierarchy Tree

The COA is organized as a strict tree where only the deepest level (leaf nodes) may receive postings:

Account Class (Root)
└── Main Group
    └── Sub-Group
        └── Detail / Posting Account  ← Only this level accepts journal lines
LevelPurpose
Account ClassHighest aggregation: Assets, Liabilities, Equity, Revenue, Expenses.
Main GroupMajor financial grouping, e.g., Current Assets or Operating Expenses.
Sub-GroupMore granular classification, e.g., Trade Receivables or Marketing Expenses.
Detail / Posting AccountThe operational account used in journal entry lines.

Example Hierarchy

Account ClassMain GroupSub-GroupPosting Account
AssetsCurrent AssetsCash & EquivalentsPetty Cash
AssetsCurrent AssetsTrade ReceivablesDomestic Customers
LiabilitiesCurrent LiabilitiesTrade PayablesForeign Suppliers
RevenueOperating RevenueProduct SalesLocal Sales
ExpensesOperating ExpensesMarketingDigital Advertising

2. Normal Balance Rules

The normal balance of an account indicates the side (debit or credit) on which the account increases:

Account TypeNormal BalanceIncreaseDecrease
AssetsDebitDebitCredit
ExpensesDebitDebitCredit
LiabilitiesCreditCreditDebit
EquityCreditCreditDebit
RevenueCreditCreditDebit

Fundamental Accounting Equation

$$ \text{Assets} = \text{Liabilities} + \text{Equity} $$

This equation is preserved at all times through the double-entry system. Every transaction maintains the equality by recording equal debit and credit amounts across affected accounts.


3. Cost Centers & Analytical Accounting

Cost centers provide multi-dimensional analytical tagging without polluting the primary COA. Each journal entry line may carry one or more analytical dimensions:

DimensionExample Values
Cost CenterHead Office, Factory A, Sales Region North
ProjectWebsite Relaunch, ERP Migration
DepartmentFinance, Operations, Marketing

Analytical Tagging Rules

  • Analytical tags are stored alongside journal lines and are used for internal allocation reports.
  • Tags never alter the mathematical balance of the entry.
  • A single journal line may carry multiple analytical dimensions, but the ledger balance remains governed solely by the COA account.
  • Analytical slices must roll up to the same primary account balance; they cannot introduce shadow balances.

Our Premium Sponsors

Obelaw is proudly open-source. Continued development, bug fixes, and community support are made possible by the generosity of our sponsors.

Sponsor Obelaw