Double-entry bookkeeping is an accounting system where every financial transaction affects at least two accounts: a debit in one and a credit of equal value in another. Because both sides are always recorded, total debits equal total credits and the books stay in balance. If they do not balance, there is an error to find. It is the system behind every balance sheet and income statement, and the one all mainstream accounting software runs on.
This guide walks through how double-entry bookkeeping works in practice: the accounting equation, the debit and credit rules, the path from journal to ledger to trial balance, and a set of worked entries for an online brand. If you would rather have the entries kept for you, our bookkeeping services for small businesses run double-entry books and close them every month.
What is double-entry bookkeeping?

The IRS explains the system plainly in Publication 583: a double-entry system uses journals and ledgers. Transactions are first entered in a journal and then posted to ledger accounts. Each account has a left side for debits and a right side for credits. The system is self-balancing because every transaction is recorded as a debit in one account and a credit in another, so total debits must equal total credits after posting. If they do not, you have made an error and must find and correct it.
Think of it less as recording transactions and more as explaining movement. If cash goes up, where did it come from: a sale, a loan, an owner contribution, a customer deposit? If you pay a bill, what did you reduce: cash, a payable, a liability you already recorded? Double-entry bookkeeping makes you answer both halves every time.
The accounting equation that holds everything together
Double-entry bookkeeping is governed by a single equation:
Assets = Liabilities + Equity
| Element | What it represents | Examples |
|---|---|---|
| Assets | What the business owns or is owed | Cash, inventory, receivables, equipment |
| Liabilities | What the business owes | Supplier bills, loans, sales tax payable, deferred revenue |
| Equity | The owners’ stake | Capital invested, retained earnings |
Revenue and expenses sit inside equity: revenue increases it and expenses reduce it, and at year end they close into retained earnings. Every entry preserves the equation. A $10,000 loan raises cash (an asset) and the loan balance (a liability) by the same amount. A $2,000 sale for cash raises cash and revenue, and so equity, together.
Debits and credits: the rules
Debit means the left side of an account and credit means the right side. Neither means good or bad. As Xero’s guide sets it out, debits increase asset and expense accounts, and credits increase liability, revenue and equity accounts.
| Account type | A debit | A credit | Normal balance |
|---|---|---|---|
| Assets | Increases | Decreases | Debit |
| Expenses | Increases | Decreases | Debit |
| Liabilities | Decreases | Increases | Credit |
| Equity | Decreases | Increases | Credit |
| Revenue | Decreases | Increases | Credit |
Two further account kinds matter for online sellers. Contra-revenue accounts, such as refunds and discounts, carry debit balances and reduce gross sales. Clearing accounts hold money in transit between a sales channel and the bank, such as a Shopify or Amazon payout that has been earned but not yet deposited.
How double-entry bookkeeping works in practice

Every transaction touches at least two accounts, and the work follows the same four steps.
- Chart of accounts. A numbered list of every account the business uses, grouped into the five types above. It decides where each entry can land.
- Journal. Each transaction is recorded as an entry: the date, the accounts, the debit and credit amounts and a description. Software creates most entries from bank feeds, invoices and bills, but each one is still a journal entry underneath.
- Ledger. Entries are posted to the general ledger, one running balance per account. Reading that ledger is its own skill, covered in our guide to reading a bookkeeping ledger.
- Trial balance. At period end every account balance is listed. Total debits must equal total credits before the income statement and balance sheet are produced.
Double-entry bookkeeping examples for an online brand
These entries follow one brand through a month. Amounts are illustrative.
1. Buying inventory on credit. The brand receives $18,000 of stock, payable in 30 days.
| Account | Debit | Credit |
|---|---|---|
| Inventory | $18,000 | |
| Accounts payable | $18,000 |
2. A day of online sales, net of fees. Orders total $5,000 plus $400 sales tax collected. The payment processor keeps $160 in fees and will settle the rest in two days.
| Account | Debit | Credit |
|---|---|---|
| Processor clearing | $5,240 | |
| Payment processing fees | $160 | |
| Sales revenue | $5,000 | |
| Sales tax payable | $400 |
3. Recording the cost of what sold. The units sold cost $1,900.
| Account | Debit | Credit |
|---|---|---|
| Cost of goods sold | $1,900 | |
| Inventory | $1,900 |
4. The payout reaches the bank.
| Account | Debit | Credit |
|---|---|---|
| Cash | $5,240 | |
| Processor clearing | $5,240 |
5. A refund. A customer returns a $120 order and the stock goes back on the shelf at its $45 cost. Sales tax on the refund is left out to keep the entry short.
| Account | Debit | Credit |
|---|---|---|
| Sales returns and refunds | $120 | |
| Processor clearing | $120 | |
| Inventory | $45 | |
| Cost of goods sold | $45 |
6. Paying the supplier.
| Account | Debit | Credit |
|---|---|---|
| Accounts payable | $18,000 | |
| Cash | $18,000 |
Nothing disappears; value moves. After these six entries the processor clearing account holds a $120 credit balance, which is the refund waiting to be netted against the next payout. If that balance is still there next month, something was missed. That is double-entry bookkeeping catching an error that a simple list of deposits would never show.
The trial balance check
A short trial balance for the entries above, before any other activity, shows the rule at work.
| Account | Debit | Credit |
|---|---|---|
| Cash | $12,760 | |
| Inventory | $16,145 | |
| Processor clearing | $120 | |
| Sales tax payable | $400 | |
| Sales revenue | $5,000 | |
| Sales returns and refunds | $120 | |
| Cost of goods sold | $1,855 | |
| Payment processing fees | $160 | |
| Total | $18,280 | $18,280 |
The totals match. (Cash shows a credit only because the example starts from zero; a real business would have an opening balance.) A trial balance that matches does not prove every entry is right. A sale posted to the wrong revenue account still balances. It proves only that every entry has two equal sides, which is why reconciliations and review sit on top of it.
Single-entry vs double-entry, in brief
A single-entry system records each transaction once, usually in a cash book of income and expenses. Publication 583 calls it the simplest to maintain and practical for a new small business, and notes that a double-entry system is often better because it has built-in checks and balances. Single-entry cannot produce a balance sheet and does not track what is owed. For the full comparison and when to move from one to the other, see single-entry vs double-entry bookkeeping.
Why double-entry bookkeeping still matters

