Get 80% off your plan for your first 3 months*

Get 80% off your plan for your first 3 months.

Guide

Double-entry bookkeeping for small businesses

Learn how double-entry bookkeeping works, with worked Rupiah examples of debits and credits.

A small business owner ticking off items on a checklist

Written by Lena Hanna—Trusted CPA Guidance on Accounting and Tax. Read Lena's full bio

Published Tuesday 6 October 2026

Table of contents

Key takeaways

  • Double-entry bookkeeping records every transaction twice, as a debit in one account and a credit in another, so errors are easier to spot.
  • The accounting equation (Assets = Liabilities + Equity) must always balance. If it doesn’t, there’s an error to find and fix.
  • Double-entry suits businesses with assets, inventory, loans, or credit accounts, and those needing accurate statements for tax, investors, or lenders.
  • Accounting software like Xero creates the matching debit and credit entries for you, which saves time and reduces manual errors.

What is double-entry bookkeeping?

Double-entry bookkeeping is an accounting method that records every transaction twice: once as a debit and once as a credit. This shows how each transaction affects two different accounts in your business, keeping your books balanced and accurate.

Here’s how double-entry works in practice:

  • Recording an expense: you note the expense and the matching decrease in your bank balance or increase in credit card debt
  • Making a loan payment: you record the payment leaving your bank account and the reduction in your loan balance

Because every transaction has to balance, the double-entry method protects the accuracy of your records. It also gives you a complete financial picture of your business at any time. You can learn the day-to-day basics in this guide to doing your own bookkeeping.

Who uses double-entry bookkeeping?

Double-entry bookkeeping is the standard for most businesses, whether you work alone or run a growing team. Very small businesses with simple finances might start with single-entry, but a double-entry system becomes essential as you grow.

It’s the method accountants and bookkeepers use, and it’s what lenders and investors expect to see. If you plan to apply for a loan, seek investment, or want a clear picture of your financial health, double-entry is the way to go.

Key principles of double-entry bookkeeping

Duality is the core principle of double-entry accounting. It means every transaction affects your business in two ways:

  • Taking out a loan: increases your debt while also increasing your bank balance
  • Making a sale: increases your cash while also reducing your inventory

This dual effect supports the accounting equation. When you enter transactions correctly, debits and credits balance each other out, and if they don’t, you know there’s an error to find and fix.

Your balance sheet shows all of your business’s assets, liabilities, and owner’s equity. These three elements connect through the accounting equation, explained below.

The accounting equation

The accounting equation is the foundation of double-entry bookkeeping. It states that your business’s assets equal the sum of its liabilities and equity: Assets = Liabilities + Equity.

Think of it like a set of scales, with what you own on one side and who funded it on the other. Every transaction must keep both sides level, so if the scales tip, your books contain an error.

Account types in double-entry bookkeeping

To keep your books organised, you sort transactions into five main account types:

  • Assets: what your business owns, like cash, inventory, and equipment, some of which loses value over time through depreciation
  • Liabilities: what your business owes, such as loans and credit card balances
  • Equity: the owner’s stake in the business, which is the difference between assets and liabilities
  • Revenue (or income): money your business earns from sales before any costs come out
  • Expenses: costs of running the business, like rent and salaries

How does double-entry bookkeeping work?

The double-entry system uses journals and a ledger to track every transaction. Each account in your business, such as your bank account, loans, expenses, and assets, has its own journal.

Here’s the basic process:

  • Record transactions: enter each transaction in the right journal, noting a debit in one account and a credit in another
  • Summarise balances: transfer journal totals to the general ledger to see all account balances in one place
  • Generate reports: use ledger data to create your balance sheet and other financial reports

Checking that total debits equal total credits is called balancing the books. If they don’t match, you know there’s a mistake somewhere in the ledgers.

Recording transactions

Every time your business has a transaction, you record it in at least two accounts, with the date and any relevant notes.

Here’s how debits and credits work:

  • Debits: increase asset and expense accounts; decrease liability and equity accounts
  • Credits: decrease asset and expense accounts; increase liability, revenue, and equity accounts

Say a customer pays Rp1.000.000 by card and your payment processor charges a Rp30.000 fee. You’d record it like this:

  • Sales journal: record Rp1.000.000 as a credit (revenue increased)
  • Bank account: record Rp970.000 as a debit (asset increased by the deposit)
  • Expense journal: record Rp30.000 as a debit (expense increased by the fee)

