GL Accounts
A chart of accounts semantic contract, defining financial account hierarchy used for reporting and metrics.
Semantic Contract
Definitions
| Column | Description |
|---|---|
| id | Unique identifier for the GL account. |
| name | Name of the GL account (e.g., Revenue, Cost of Goods Sold, Marketing Expense). |
| parent_gl | Self-reference to the GL account for hierarchy (nullable if top-level). |
| gl_account_type_id | Reference to the GL Account Type. |
| business_unit_id | Reference to the business unit (only if segmented; links to Business Units). |
Sample & Implementation
The GL Accounts IDs 3000, 5000, 7000, 8000 are reserved for gross_margin, contribution_margin, total_cost, and ebitda. If you need to repurpose these IDs, make sure to adjust the related transformations accordingly: PnL Metrics.
We favor an opinionated numbering scheme that follows a parent > children structure. For example, revenue is defined as 1000, and their children 1010, 1020, and 1030. This allows for better organisation and displaying later in reports.
Select if GL Accounts are segmented by business units
| id | name | parent_gl | gl_account_type_id |
|---|---|---|---|
| 1000 | revenue | 1 | |
| 1010 | subscriptions | 1000 | |
| 1020 | services | 1000 | |
| 1030 | others | 1000 | |
| 2000 | cogs | 1 | |
| 2010 | payment_fees | 2000 | |
| 2020 | other_costs | 2000 |
Data Format
Select if GL Accounts are segmented by business units
Field
Type
Dependencies
- GL Accounts Types
- Business Units: required when segmented.