General Ledger: What It Is and How It Works
The general ledger is the central record of all a company's financial transactions, organized by account. Here is what the general ledger is, how it works, what it contains, and how it relates to the trial balance and financial statements.


Every number in a company's financial statements traces back to one place: the general ledger. It is the master record where every transaction lands, organized by account, and it is the foundation the entire accounting system is built on. Understand the general ledger and the rest of accounting, the trial balance, the close, the financial statements, falls into place.
This guide explains what the general ledger is, how it works, what it contains, and how it connects to the other pieces of the accounting system.
What is the general ledger?
The general ledger (GL) is the central repository of all of a company's financial transactions, organized by account. Every transaction a business records eventually posts to the general ledger, sorted into the accounts it affects, assets, liabilities, equity, revenue, and expenses. The GL is the single source of truth from which the trial balance and the financial statements are produced.
If accounting is a system for turning transactions into financial statements, the general ledger is the hub in the middle. Everything flows into it, and everything reported flows out of it. That is why it is often called the "books."
What the general ledger contains
The general ledger is organized according to the chart of accounts, the structured list of every account a company uses. Each account in the GL holds all the transactions affecting it, and each entry typically records:
- The date of the transaction.
- A description or reference to the source journal entry.
- The debit or credit amount, following double-entry accounting.
- The running balance of the account.
The accounts themselves fall into the five categories that map to the financial statements: assets, liabilities, and equity (the balance sheet), and revenue and expenses (the income statement).
How the general ledger works
The GL sits at the center of the accounting cycle:
- 1. Transactions are recorded as journal entries, each with equal debits and credits.
- 2. Entries post to the general ledger, updating the affected accounts. In modern accounting systems this happens automatically.
- 3. Subledgers feed the GL. Detailed subledgers (accounts receivable, accounts payable, fixed assets) summarize into control accounts in the general ledger, keeping the GL manageable while preserving detail.
- 4. The trial balance is produced from the GL to check that total debits equal total credits.
- 5. Financial statements are prepared from the balances in the general ledger.
General ledger vs. subledger vs. trial balance
| What it is | Role | |
|---|---|---|
| General ledger | Master record of all accounts | Single source of truth for reporting |
| Subledger | Detailed record for one area (AR, AP, fixed assets) | Feeds summarized totals into the GL |
| Trial balance | List of all GL account balances at a point in time | Checks debits equal credits before statements |
Why the general ledger matters
- It is the single source of truth. Every reported number ties back to the GL, which is what makes financial statements auditable.
- It enables control and accuracy. Reconciling accounts to the GL is how errors and discrepancies get caught.
- It supports decisions. The GL is where the real financial position of the business lives, in detail.
The general ledger and AI
The general ledger is the hub AI agents connect to in order to do finance work. Reconciliations compare source data to the GL; the close posts entries to it; reporting reads from it. An AI agent that runs these workflows connects directly to the GL in your ERP, pulls and posts entries, reconciles accounts against it, and keeps every output traceable back to the underlying ledger entries, with a human approving.
That traceability back to the general ledger is exactly what makes AI-produced numbers defensible to an auditor. See how this works across the record-to-report process and financial close automation.
Frequently asked questions
What is a general ledger?
The general ledger is the central record of all of a company's financial transactions, organized by account across assets, liabilities, equity, revenue, and expenses. It is the single source of truth from which the trial balance and financial statements are produced.
What is the difference between a general ledger and a subledger?
A subledger holds the detailed transactions for one area, such as accounts receivable, accounts payable, or fixed assets, and summarizes its total into a control account in the general ledger. The GL holds the summarized, company-wide picture; subledgers hold the underlying detail.
What is the difference between the general ledger and the trial balance?
The general ledger is the full record of all accounts and their transactions. The trial balance is a snapshot listing the ending balance of every GL account at a point in time, used to verify that total debits equal total credits before preparing the financial statements.
What accounts are in the general ledger?
The GL contains all accounts defined in the chart of accounts, grouped into five categories: assets, liabilities, and equity (which form the balance sheet), and revenue and expenses (which form the income statement).
The bottom line
The general ledger is the backbone of accounting, the master record where every transaction posts and from which every financial statement is built. It is fed by journal entries and subledgers, checked by the trial balance, and organized by the chart of accounts. Everything in the record-to-report process revolves around it.
If you want AI agents that connect to your general ledger to run reconciliations, the close, and reporting, with every number traceable back to the ledger, talk to our team.


