Sub topic 8
Posting Compound Entries
This chapter assumes you know the accounting equation, the five account types, and the debit and credit rules. It also assumes you can post a simple two-line entry to a T-account. Here you will post entries that touch three or more accounts.
What a compound entry is
A compound entry is a journal entry with more than two lines. One transaction can affect several accounts at once. The rule does not change: total debits must equal total credits for the whole entry.
On January 9, a business performs services for $4,000. The customer pays $1,500 in cash and owes the remaining $2,500.
Jan 9 Cash 1,500
Accounts Receivable 2,500
Service Revenue 4,000Debits are 1,500 + 2,500 = 4,000. Credits are 4,000. The entry balances.
Posting each line separately
Post each line of the entry to its own account, one line at a time. A compound entry is not posted as a single block. Each line goes to the debit or credit side of one ledger account, and the amount is the amount on that line.
- Read the first line. Find the Cash account. Enter 1,500 on its debit side.
- Read the second line. Find Accounts Receivable. Enter 2,500 on its debit side.
- Read the third line. Find Service Revenue. Enter 4,000 on its credit side.
The T-accounts after posting
Assume Cash already holds a 10,000 debit from an owner investment.
Cash Accounts Receivable Service Revenue
---------------------- ---------------------- ----------------------
10,000 | 2,500 | | 4,000
1,500 | | |
---------------------- ---------------------- ----------------------
Bal 11,500 (debit) Bal 2,500 (debit) Bal 4,000 (credit)Two accounts gain a debit and one gains a credit. After posting, the debits posted (4,000) still equal the credits posted (4,000). This is why a ledger that was in balance before posting stays in balance afterward.
Checking a compound entry before you post
Add the debit lines and the credit lines first. If they differ, fix the journal entry before posting anything. The script below applies that check to each entry and then posts the lines.
from collections import defaultdict
entry = [("Cash", "debit", 1500),
("Accounts Receivable", "debit", 2500),
("Service Revenue", "credit", 4000)]
debits = sum(a for _, side, a in entry if side == "debit")
credits = sum(a for _, side, a in entry if side == "credit")
assert debits == credits, "Entry does not balance"
ledger = defaultdict(lambda: {"debit": [], "credit": []})
for account, side, amount in entry:
ledger[account][side].append(amount)
for account, sides in ledger.items():
print(account, sides)Common errors with compound entries
- Posting only some lines. If you post the Cash and Revenue lines but skip Accounts Receivable, the ledger is out of balance by 2,500. The trial balance will show it.
- Posting a line to the wrong side. Putting 2,500 on the credit side of Accounts Receivable creates a difference of twice the amount, 5,000.
- Combining lines. Do not merge Cash and Accounts Receivable into one 4,000 debit. You would lose the detail of what is owed and what was collected.
Exercise
A business buys equipment costing 9,000. It pays 3,000 in cash and signs a note payable for the remaining 6,000. Write the compound entry and state which side of each account receives an amount when you post it.
Show answer
Debit Equipment 9,000; Credit Cash 3,000; Credit Notes Payable 6,000. Debits (9,000) equal credits (3,000 + 6,000). When posting, Equipment receives 9,000 on its debit side, Cash receives 3,000 on its credit side, and Notes Payable receives 6,000 on its credit side.