Money always comes from somewhere
Think about pouring water between two buckets. The water that leaves the first bucket is exactly the water that fills the second. Nothing is created, nothing is lost — it just changes place. You can always check that the amounts match. A core banking system records money the same way. Every movement has two parts:
- Where it came from — the source
- Where it went — the destination
This is why it’s called double-entry: every movement is written down on both sides — once as it leaves, once as it arrives. A single-sided record makes mismatches harder to detect; recording both sides gives the system an arithmetic constraint to check.
The two sides have names: debit and credit
The two sides of a movement have traditional names. Don’t let them intimidate you — in this movement, they describe the recorded source and destination:
- A debit is the entry on the account that money moves out of.
- A credit is the entry on the account that money moves into.
Why both sides are always required
Because every movement is recorded on both sides, the totals always have to match. The sum of everything that left equals the sum of everything that arrived. If they don’t balance, something is wrong — and the system won’t let the movement through. This rule — the two sides must balance — is an important consistency control: Midaz validates that the source total, the destination total, and the sent value all match. This check catches a recorded amount mismatch, but it does not by itself prove authorization, classification, or completeness. Every recorded movement can still be traced to its source and destination.
In short
- Money doesn’t appear or disappear — it moves from a source to a destination.
- Double-entry means every movement is recorded on both sides. In the transfer shown here, the source has a debit and the destination a credit.
- Matching sides are a consistency control: the source total, the destination total, and the sent value must match. This catches recorded amount mismatches, while authorization, classification, and completeness need separate controls.
- A single debit or credit is called an operation.
See it in LerianSee these ideas in practice: Transactions and the Glossary.

