General Ledger
Generic double-entry General Ledger: hierarchical chart of accounts mapped to statement categories, classic T-account journal entries that post to the declared accounting register gl.ledger, whose platform-maintained monthly totals back the trial balance, balance sheet and income statement, and accounting periods with close.
v0.11.5 · 70 installationen · free
Was es leistet
gl ist ein generisches, standardkonformes Hauptbuch. Sie definieren einen Kontenplan, der Abschlusskategorien zugeordnet ist, und buchen ausgeglichene Buchungssätze. Das Ledger-Registry-Merkmal der Plattform führt automatisch ein Bewegungsjournal und ein Periodensaldenregister — ohne handgeschriebene Saldenberechnung, Trigger oder gespeicherte Prozeduren. Die Abschlüsse lesen direkt aus dem Register.
Es ist ein ganz normales installierbares Modul: Verwenden Sie es unverändert, passen Sie es an oder ersetzen Sie es durch Ihr eigenes Hauptbuch. Nichts in der Plattform ist fest auf gl verdrahtet.
Highlights
- Hierarchischer Kontenplan — ein selbstreferenzierender Kontenbaum, zugeordnet zu
statement(Bilanz / Gewinn- und Verlustrechnung),section(Aktiva/Passiva/Eigenkapital/Ertrag/Aufwand) undnormal_balance. Kontrollkonten (Forderungen/Verbindlichkeiten/Vorräte) kennzeichnen das Modul, das sie steuert. - Klassische doppelte Buchführung — Buchungszeilen im T-Konto-Stil mit Soll/Haben, vor dem Buchen auf Ausgeglichenheit geprüft, automatisch nummeriert (
JE-2026-00001, jährlicher Neustart). - Automatisches Buchen — ein ausgeglichener Buchungssatz wird in das deklarierte Buchungsregister
gl.ledgergebucht: datierte Zeilen inpostingsowie Soll-/Haben-Umsatz je Konto und Monat inledger_totals, die die Plattform pflegt. Ein Eröffnungssaldo ist der Umsatz vor der Periode — es gibt nichts vorzutragen, und Salden zum Produktivstart kommen als gewöhnlicher Eröffnungsbuchungssatz. - Perioden- und Jahresabschluss — der Abschluss einer Periode sperrt sie; der Jahresabschluss erzeugt einen ausgeglichenen Abschlussbuchungssatz als Entwurf, der das Ergebnis auf den Gewinnvortrag überträgt.
- USt-Register — ein zweites Register zu jedem Buchungssatz führt die USt nach Steuerperiode, unabhängig von der Buchungsperiode. Der Abschluss der Steuerperiode sperrt daher nur die USt-Felder.
- Abschlüsse — Summen- und Saldenliste, Bilanz, Gewinn- und Verlustrechnung, Kontenblatt sowie die GuV-Matrix.
Die GuV-Matrix
Der wichtigste Bericht. Konten × Perioden, wobei der Nettowert je Zelle als Haben − Soll berechnet wird: Ertragskonten erscheinen positiv, Aufwandskonten negativ. Ein einfacher Rollup mit vorzeichenbehafteter Summe macht aus dem Kontenbaum Zwischensummen (Rohertrag, Betriebsaufwand) und aus der Gesamtsumme das Jahresergebnis — ohne besondere Vorzeichenlogik irgendwo im System.
Zusätzlich liefern berechnete Zeilen die Kennzahlen, die eine echte GuV braucht — Rohertragsmarge %, Betriebsaufwand in % vom Umsatz. Jede ist als Formel über andere Zeilen definiert und wird je Periode ausgewertet (schreibgeschützt).
Funktionen: Zwischensummen im Baum · buchhalterische Negativwerte (Klammern + rot) · leere Perioden ausblenden · Periodenbereich Von/Bis · Drill-through von jeder Zelle zu den zugrunde liegenden Bewegungen · berechnete Kennzahlenzeilen.
Eine berechnete Zeile ist reine Ansichtskonfiguration —
{ "label": "Gross Margin %", "refs": { "gp": "…", "rev": "…" }, "formula": "[gp] / [rev] * 100" }.
Datenmodell
Startdaten
Wird mit 5 Kontenkategorien, 19 Konten und 4 Journalen installiert. Die Demodaten ergänzen zwölf Buchungsperioden und zwölf USt-Perioden für das laufende Jahr.
Zusammenspiel
Das Hauptbuch ist die Drehscheibe, in die andere Module buchen; jede Anbindung ist ein eigenes kleines Modul.
- fin-gl macht aus finalisierten Rechnungen und Eingangsrechnungen aus fin ausgeglichene Buchungssatzentwürfe.
- wms-gl bucht Wareneingänge und Warenausgänge aus wms auf Vorräte, GR/IR und Warenaufwand.
- gl-budget ergänzt die Gewinn- und Verlustrechnung um eine Budget-Ist-Matrix.
erp-pack installiert das Hauptbuch zusammen mit allen diesen Modulen.
Verwendet von
Veröffentlichte Module, die auf diesem aufbauen.
- ERP SuitePaketSales, finance, warehouse, HR — installed and wired together as a starter ERP.
- Finance–General Ledger IntegrationBridges Finance and the General Ledger
- GL BudgetingBudget-vs-Actual for the General Ledger
- Warehouse–General Ledger IntegrationBridges Warehouse Management and the General Ledger
Inhalt
Die Entitäten, Ansichten, Berichte, Druckvorlagen und Aktionen des Moduls.
Entitäten 11
account_categoryaccountaccounting_periodjournaljournal_entryjournal_entry_linepostingledger_totalstax_periodtax_balancetax_movementAnsichten 8
Berichte 5
Aktionen 4
Rollen
Im Modul enthalten und direkt nach der Installation zuweisbar.
- Hauptbuch-Administrator
gl.admin - Hauptbuch-Buchhalter
gl.accountant - Hauptbuch-Betrachter
gl.viewer
Einstellungen
Pro Workspace in der Administration konfigurierbar.
| Einstellung | Typ | Vorgabe |
|---|---|---|
fiscal_year_startStartdatum des Geschäftsjahres | date | 2026-01-01 |
default_currencyStandard-Hauptbuchwährung (ISO-Code) | dropdown | USD |
default_journal_codeStandard-Journalcode für neue Buchungen | text | GEN |
retained_earnings_account_codeKontonummer, die das Jahresergebnis aufnimmt | text | 3900 |
journal_entry_prefixPräfix für Buchungsnummern | text | JE- |
0.11.41. Dez. 2026
General ledger dashboard
For users
The General Ledger folder now opens with a dashboard: posted and draft journal entries, open accounting periods, active accounts, posted debit by journal and accounts by section. Edit it to make it your own.
For developers
ui/dashboards.json: the default dashboard (six tiles on the module's root folder).translations/: dropdown option labels (statuses, types, priorities) in de, so charts and grids show them in the user's language.version→0.11.4.
0.11.34. Nov. 2026
Action descriptions translated
For users
The descriptions of the module's actions are now translated into German, so an action button's tooltip no longer shows in English. Close Period no longer claims to carry balances forward: it closes the period to writes, and an opening balance is the turnover before the period.
For developers
translations/de-DE.json:descfor 4 actions (#1548).ui/actions.json: theclose_perioddescription matches what the action does since 0.11.0 (nothing is carried forward).version→0.11.3.
0.11.18. Okt. 2026
The ledger has a name
Install requirement: metadata 1.17.2 or newer, which gives a register a display name.
For users
- The query builder offers the general ledger as "General Ledger" (German "Hauptbuch"), not by its code
gl.ledger. The VAT register is named "VAT" the same way.
For developers
registers.jsongivesledgerandvatalabel, translated under the newregisterssection oftranslations/de-DE.json.
0.11.05. Okt. 2026
The ledger is a declared accounting register
Install requirement: platform 1.28.0 or newer (admin 1.21.0, metadata 1.17.0), which runs module upgrade migrations, admits an accounting register without analytic slots and adds the register report dataset.
Upgrading a ledger with data. The upgrade dates every existing posting by its journal entry. Opening balances typed into the balance table become one posted entry per period,
OB-<period>, dated the period's first day in the General Journal. A closed period is reopened for it and closed again. The upgrade refuses opening balances that do not balance; correct them on 0.10 first. Only an account's earliest balance row counts as typed, since every later opening was carried forward by closing a period. An opening edited by hand after that is not carried over.
For users
- An account's opening balance in a period is now everything posted to it before the period. Closing a period only closes it — nothing is carried into the next one any more, so reopening and closing again changes nothing.
- Balances at go-live are entered as an ordinary opening journal entry, posted like any other, instead of being typed into the balance table. The upgrade turns balances already typed there into such an entry, so they now show as that period's turnover rather than its opening.
- Each report is titled by its name, such as "Balance Sheet", with what it shows underneath, instead of one long sentence.
- The Trial Balance and Balance Sheet show each account's balance on the side it falls on. The Account Ledger shows each posting's date.
- The three analytics columns on journal lines (cost centre, project, counterparty) are gone. They held bare ids nothing filled; analytics per account are a later feature.
For developers
- New
registers.jsonentryledger:kind: "accounting", chartaccount, journalposting,journalDate: "posted_on", classic,"analyticFields": []and no composition, dimensionperiod_key, and a monthlytotalscache in the new entityledger_totals. journal_entry.balance_registrybinds to it (register: "gl.ledger",map.amount,dateField,periodDimField,validation.balanced) instead of restating the register inline.postinggainsposted_on;dimension1_id..dimension3_idare removed frompostingandjournal_entry_line.balance_registeris removed.ledger_totalsholds debit/credit turnover per (account, period_key, month) and is written by the platform only;pl_amountstays as a formula column.close_periodsetsclosedand nothing else.close_yearreads the year's P&L fromledger_totals.- Every report has a
label; itsdescriptionno longer repeats the name. - Reports:
trial_balanceandbalance_sheetare register datasets (datasetType: "R") overgl.ledger;income_statementandincome_statement_pivotreadledger_totals;account_ledgershowsposted_on. Thebalance_registerview, menu item and role rights are nowledger_totals. migrations/0.11.0.sql: fillsposting.posted_on, writes the typed openings as postedOB-<period>entries, dropsbalance_register.dependencies.metadata→>=1.17.0,dependencies.admin→>=1.21.0, withdeps/admin.jsondeclaring"entities": {}(a platform-version gate: the migration needs"dForge".next_id()and the runner, not an admin entity).version→0.11.0.gl-budget0.2.0 reads its actuals fromledger_totalsand requires gl 0.11.0.
0.8.129. Sept. 2026
Period and year-close messages in German
Install requirement: platform 1.26.0 or newer (metadata 1.14.0), which translates action messages.
For users
The messages General Ledger shows when you close a period or a year are now in German for German users.
For developers
- Six of the eight messages in
logic/actions/joined text and values; they now use{placeholders}with their values in an object argument.translations/de-DE.jsontranslates all eight in a newmessagesblock. - New
dependenciesblock with"metadata": ">=1.14.0"and adeps/metadata.jsoncontract, so an older platform refuses the install instead of showing{placeholders}literally. version→0.8.1.
0.8.021. Sept. 2026
Closed-period errors say what went wrong, in your language
For users
- A write into a closed period now explains itself. Saving a journal entry, or a line under one, whose date falls in a closed accounting or tax period used to fail with "The value entered isn't allowed." — the same wording any field-validation failure produces, with nothing to say a period was involved. It now reads "Entry Date falls in a closed period, so this change isn't allowed.", names the date field that put the record in that period, and is translated into German and Ukrainian.
- Both periods are reported independently. A journal entry governed by an open
accounting period but a closed tax period names
Tax Point Date, notEntry Date, so the message points at the field that has to change.
For admins
- This release must be installed for existing workspaces to get the new messages. The
guards are database triggers written at install time, so a workspace keeps the old ones
until
glis upgraded. Closed periods stay enforced either way — the platform still recognises the old form and still translates it — but until the upgrade the message cannot name the offending date field. - Workspaces running
glolder than 0.3.0 should upgrade before the platform release that ships with this. Those versions predate period-lock triggers entirely and were relying on an application-layer check that has been removed in favour of the single database-level rule. Between the two, a closed period on such a workspace is not enforced at all. - The trigger now raises the platform's own
DF003/DF004error codes instead of borrowingcheck_violation, which is what lets the message be recognised and translated rather than falling through to the generic constraint wording. - A period entity's
keyFormatis now recorded in its stored metadata. Nothing in this module's behaviour depends on it yet; it is what allows another module to lock its own documents againstgl.accounting_periodorgl.tax_period. - Period-lock configuration is now validated at install: an unresolvable period entity, an identifier that is not a plain name, or a line foreign key whose column count does not match the header's key is refused with a message naming the entity, rather than skipped with a warning that left the documents unguarded.
- No DB schema change —
dbSchemaVersionstays0.1.0; moduleversion→0.8.0.
Durchstöbern Sie den
Modulkatalog.
Jedes Modul ist Metadaten — mit einem Klick installieren, dann alles ändern.