Skip to content
Tutorials Center
My learning

Topics

Lesson 13 of 37 ยท Double-Entry Bookkeeping

A Worked Double-Entry Example

Follow ten transactions for a small shop from analysis to debit and credit entries, T-accounts and a check that the books balance.

You know the rules of debit and credit and how a T-account works. Now it is time to put everything together in one complete example. We will take the ten transactions of Zara's bicycle shop from How Transactions Affect the Equation and record each with debits and credits.

The figures are invented. The method is the one used by every business.

The method for every transaction

  1. Identify the accounts affected.
  2. Classify each (asset, liability, capital, revenue, expense, drawings).
  3. Decide whether each increases or decreases.
  4. Apply the rules: debit or credit.
  5. Check that debits equal credits.

Five steps

Find accounts
Classify them
Up or down?
Debit or credit

Then check the totals match.

1 / 2

The ten entries

# Transaction Debit Credit Amount ($)
1 Owner invests cash Cash Capital 8,000
2 Buy tools for cash Tools Cash 2,500
3 Buy parts on credit Inventory Accounts payable 1,200
4 Cash repair fees Cash Repair revenue 900
5 Pay rent Rent expense Cash 300
6 Repair on credit Accounts receivable Repair revenue 400
7 Pay supplier Accounts payable Cash 600
8 Customer pays Cash Accounts receivable 400
9 Owner drawings Drawings Cash 500
10 Pay wages Wages expense Cash 250

Take a few examples slowly.

Entry 3. Parts bought on credit. Inventory is an asset that rises, so debit. We owe the supplier, so Accounts payable (liability) rises: credit.

Entry 6. The customer has not paid yet, but the revenue is earned. Debit Accounts receivable (asset up), credit Repair revenue (revenue up).

Entry 7. Paying the supplier lowers a liability, so debit Accounts payable; cash goes down, so credit Cash.

Entry 9. Drawings increase with a debit; cash decreases with a credit. Drawings is not an expense.

Posting everything to the ledger accounts

The stand-in below posts the ten entries and prints each account's balance, then totals debit balances and credit balances.

Python Post Zara's ten entries

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.

Here is the final picture:

Account Balance
Cash 5,150 Dr
Tools 2,500 Dr
Inventory 1,200 Dr
Accounts receivable 0
Rent expense 300 Dr
Wages expense 250 Dr
Drawings 500 Dr
Accounts payable 600 Cr
Capital 8,000 Cr
Repair revenue 1,300 Cr

Debits: 5,150 + 2,500 + 1,200 + 300 + 250 + 500 = 9,900. Credits: 600 + 8,000 + 1,300 = 9,900. Balanced.

From balances to profit and equity

Revenue was 1,300. Expenses were 300 + 250 = 550. So profit is 750. Equity is capital 8,000 + profit 750 - drawings 500 = 8,250. It matches the equity found earlier by the equation method, which is a useful cross-check.

Python Profit and equity from the balances

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.

Why double entry is powerful

The method gives three benefits:

  1. Built-in error check. If debits and credits differ, you know there is a mistake.
  2. Complete picture. Each transaction shows both what was received and what was given.
  3. Reports follow directly. The same balances produce the income statement and the balance sheet.

Not every error is caught, though. If you debit the wrong expense account with the right amount, the books still balance. You will learn about such errors in Finding and Fixing Errors.

Revenue 1,300 here includes the $400 earned on credit. That is the accruals idea at work: the revenue counted before the cash was collected.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the entry when the shop pays $600 to a supplier it owed?

    The liability falls (debit) and cash falls (credit).
  2. 2. A customer pays $400 they owed. What is the entry?

    The revenue was recorded earlier. Now one asset (cash) rises and another (receivable) falls.
  3. 3. Which account is debited when the owner takes $500 for personal use?

    Drawings is debited. It is not an expense of the business.
  4. 4. A credit sale of $400 is made. What is credited?

    Revenue is credited. Accounts receivable is debited.

Summary

  • Analyze each transaction: find the accounts, classify them, decide increase or decrease, then apply debit and credit rules.
  • Post the entries to accounts and total each side to find balances.
  • Total debit balances must equal total credit balances.
  • Profit equals revenue minus expenses, and equity equals capital plus profit minus drawings.

Next: Compound Entries and Common Mistakes