Sub topic 9
Posting to the ledger and finding balances
This chapter assumes you can write a balanced journal entry and know each account type's normal balance. Posting is the step that copies journal lines into the ledger. The ledger is the collection of all accounts. Each account shows every change to it and its current balance.
From journal to ledger
The journal records transactions in date order. The ledger groups the same lines by account. Posting moves each journal line to the account it names, on the same side (debit or credit) and for the same amount. Nothing is changed or recalculated during posting.
Take the three entries from the earlier chapter:
- Dr Cash 1,000, Cr Owner Capital 1,000
- Dr Cash 500, Cr Service Revenue 500
- Dr Rent Expense 300, Cr Cash 300
Each entry has two lines, so posting makes six ledger postings.
Finding a balance
To find an account's balance, total the debit side and the credit side, then subtract the smaller total from the larger. The balance sits on the side with the larger total.
Here is the Cash account after posting:
| Debit | Credit |
|---|---|
| 1,000 | 300 |
| 500 | |
| **1,500** | **300** |
The debit total is 1,500 and the credit total is 300. The balance is 1,200 debit. Cash is an asset, so a debit balance is its normal balance.
The other accounts are simpler:
- Owner Capital has one credit of 1,000, so its balance is 1,000 credit.
- Service Revenue has one credit of 500, so its balance is 500 credit.
- Rent Expense has one debit of 300, so its balance is 300 debit.
Computing balances in code
The Python below posts the entries and computes each balance. It stores a net amount per account, with debits positive and credits negative. A positive result is a debit balance and a negative result is a credit balance.
from decimal import Decimal
from collections import defaultdict
entries = [
[("Cash", "debit", Decimal("1000")), ("Owner Capital", "credit", Decimal("1000"))],
[("Cash", "debit", Decimal("500")), ("Service Revenue", "credit", Decimal("500"))],
[("Rent Expense", "debit", Decimal("300")), ("Cash", "credit", Decimal("300"))],
]
net = defaultdict(lambda: Decimal("0"))
for entry in entries:
for account, side, amount in entry:
net[account] += amount if side == "debit" else -amount
for account, balance in net.items():
side = "debit" if balance >= 0 else "credit"
print(f"{account}: {abs(balance)} {side}")The output is:
Cash: 1200 debit
Owner Capital: 1000 credit
Service Revenue: 500 credit
Rent Expense: 300 debitCommon posting errors
- Wrong side. Posting a debit as a credit gives a balance that is wrong by twice the amount.
- Wrong account. Both sides still balance, so no check on totals will catch it.
- Skipped line. Posting only one line of an entry leaves the ledger out of balance.
- Transposed digits. Posting 450 as 540 is off by 90, which is divisible by 9. A difference divisible by 9 often points to this error.
The next chapter lists every account balance in a trial balance to test the work.
Exercise
A Supplies account has debits of 800 and 150 and a credit of 420. What is its balance, and on which side?
Show answer
Debits total 950 and credits total 420. The difference is 530, so the balance is 530 debit. Supplies is an asset, so this is its normal side.
Exercise
A clerk posts a 200 cash payment as a debit to Cash instead of a credit. By how much is the Cash balance wrong?
Show answer
By 400. The balance includes +200 instead of -200, so it is too high by 400.