Sub topic 16
How accounting software automates posting
This chapter assumes you know how to record a journal entry, post it to T-accounts, and prepare a trial balance by hand. Here you will see which of those steps accounting software performs for you and which it leaves to you.
What the software does for you
In a manual system, posting is a separate step. You copy each journal line to a ledger account, write a posting reference, and update the balance. In accounting software, you enter the transaction once, and the software does the rest:
- It writes each line to the ledger account you named.
- It updates the running balance of that account.
- It links the ledger line back to its source entry, which replaces the manual posting reference.
- It refuses to save an entry whose debits and credits are unequal.
The last point removes one common manual error: posting only one side of an entry. It also means the trial balance will almost always be in balance. A balanced trial balance is therefore weaker evidence of correct bookkeeping than it is in a manual system.
The flow inside the software
The software keeps one set of stored entry lines. The journal, the ledger, and the trial balance are views of those lines, not separate copies.
A small model of the idea
The Python sketch below mimics this design. It stores entry lines once, rejects an unbalanced entry, and calculates balances only when you ask for them. Amounts are whole dollars.
from collections import defaultdict
lines = [] # every stored line: (entry_id, account, side, amount)
def record(entry_id, parts):
debits = sum(a for _, side, a in parts if side == "debit")
credits = sum(a for _, side, a in parts if side == "credit")
if debits != credits:
raise ValueError(f"Entry {entry_id} rejected: {debits} debit vs {credits} credit")
for account, side, amount in parts:
lines.append((entry_id, account, side, amount))
def ledger_balances():
totals = defaultdict(int)
for _, account, side, amount in lines:
totals[account] += amount if side == "debit" else -amount
return dict(totals)
record(1, [("Cash", "debit", 10000), ("Owner's Capital", "credit", 10000)])
record(2, [("Rent Expense", "debit", 1200), ("Cash", "credit", 1200)])
try:
record(3, [("Supplies", "debit", 800), ("Accounts Payable", "credit", 80)])
except ValueError as error:
print(error)
for account, net in ledger_balances().items():
print(f"{account:<18}{net:>8}")Entry 3 is rejected, so no half-posted line reaches the ledger. The balances for Cash, Owner's Capital, and Rent Expense come out as 8,800, -10,000, and 1,200. A negative number here means a net credit.
What the software cannot check
Software enforces equal totals. It cannot tell whether you chose the right accounts or the right amount. These errors still get through:
| Error | Example | Caught by software? |
|---|---|---|
| Wrong account | Debit Repairs Expense instead of Rent Expense | No |
| Wrong amount, both sides | Record 1,200 as 2,100 on both lines | No |
| Entry never recorded | A paid invoice is not entered | No |
| Unbalanced entry | Debit 800, credit 80 | Yes |
Corrections follow the same rule as on paper. You do not delete a posted entry. You enter a correcting entry or a reversing entry, so the audit trail stays complete. Most packages lock closed periods for this reason.
Subsidiary ledgers
Many packages post a customer invoice to two places at once: the Accounts Receivable control account in the general ledger and the individual customer's account in the subsidiary ledger. If the two ever disagree, the cause is usually a direct entry to the control account that bypassed the subsidiary ledger.
Exercise
A bookkeeper enters a 900 rent payment in accounting software but debits Utilities Expense instead of Rent Expense. Will the software reject the entry, and will the trial balance show the error? What should the bookkeeper do?
Show answer
The software will accept it, because debits equal credits. The trial balance will stay in balance, because only the choice of account is wrong. The bookkeeper should enter a correcting entry that debits Rent Expense 900 and credits Utilities Expense 900, rather than deleting the original entry.