Journal entry balancer
Paste an entry, see the out-of-balance, and copy an import-ready CSV.
- Runs
- In this tab
- Data sent
- None
- Rounding
- Once, at the end
- Also in
- The Chrome extension
Journal entry balancer, worked
Showing a worked example — type over it
Result
How the journal entry balancer works.
Journal entry balancer: paste or key lines, see the debit/credit totals, the out-of-balance, and copy an import-ready CSV.
Quoted from the toolbelt spec, the document this tool was built against.
Where these numbers come from.
Negatives are parenthesised because that is what a statement does. The rest is four promises.
Minor units, never floats
Amounts are integers in the currency's smallest unit, end to end. A float never touches a cent.
Rounded once
Rounded once, at the end — never per operand, which is how a split stops summing to the whole.
Unit tested
The arithmetic lives in one unit-tested module, shared without reimplementation with the extension.
No network
There is no request to make. What you type stays in this tab and is gone when you close it.
More in the ledger itself
Read it in context
- Founder guide · 7 minBalance sheet explained for startupsAssets equal liabilities plus equity. What each startup line means, from deferred revenue to the SAFE and the accumulated deficit, and why it must balance.
- Founder guide · 6 minGeneral ledger and double-entry bookkeeping, explainedHow double entry works: journal entries, debits and credits, normal balances, running balances, the trial balance, and why posted entries are reversed.
- Founder guide · 3 minCan you vibe code your startup’s accounting?AI coding tools build a finance dashboard in an afternoon, but not a closed, reconciled, GAAP-basis ledger. Where the line is, and how to stay inside it.
The same number, elsewhere.
A calculator answers the question once. These carry the answer into a product, name what it computed, and argue the method.
- ComponentJournalEntryDebit and credit as two columns. No signed-column variant.
- ComponentJournalEntryFormLine grid with live balance check and dimension capture.
- ComponentJournalEntryTableAll entries, with the gapless-numbering check.
- TermJournal entryA balanced set of debit and credit lines posted to the GL
- TermNormal balanceThe side that increases an account — debit for assets and expenses, credit for liabilities, equity and revenue, inverted for a contra account
- TermPostingCommitting an entry to the ledger, making it immutable
- TermDouble-entryRecording every transaction as equal debits and credits, so the ledger proves itself
- DocThe accounting modelEvery component in Lopifi sits on top of one data model. If the model is wrong, no amount of design saves the product. This document is the model.
- EntryJournal entry for accrued expensesAt month-end, debit the expense and credit Accrued expenses for work received but not yet billed. Reverse the accrual on the first day of the next month, then book the vendor's bill as usual when it arrives.
- DocCurrency decimal placesHow many decimals each ISO 4217 code is stored at — JPY 0, USD 2, KWD 3.