Sub topic 5
What the General Ledger Is and How It Relates to the Journal
This chapter assumes you know the accounting equation, the five account types (assets, liabilities, equity, revenue, expenses), and that every transaction has a debit side and a credit side. Here you will learn what the general ledger holds, how it differs from the general journal, and why a business keeps both. The mechanics of posting come in later chapters.
Two books, two questions
A business must answer two different questions about its transactions:
- What happened on a given day, and why? (A time-ordered question.)
- How much cash do we have now, or how much do we owe a supplier? (An account-ordered question.)
The general journal answers the first question. It lists every transaction in date order as a journal entry: the date, the accounts debited and credited, the amounts, and a short explanation. Because it is the first place a transaction is written down, it is called the book of original entry.
The general ledger answers the second question. It is a collection of accounts, and each account gathers every change that affects one item, such as Cash or Rent Expense. Because the ledger holds the balances that feed the financial statements, it is called the book of final entry. The full set of ledger accounts is sometimes called "the books".
The same facts sit in both places. The journal arranges them by time. The ledger arranges them by account.
Where each book sits in the cycle
The arrow from journal to ledger is called posting. It is the subject of the next chapters. For now, note the direction. Entries start in the journal and are copied to the ledger. The ledger is never where a transaction first appears.
The same transaction in both books
Take two transactions from a new service business.
In the journal (date order):
| Date | Account | Debit | Credit |
|---|---|---|---|
| Jan 2 | Cash | 10,000 | |
| Owner's Capital | 10,000 | ||
| Owner invests cash | |||
| Jan 15 | Rent Expense | 1,200 | |
| Cash | 1,200 | ||
| Pay rent |
In the ledger (account order):
| Account | Date | Debit | Credit |
|---|---|---|---|
| Cash | Jan 2 | 10,000 | |
| Cash | Jan 15 | 1,200 | |
| Owner's Capital | Jan 2 | 10,000 | |
| Rent Expense | Jan 15 | 1,200 |
Count the lines. The journal has four account lines, and the ledger has the same four. Cash appears twice in the ledger, grouped together, though the two events were thirteen days apart. That grouping is the whole purpose of the ledger. To learn the Cash balance, you read one account instead of searching every journal page.
Comparing the two books
| Feature | General journal | General ledger |
|---|---|---|
| Organized by | Date | Account |
| Role | Book of original entry | Book of final entry |
| Records | Whole transactions, with explanation | One account's increases and decreases |
| Debits equal credits | Within each entry | Across all accounts together |
| Shows balances | No | Yes |
| Main use | Audit trail, error tracing | Balances for the trial balance and statements |
The line "debits equal credits" matters for error detection. Each journal entry balances on its own. A single ledger account almost never balances, because Cash will carry a debit balance and Owner's Capital a credit balance. Only the whole ledger balances, and the trial balance tests that.
How the ledger is organized
A general ledger has one account for each line item in the chart of accounts. The chart gives each account a number, and the ledger normally follows the chart's order. A common numbering scheme looks like this:
| Range | Type |
|---|---|
| 100s | Assets |
| 200s | Liabilities |
| 300s | Equity |
| 400s | Revenue |
| 500s and up | Expenses |
This order mirrors the financial statements. Balance sheet accounts (assets, liabilities, equity) come first. Income statement accounts (revenue, expenses) come after. Following the chart makes it easy to find an account and to pull balances in statement order.
The ledger holds two kinds of accounts:
- Permanent (real) accounts are the balance sheet accounts. Their balances carry forward from one period to the next.
- Temporary (nominal) accounts are revenue and expense accounts. They collect one period's activity and are reset at the period end.
Both kinds sit in the same ledger.
Seeing the relationship in code
A ledger is a regrouping of journal lines. The script below makes this concrete. It keeps a journal in date order and builds a ledger by collecting lines under each account, sorted by chart number.
from collections import defaultdict
chart = {"Cash": 101, "Owner's Capital": 301, "Rent Expense": 501}
# Journal: date order, one entry per transaction.
journal = [
("2026-01-02", "Owner invests cash",
[("Cash", "debit", 10000), ("Owner's Capital", "credit", 10000)]),
("2026-01-15", "Pay rent",
[("Rent Expense", "debit", 1200), ("Cash", "credit", 1200)]),
]
# Ledger: the same lines, grouped by account.
ledger = defaultdict(list)
for date, memo, lines in journal:
for account, side, amount in lines:
ledger[account].append((date, memo, side, amount))
for account in sorted(ledger, key=chart.get):
print(f"{chart[account]} {account}")
for date, memo, side, amount in ledger[account]:
print(f" {date} {memo:<20}{side:<8}{amount:>8}")Running it prints Cash first (101) with two lines, then Owner's Capital (301), then Rent Expense (501). The journal is unchanged. The ledger is built from it, which matches the real-world rule: the ledger is derived from the journal, never the other way around.
Why keep both books?
If the ledger holds the balances, the journal might seem unnecessary. It does three jobs the ledger cannot.
- Complete transaction record. A journal entry shows both sides of a transaction together with its explanation. In the ledger, the two sides are in different accounts, and you would have to hunt for the other half.
- Audit trail. Each ledger line points back to its journal entry (the next chapters cover posting references). An auditor or bookkeeper can follow any balance back to the original event and its source document.
- Error location. If the trial balance does not balance, you can compare journal entries with ledger lines one at a time and find where they differ.
Edge cases and common confusions
Special journals. Businesses with many repeated transactions often add special journals, such as a sales journal or a cash receipts journal. These are also books of original entry. The general journal then records only the entries that do not fit a special journal, such as adjusting entries. Totals from special journals are still posted to the general ledger.
Subsidiary ledgers. For accounts with many individual parties, such as Accounts Receivable, a detailed subsidiary ledger can hold one account per customer. The general ledger keeps a single control account for the total. A later chapter covers this.
Accounts with no activity. A ledger account can exist with no entries yet. It simply has a zero balance and appears in the ledger because it is in the chart.
Opening balances. At the start of a new period, permanent accounts open with the prior period's closing balance. The ledger carries those balances. The new period's journal holds only new transactions.
The ledger is not a place to originate entries. Changing a ledger balance directly, with no journal entry behind it, breaks the audit trail. Any correction should go through the journal and then be posted.
Software. In accounting software you usually enter a transaction once. The software stores the journal lines and presents the ledger as a view that groups them by account. The two-book idea is still there, even if you never see a separate page for each.
Check your understanding
Exercise
A company records these two journal entries. Entry 1 (Mar 3): Debit Supplies 500, Credit Accounts Payable 500. Entry 2 (Mar 10): Debit Accounts Payable 500, Credit Cash 500. List which ledger accounts receive lines from these entries, and say how many lines each account gets.
Show answer
Supplies gets 1 line (debit 500). Accounts Payable gets 2 lines (credit 500 on Mar 3, debit 500 on Mar 10). Cash gets 1 line (credit 500). That is 4 ledger lines in total, which equals the 4 account lines in the two journal entries. Accounts Payable ends with a zero balance because the debit offsets the credit.
Exercise
A colleague says the general journal is redundant because the general ledger already shows every balance. Give two reasons the journal is still needed.
Show answer
First, the journal records each transaction as a whole, with both debit and credit sides and an explanation, while the ledger splits the two sides into different accounts. Second, the journal provides the audit trail and a way to locate errors, because each ledger line can be traced back to the entry that created it. (Also acceptable: it is the book of original entry, where each transaction is first recorded in date order.)