Skip to content
Tutorials Center
My learning

Topics

Lesson 16 of 37 ยท Journals, Ledgers and Trial Balance

Posting to the Ledger

Learn how journal entries are posted to ledger accounts, how running balances and cross-references work, and see it done in runnable code.

The journal tells the story in date order. But to know how much cash you have, you need all cash movements together. That is the job of the ledger: a collection of accounts, one for each item such as Cash, Equipment or Rent expense. Copying the journal entries into the ledger accounts is called posting.

If the journal is a diary, the ledger is an index that gathers everything about one topic in one place.

The ledger account format

You have already used T-accounts. A real ledger account is a more detailed version, often with a running balance:

Date Details Ref Debit Credit Balance
1 Mar Capital J1 8,000 8,000 Dr
3 Mar Tools J1 2,500 5,500 Dr

The "Details" column holds the name of the other account in the entry (the one that was not posted here). It tells the reader where to look for the other half.

Steps for posting

For each journal line:

  1. Find the ledger account named in the line.
  2. Write the date.
  3. Write the other account name in Details.
  4. Write the amount on the same side (debit or credit) as in the journal.
  5. Write the journal page in the Ref column of the ledger, and the ledger account number in the Ref column of the journal (cross-referencing).
  6. Update the balance if you use a running balance.

Never change the side. A debit in the journal is always a debit in the ledger.

Posting in four moves

Find the account
Copy date and amount
Keep the same side
Cross-reference

Journal Ref and ledger Ref point at each other.

1 / 2

From journal to ledger

flowchart LR
    A["Source document"] --> B["Journal entry"]
    B -->|"post debit"| C["Debit account in ledger"]
    B -->|"post credit"| D["Credit account in ledger"]

Each journal entry creates at least one debit posting and one credit posting.

Posting by hand: an example

Zara's three journal entries from The General Journal:

  1. Dr Cash 8,000, Cr Capital 8,000.
  2. Dr Tools 2,500, Cr Cash 2,500.
  3. Dr Inventory 1,200, Cr Accounts payable 1,200.

The ledger accounts after posting:

  • Cash: Dr 8,000 (from Capital); Cr 2,500 (to Tools). Balance 5,500 Dr.
  • Capital: Cr 8,000. Balance 8,000 Cr.
  • Tools: Dr 2,500. Balance 2,500 Dr.
  • Inventory: Dr 1,200. Balance 1,200 Dr.
  • Accounts payable: Cr 1,200. Balance 1,200 Cr.

Posting in code

The stand-in below posts journal entries into ledger accounts with a running balance and a Details column.

Python Post a journal to a ledger

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Subsidiary ledgers and control accounts

A business with hundreds of customers cannot keep one huge ledger page for "Accounts receivable". Instead it keeps:

  • A control account in the main (general) ledger, with the total owed by all customers.
  • A subsidiary ledger with a separate account for each customer.

The total of the subsidiary ledger must equal the control account. This check is useful for finding mistakes. You will use it later in Chapter 7.

Balancing and closing a ledger account

At the end of a period, an account is balanced: the two sides are totaled, and the difference, called the balance carried down (c/d), is written on the smaller side so that both sides total the same. The same figure is brought down on the opposite side at the start of the next period as balance brought down (b/d).

For the cash account: debits 8,000; credits 2,500. The balance c/d of 5,500 goes on the credit side to make 8,000 on both sides, and b/d of 5,500 appears on the debit side.

Python Balance an account with c/d and b/d

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Never skip posting a line. If one side of an entry is posted but not the other, the trial balance will not balance.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is posting?

    Posting transfers each journal line to the matching ledger account, on the same side.
  2. 2. A journal line debits Tools 2,500. How is it posted in the Tools ledger account?

    A debit in the journal is a debit in the ledger account.
  3. 3. What goes in the Details column of a ledger account?

    Details names the other account involved, so you can trace the double entry.
  4. 4. What does balance c/d mean?

    c/d means carried down; b/d means brought down into the next period.

Summary

  • The ledger gathers all transactions by account; posting copies journal lines to it.
  • A debit stays a debit and a credit stays a credit; cross-references link journal and ledger.
  • Control accounts and subsidiary ledgers keep large ledgers manageable.
  • Balances are carried down (c/d) and brought down (b/d) between periods.

Next: The Trial Balance