The result: Rp1.000.000 in credits balances Rp1.000.000 in debits (Rp970.000 + Rp30.000).

Posting to the ledger

The general ledger brings all your journal entries together in one central record. It organises transactions into five main categories:

  • revenue
  • expenses
  • liabilities
  • assets
  • equity

Each category shows its current balance, giving you a clear view of your financial position. For the card sale in the previous section, you post:

  • a Rp1.000.000 credit to revenue
  • a Rp30.000 debit to expenses
  • a Rp970.000 debit to assets

A profit and loss statement built from these numbers shows Rp1.000.000 in revenue, Rp30.000 in expenses, and Rp970.000 in profit. On the balance sheet, you’ll see Rp970.000 more in assets and a matching Rp970.000 increase in equity from current-year earnings.

Debits and credits

Debits and credits are the foundation of double-entry bookkeeping. Every transaction must have equal debits and credits to keep your books balanced.

Each account type also has a normal balance, which is the side that increases it:

  • Debit balance: assets and expenses
  • Credit balance: liabilities, equity, and revenue

An account sitting on its unusual side, like a credit balance in inventory, usually points to a missed or reversed entry. Checking normal balances is a quick way to spot errors before you run reports.

Benefits of double-entry bookkeeping

Double-entry bookkeeping has several advantages that help you run your business with confidence:

  • Greater accuracy: every transaction must balance, so errors show up as soon as debits and credits don’t match
  • Complete financial picture: see your assets, liabilities, and equity in one view
  • Fraud prevention: the dual-entry system makes it harder to hide unauthorised transactions
  • Better decision-making: accurate financial statements help you make informed choices about spending, pricing, and growth
  • Tax compliance: you keep the detailed records you need for accurate tax filing and potential audits
  • Investor and lender confidence: proper financial statements help when you’re seeking funding
  • Scalability: the system grows with your business and stays accurate

Double-entry bookkeeping examples

These examples show how common small business transactions work in a double-entry system. Each one names the account you debit and the account you credit.

Example 1: making a cash sale

You sell a product for Rp5.000.000 in cash and record these entries:

  • Debit: cash account Rp5.000.000 (asset increases)
  • Credit: sales revenue Rp5.000.000 (revenue increases)

Example 2: purchasing inventory on credit

You buy Rp10.000.000 of inventory from a supplier on 30-day terms and record these entries:

  • Debit: inventory Rp10.000.000 (asset increases)
  • Credit: accounts payable Rp10.000.000 (liability increases)

Example 3: paying a supplier

You pay the Rp10.000.000 you owe from the inventory purchase and record these entries:

  • Debit: accounts payable Rp10.000.000 (liability decreases)
  • Credit: cash account Rp10.000.000 (asset decreases)

Example 4: taking out a business loan

You receive a Rp100.000.000 loan from the bank and record these entries:

  • Debit: cash account Rp100.000.000 (asset increases)
  • Credit: loan payable Rp100.000.000 (liability increases)

In each example, the total debits equal the total credits, keeping your books balanced. Real months rarely have just one transaction, so the next example follows several linked entries across one month.

Worked example: a month of transactions in Rupiah

Imagine you open a small coffee shop in Bandung. Here’s how four linked transactions from your first month flow through your books.

First, you put Rp50.000.000 of your own savings into the business. You debit cash Rp50.000.000 because the business now has more money. You credit owner’s equity Rp50.000.000 because that money is your stake in the business.

Next, you buy Rp10.000.000 of coffee beans and other stock from a supplier on 30-day terms. You debit inventory Rp10.000.000 because you now own more stock. You credit accounts payable Rp10.000.000 because you owe the supplier.

Then you sell Rp8.000.000 of drinks for cash, so you debit cash Rp8.000.000 and credit sales revenue Rp8.000.000. The stock used for those sales cost Rp4.000.000. You record that by debiting cost of goods sold Rp4.000.000 and crediting inventory Rp4.000.000.

At the end of the month, you pay the supplier the full Rp10.000.000. You debit accounts payable Rp10.000.000 to clear what you owe, and credit cash Rp10.000.000 because the money has left your bank.

Now add up the month. Your debits total Rp82.000.000 (Rp50.000.000 + Rp10.000.000 + Rp8.000.000 + Rp4.000.000 + Rp10.000.000). Your credits also total Rp82.000.000, so your books balance.

The accounting equation checks out too. Cash is Rp48.000.000 (Rp50.000.000 + Rp8.000.000 − Rp10.000.000) and inventory is Rp6.000.000 (Rp10.000.000 − Rp4.000.000), so your assets total Rp54.000.000.

