esaFiskaly
Regulation snapshot — not formal tax advice. Learn more

Double-entry accounting basics

Debits, credits, and why a journal must always balance.

Double-entry bookkeeping has been the global standard since the 15th century. The rule is simple: every transaction affects at least two accounts, and the total debits = total credits.

That single discipline is the system's primary defence against errors: if a journal does not balance, the system rejects it — mistakes are caught immediately, not at audit.

The ground rules

Debits on the left, credits on the right.

For every transaction: Σ Debits = Σ Credits.

Whether "debit increases" or "decreases" depends on the account family.

FamilyNormal sideDebitCredit
AssetDebit+ up− down
ExpenseDebit+ up− down
LiabilityCredit− down+ up
EquityCredit− down+ up
RevenueCredit− down+ up

Quick mnemonic: Assets & Expenses go up on debit; everything else goes up on credit.

Worked examples

Coffee shop cash sale Rp 25,000 (VAT inclusive)

Dr. Cash/Bank               25,000
   Cr. Revenue                    22,523
   Cr. Output VAT                  2,477

Total debit 25,000 = total credit (22,523 + 2,477). Balanced ✓.

Raw material purchase Rp 10,000,000 cash

Dr. Raw Material Inventory   10,000,000
   Cr. Cash/Bank                       10,000,000

Monthly payroll Rp 18,000,000 (PPh 21 withheld Rp 850,000, BPJS Rp 2,000,000)

Dr. Salary Expense           18,000,000
   Cr. PPh 21 Payable                     850,000
   Cr. BPJS Payable                     2,000,000
   Cr. Cash/Bank                       15,150,000

Three credits, one debit — what matters is that the totals match.

Why double-entry matters

  • Audit-proof: auditors can trace each amount in the P&L/Balance Sheet back to its source journal.
  • Automatic validation: an unbalanced journal is rejected — errors are caught in seconds.
  • Foundation of the financial statements: without double-entry, the Balance Sheet and P&L cannot remain mutually consistent.

How esaFiskaly enforces it

  1. 1
  2. 2

    Before a journal is saved, the backend sums debits and credits. If the difference exceeds Rp 0.01 (rounding tolerance), the journal is rejected with an explicit error.

  3. 3
  4. 4

    POS, invoices, payroll, purchases — each module produces its own balanced journal. SME users never have to write debit/credit lines by hand.

  5. 5
  6. 6

    Posted journals cannot be deleted — only reversed by a new journal that flips the debits and credits. History stays intact.

Frequently asked

Q.Do I need to understand debits and credits to use esaFiskaly?
No. SME users only interact with invoices, POS and expense uploads. Double-entry journals are produced automatically behind the scenes. Consultants and auditors can still inspect and audit the raw journals.
Q.How do I correct a wrong journal?
Use the Reverse function in the Journal module. The system creates a reversing journal with clear date and reference. The original entry stays intact for the audit trail.
Q.Is single-entry OK for a small SME?
OK for personal record-keeping, but it does not meet PSAK / SAK ETAP standards required for the corporate annual SPT. For Individual UMKM under PP 55/2022 (Final 0.5%) revenue tracking alone is enough — but double-entry still gives a more accurate picture of the business.

Next