When volume is low, money in and money out can be enough. Then the business grows. Payments arrive through several gateways, refunds show up days later, inventory is bought, returned and written off, and marketplaces hold funds. A list of transactions then tells you what happened, not what is true. Double-entry bookkeeping gives each transaction a logical home, makes mismatches visible as reconciliation differences, and keeps the income statement and balance sheet consistent with each other.
Where double-entry bookkeeping often breaks down
Software enforces the mechanics, not the judgment. The system can balance and still be wrong. Common breakdown points:
- Bank feeds categorized by rule without anyone checking the edge cases
- Payouts recorded as revenue, which hides fees, refunds and sales tax inside one number
- Clearing accounts that are never reconciled, so old differences pile up
- Manual journal entries with no support or review
- Accounts used inconsistently from month to month
The fix is rarely new software. It is reconciliation discipline: bank, card and clearing accounts tied out every month, with each adjustment documented.
How Atidiv supports double-entry bookkeeping
Atidiv’s finance team keeps double-entry books for growing businesses. Our approach focuses on daily transaction review to prevent misclassification, a month-end close built around reconciliations, clear documentation for every journal entry and adjustment, and multi-stage checks before financial reports are final. If your books technically balance but still feel unreliable, that is usually a process issue, not a software problem. See our bookkeeping services or contact us to walk through your setup.
Related guide: Bookkeeping Examples: 12 Everyday Entries and 5 Tasks Automation Makes More Accurate
Frequently asked questions
What is double-entry bookkeeping? What is the double-entry system?
Double-entry bookkeeping is an accounting system where every financial transaction affects at least two accounts. For every debit there is a credit of equal value. When a business receives payment from a customer, cash increases and the receivable or revenue account records the other side. Recording each transaction from two sides gives a complete view of the financial position and makes errors easier to find.
What is the simplest way to explain double-entry bookkeeping?
Every transaction is recorded in two places, so the source and the use of value are both captured. If cash goes up, something else must change too: revenue, a loan or a receivable.
What is the golden rule of double-entry bookkeeping?
Total debits must always equal total credits. Debits increase assets and expenses; credits increase liabilities, revenue and equity.
Do small businesses really need double-entry bookkeeping?
Once you invoice customers, owe suppliers, hold inventory or use payment processors, yes. Publication 583 notes that single-entry is the simplest to keep but that double-entry has built-in checks and balances for accuracy and control.
If my software uses double-entry bookkeeping, why do errors still happen?
Software posts entries based on how transactions are coded. If something is categorized incorrectly, the books still balance while being wrong. Reconciliations and review catch what the software cannot.
What is a common sign that double-entry bookkeeping is breaking down?
Reconciliations take longer each month, the same accounts show unexplained differences, and the balance sheet carries balances nobody can explain.
How does double-entry bookkeeping help with audits or lender reviews?
It leaves a trail. A reviewer can trace a number on a statement back to the ledger, the journal entry and the supporting document without guessing.