Skip to content
Glossary · Payments and fintech

Double-entry bookkeeping

Also called double entry, double-entry accounting.

Definition

Recording every transaction as equal debits and credits in at least two accounts, so the books always balance.

Last updated

What it is.

In double-entry bookkeeping, money never appears or disappears. Every transaction moves value from one account to another, so each one has at least one debit and one credit, and the totals are equal. If the sum of all entries is not zero, something is wrong.

Software ledgers use the same rule. A customer payment debits the cash account and credits the customer's balance; a fee moves value from the customer to a revenue account.

Why it matters

The balancing rule is a built-in error check. Bugs that create or lose money show up immediately as an imbalance, instead of months later in an audit. It also gives finance teams records they can use directly.

In a product build

Designing accounts and posting rules for each money flow, with database checks that every transaction balances, is one of the first pieces of a fintech or marketplace build.

Watch out

Common mistakes.

  1. 01

    Single-entry tables that record a payment once, with nothing to balance against.

  2. 02

    Allowing a transaction to be written partly, so one side exists without the other.

  3. 03

    No clear chart of accounts, so similar money ends up in different places.

Tools

Work it out with a tool.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab