Sub topic 5
Posting Journal Entries to Ledger Accounts
This chapter assumes you can already write a balanced journal entry and know the normal balance of each account type. It covers the step that turns the journal into the ledger: posting. The next chapter uses the posted ledger to calculate ending balances.
What posting does
The journal records transactions in the order they happen. Each entry shows the date, the accounts affected, and the debit and credit amounts. That order is useful for an audit trail, but it makes one question hard to answer: how much cash does the business have now?
The general ledger answers it. It holds one account for each line of the chart of accounts. Posting is the process of copying each debit and credit from the journal into the matching ledger account. Nothing is recalculated and no amounts change. Posting only regroups the same numbers by account.
Three rules govern the process:
- A debit in the journal goes on the debit side of the ledger account, and a credit goes on the credit side.
- Every line of every entry is posted, in the same amount.
- Each posting carries a reference back to the journal entry it came from.
The running example
The rest of this tutorial uses Example Services Co. Its first month produced four journal entries.
| Entry | Date | Account | Debit | Credit |
|---|---|---|---|---|
| J1 | Jan 2 | Cash | 10,000 | |
| J1 | Jan 2 | Owner's Capital | 10,000 | |
| J2 | Jan 5 | Equipment | 4,000 | |
| J2 | Jan 5 | Cash | 1,500 | |
| J2 | Jan 5 | Accounts Payable | 2,500 | |
| J3 | Jan 15 | Cash | 3,000 | |
| J3 | Jan 15 | Service Revenue | 3,000 | |
| J4 | Jan 28 | Rent Expense | 800 | |
| J4 | Jan 28 | Cash | 800 |
Entry J2 is a compound entry. It has three lines and affects three accounts. Post it exactly like a two-line entry, one line at a time.
Ledger account formats
Ledger accounts appear in two common formats.
A T-account is a simplified sketch. The account name sits on top, debits go on the left, and credits go on the right. T-accounts are common in teaching and for quick analysis.
The running-balance format is what accounting software and most paper ledgers use. It has columns for date, description, reference, debit, credit, and balance. The balance column updates after each posting.
Both formats hold the same information. This chapter uses T-accounts for the picture and the running-balance idea for the reference columns.
Cash Owner's Capital
Jan 2 J1 10,000 | | 10,000 J1 Jan 2
Jan 5 J2 | 1,500
Jan 15 J3 3,000 |
Jan 28 J4 | 800The Cash account has two lines on each side. The Owner's Capital account has one credit line. Both show the journal reference next to each amount.
The posting procedure
Work through the journal one entry at a time, in the order the entries were made.
- Take the first line of the entry and find its account in the ledger.
- Enter the date and the amount on the side that matches the journal line.
- Write the journal reference, such as J1, in the ledger's reference column.
- Go back to the journal and write the account number in its posting reference column. This tick tells you the line has been posted.
- Repeat for every line of the entry, then move to the next entry.
The two-way reference is the control. From any ledger line you can find the source entry. From any journal line you can see whether it has been posted and where it went. This is why the chart of accounts gives each account a number.
Posting the example
Posting all nine lines produces these ledger accounts.
Cash Equipment
J1 10,000 | J2 4,000 |
| 1,500 J2
J3 3,000 |
| 800 J4
Accounts Payable Owner's Capital
| 2,500 J2 | 10,000 J1
Service Revenue Rent Expense
| 3,000 J3 J4 800 |Notice that:
- Cash has both debits and credits because cash came in and went out.
- Equipment, an asset, has only a debit.
- Accounts Payable, Owner's Capital, and Service Revenue have only credits.
- Rent Expense has only a debit.
In every case the side of the posting matches the side in the journal. You do not decide the side again during posting, even if the side seems unusual for that account type.
Automating the posting step
Accounting software does posting automatically, and the logic is simple. The script below keeps the journal as a list of entries, checks that each one balances, and then posts each line to a per-account list. The check mirrors the rule from double-entry bookkeeping, and the reference tag mirrors the posting reference.
from collections import defaultdict
# Each entry: (entry number, date, [(account, debit, credit), ...])
journal = [
(1, "Jan 2", [("Cash", 10000, 0), ("Owner's Capital", 0, 10000)]),
(2, "Jan 5", [("Equipment", 4000, 0), ("Cash", 0, 1500),
("Accounts Payable", 0, 2500)]),
(3, "Jan 15", [("Cash", 3000, 0), ("Service Revenue", 0, 3000)]),
(4, "Jan 28", [("Rent Expense", 800, 0), ("Cash", 0, 800)]),
]
ledger = defaultdict(list)
for number, date, lines in journal:
total_debit = sum(debit for _, debit, _ in lines)
total_credit = sum(credit for _, _, credit in lines)
if total_debit != total_credit:
raise ValueError(f"Entry J{number} does not balance")
for account, debit, credit in lines:
ledger[account].append((date, f"J{number}", debit, credit))
for account, rows in ledger.items():
print(account)
for date, ref, debit, credit in rows:
print(f" {date:<7}{ref:<4}{debit or '':>8}{credit or '':>8}")The script refuses to post an entry whose debits and credits differ. Without that guard, a one-sided entry would pass into the ledger and surface later as an imbalance. Manual systems have no such guard, so the check happens on the trial balance instead.
Common posting errors
Posting is mechanical, so its errors are mechanical too. Each type affects the ledger differently.
| Error | Example | Effect on the ledger |
|---|---|---|
| Wrong side | Post a 3,000 Cash debit as a credit | Debit and credit totals differ |
| Wrong amount on one side | Post 1,500 as 1,050 in Cash only | Totals differ by 450 |
| Line omitted | Skip the Rent Expense debit | Totals differ by 800 |
| Line posted twice | Post the Cash credit for J4 twice | Totals differ by 800 |
| Wrong account | Post a debit to Equipment instead of Supplies | Totals still agree |
| Wrong amount on both sides | Post 4,500 on both lines of an entry | Totals still agree |
The first four errors break the balance between debits and credits and will show up in the trial balance. The last two do not. A later chapter covers both groups in detail. For now, note that the posting reference columns are your best defense against the hidden ones: a line with no reference is a line that was never traced to a journal entry.
Practical details and edge cases
- Post in date order. If entries are posted out of sequence, a running-balance column will show temporary balances that never existed, such as a negative cash figure.
- Mark progress as you go. If posting is interrupted, the missing posting references in the journal show where to resume. Without them, you risk skipping a line or posting it twice.
- Never edit a posted line. To fix a mistake, record a correcting journal entry and post it. This keeps the audit trail intact. A simple slip in the ledger that has not yet been used for reports may be corrected by ruling through the old figure and writing the right one above it, with initials, but only where policy allows.
- Keep the description short. The ledger description column only needs enough text to identify the transaction. The journal holds the full explanation.
- Subsidiary ledgers. Businesses with many customers or suppliers keep detail accounts outside the general ledger and post only totals to a control account such as Accounts Receivable. The trial balance uses the control account.
Checkpoint before moving on
Before you calculate balances, confirm three things:
- Every journal line has a posting reference.
- Every ledger line has a journal reference.
- The sum of all debit amounts in the ledger equals the sum of all credit amounts. For the example, both sums are 18,300.
Check 3 is not the trial balance. It compares raw posted amounts, not ending balances. It still catches many posting slips early, before you calculate anything.
Exercise
On January 31, Example Services Co. pays the 2,500 owed to its supplier from cash. The journal entry is a debit to Accounts Payable for 2,500 and a credit to Cash for 2,500. Describe how you post it, and say what new lines appear in each ledger account.
Show answer
Post the debit line to Accounts Payable on the debit (left) side: date Jan 31, reference J5, amount 2,500. Post the credit line to Cash on the credit (right) side: date Jan 31, reference J5, amount 2,500. Then write each account number beside its line in the journal. Accounts Payable now has a 2,500 credit from J2 and a 2,500 debit from J5. Cash now has credit lines of 1,500, 800, and 2,500, plus debit lines of 10,000 and 3,000. The total debits posted in the whole ledger and the total credits posted both rise by 2,500, so they stay equal at 20,800.
Exercise
A clerk posts the J3 Cash debit of 3,000 to the credit side of the Cash account, and posts the Service Revenue credit correctly. Does the posted ledger still have equal debit and credit totals? By how much do they differ?
Show answer
No. The Cash line is now on the credit side, so total debits fall by 3,000 and total credits rise by 3,000. The totals differ by 6,000, with credits larger. The difference is twice the size of the misposted amount, which is a useful clue when searching for this kind of error.