Accounts payable is back to Rp0, so your liabilities are Rp0. Equity is Rp54.000.000: your Rp50.000.000 investment plus the month’s Rp4.000.000 profit (Rp8.000.000 in sales minus Rp4.000.000 cost of goods sold). Assets of Rp54.000.000 equal liabilities of Rp0 plus equity of Rp54.000.000.

Single-entry vs double-entry: which is right for your business?

Single-entry bookkeeping records each transaction once, typically in a simple spreadsheet tracking income and expenses. Double-entry bookkeeping records each transaction twice, showing how it affects more than one account.

Single-entry bookkeeping works well in certain situations:

  • Very simple businesses with few transactions
  • Businesses without large assets, inventory, or loans
  • Sole traders tracking basic income and expenses

You need double-entry bookkeeping in these situations:

  • You have business assets, inventory, or equipment
  • You’ve taken out loans or have credit accounts
  • You need accurate financial statements for taxes, investors, or lenders
  • You want to catch errors before they become problems

The good news: most accounting software handles double-entry automatically. You enter the transaction once, and the software creates the matching entries behind the scenes.

How to set up double-entry bookkeeping for your business

Setting up a double-entry system takes some planning. These steps walk you through the process:

  1. Create your chart of accounts: list every account your business needs, such as bank accounts, loans, expenses, revenue, and assets
  2. Set up your journals: create a journal for each account type to record individual transactions
  3. Choose your software: select accounting software that automates double-entry, like Xero, or prepare manual ledgers
  4. Record your opening balances: enter current balances for all existing accounts
  5. Start recording transactions: log every transaction with matching debits and credits

Using online accounting software like Xero makes this process easier. The software guides you through setting up your chart of accounts and automates many of the entries for you.

How Xero simplifies double-entry bookkeeping

Accounting software takes the manual work out of double-entry bookkeeping. Xero handles the technical side automatically while you focus on running your business.

Here’s how Xero handles double-entry for you:

  • Automatic bank feeds: connect your bank account and Xero imports transactions daily
  • Smart categorisation: classify a transaction once, and Xero creates the matching debit and credit entries
  • Guided entries: get prompts for complex transactions like loans or asset purchases
  • App integrations: sync with your point-of-sale, invoicing, and payment systems so your data transfers smoothly
  • Real-time reports: see your balance sheet, profit and loss, and cash flow updated automatically

Automate double-entry bookkeeping with Xero

Double-entry bookkeeping gives you accurate books and a clear view of where your business stands. With Xero recording the matching debits and credits, you spend less time on data entry and more time running your business.

Choose a plan today and get one month free to see how easy balanced books can be.

FAQs on double-entry bookkeeping

Here are answers to some common questions about double-entry bookkeeping.

Is double-entry bookkeeping hard to learn?

Double-entry follows consistent rules that become second nature with practice, because every transaction always touches at least two accounts. Accounting software like Xero creates the matching entries for you, so you don’t calculate each debit and credit by hand.

What is the difference between a debit and a credit?

A debit is an entry on the left side of an account, and a credit is an entry on the right. In your books, a debit to your bank account means cash went up, yet your bank statement shows that deposit as a credit.

What is accounts receivable in double-entry bookkeeping?

Accounts receivable is the money your clients owe you, and it’s classified as an asset. When you invoice, you debit accounts receivable and credit revenue; when the client pays, you debit your bank account and credit accounts receivable.

What is accounts payable in double-entry bookkeeping?

Accounts payable is the money you owe suppliers or vendors, and it’s classified as a liability. When a bill arrives, you debit expenses and credit accounts payable; when you pay it, you debit accounts payable and credit your bank account.

Do all small businesses need double-entry bookkeeping?

Sole traders with simple income and expenses, no inventory, and no loans can often manage with single-entry. Most other businesses benefit from double-entry because it produces accurate financial statements and the records you need for tax and growth.

What are common double-entry bookkeeping mistakes to avoid?

The most common mistakes are misclassifying transactions, forgetting the second entry, entering wrong amounts, and leaving bank reconciliations too long. Accounting software reduces these errors by automating entries and flagging discrepancies.

Disclaimer

Xero does not provide accounting, tax, business or legal advice. This guide has been provided for information purposes only. You should consult your own professional advisors for advice directly relating to your business or before taking action in relation to any of the content provided.

Start using Xero for free

Access Xero features for 30 days, then decide which plan best suits your business.