Journal entries: two sides, equal totals
A journal entry records one transaction: a date, a memo, and at least one debit and one credit. The debits are written in the left column and the credits in the right, and the two columns must total the same amount. An entry that does not balance cannot be posted.
Some illustrative examples. A customer pays an open invoice: debit Cash $5,000; credit Accounts receivable $5,000. You receive a bill for the month’s hosting: debit Hosting expense $8,000; credit Accounts payable $8,000. You pay it: debit Accounts payable $8,000; credit Cash $8,000. An investor wires a SAFE: debit Cash $500,000; credit SAFE liability $500,000. Each entry keeps assets equal to liabilities plus equity, which is why the balance sheet holds.
An entry can have more than two lines. A payroll run has one debit for wages and credits for net pay, each tax withheld and each benefit deduction. What matters is that the total of the debit column equals the total of the credit column.
Normal balances
Each type of account increases on one side, its normal balance, and decreases on the other:
A balance on the wrong side is a signal worth chasing. Accounts payable with a debit balance means a bill was paid twice or a payment was never matched to its bill. Cash with a credit balance means the books show an overdraft the bank may not.
- Assets: debit. Cash, receivables, prepaids, equipment.
- Expenses: debit. Payroll, software, rent, hosting.
- Liabilities: credit. Payables, accruals, deferred revenue, SAFEs, loans.
- Equity: credit. Common and preferred stock, paid-in capital, retained earnings.
- Revenue: credit. Subscriptions, services, interest income.
- Contra accounts run the other way: accumulated depreciation is a credit against an asset; refunds and discounts are debits against revenue.
The ledger and its running balance
The general ledger sorts every posted entry by account. Each account page lists, in date order, the date, the memo, the debit, the credit and the running balance after each line. The running balance is computed, never typed: the opening balance, plus debits less credits for a debit-normal account, or plus credits less debits for a credit-normal one.
Take an illustrative accounts receivable account with an opening balance of $18,500. An invoice for $6,400 is a debit and takes it to $24,900. A $3,200 payment is a credit and brings it to $21,700. A $450 credit memo is a credit and brings it to $21,250. At month end the balance should equal the total of open invoices on the aging report. If it does not, one of the lines above it is wrong, and the ledger tells you exactly which entries to check.
The trial balance
A trial balance lists every account with its closing balance in a debit column or a credit column, on one date. The two columns must total the same. It is the first report pulled at month end, and the source from which the balance sheet and income statement are built.
A balanced trial balance proves only that every posted entry balanced. It does not catch an expense posted to the wrong account, a transaction recorded twice on both sides, or one never recorded at all. Those are found by reconciling each balance to something outside the books: the bank statement, the payroll provider, the Stripe balance, the contract.
Posted entries are reversed, never edited
Once an entry is posted and the month is reported, it is part of the record. If it was wrong, you do not change it. You post a new entry that reverses it, the exact mirror with debits and credits swapped, and then post the correct one. Or, for a misclassification, you post a reclassification that moves the amount from the wrong account to the right one.
An illustrative case. In August a $1,200 software subscription was posted as rent, in a month already closed and sent to investors. In September, the open month, post: debit Software $1,200; credit Rent $1,200, with a memo naming the original entry. August still says what it said when it was reported. September carries the correction, with a date and an author. Under US GAAP, a material error in issued statements is corrected and disclosed under ASC 250 rather than overwritten; at a small company, most errors are immaterial and are fixed this way in the current period.
Editing in place is what makes books untrustworthy. A figure that was $40,000 in the board deck and is $38,800 in the ledger, with no entry to explain the difference, is the kind of thing diligence finds, and it costs more to explain than to have done right.
Period locks
A closed month is locked so nothing can be posted into it by accident. QuickBooks Online calls this a closing date; Xero calls it a lock date. Once the month is reviewed and reported, set the lock, and from then on every correction lands in the open period as a dated entry.
Locks also stop the quieter problem: a bank rule, an integration or a teammate re-categorizing a transaction in a prior month, which changes a number you already sent without anyone noticing. If a closed month needs reopening, someone should decide to do it, write down why, and lock it again.
What to check in your own ledger
Five checks that take minutes and catch most of what goes wrong:
- Every balance-sheet account ties to an outside source at month end.
- No account has a balance on the wrong side without a known reason.
- Manual journal entries carry a memo saying what and why, and someone other than the author reviewed them.
- Corrections to closed months are dated in the open month, not edits to the original.
- The closing date or lock date is set to the last reviewed month.
Common questions
Is a debit good or bad?
Neither. Debit means left and credit means right; they are positions, not judgments. A debit raises an asset or an expense and lowers a liability, equity or revenue. A credit does the opposite. Your bank calls a deposit a credit because, on the bank’s own books, your balance is a liability it owes you.
What is the difference between a journal and a general ledger?
The journal is the record of entries in date order, each with its debits and credits. The general ledger is the same entries sorted by account, with a running balance for each. In QuickBooks Online and Xero you post to the journal and the ledger is built from it automatically.
If the trial balance balances, are the books right?
Only that debits equal credits. A trial balance balances even if an expense was posted to the wrong account, an entry was posted twice on both sides, or a transaction was never recorded. Reconciliation is what catches those.
How do I fix a mistake in a month that is already closed?
Book a correcting entry in the open month: reverse the wrong entry, or reclassify the amount, with a memo saying what was wrong and why. Do not unlock the closed month and edit it. The statements you already sent still say what they said, and the correction has a date and an author.
Why show debits and credits in two columns instead of one signed number?
Debit on the left, credit on the right, each in its own column. A single signed column hides which side an entry was posted to, and a reversal can look like a new transaction. Every ledger and trial balance in accounting software shows two columns for that reason.
Deciding who keeps your books? Digits vs Lopifi: AI ledger or kept books · Puzzle vs Lopifi: AI accounting compared
Terms in this guide
Each one has its own page in the founder glossary. Hover for the short version, or open the full entry.
- Balance sheetUS GAAP · ASC 210
- Journal entryConvention
- Accounts receivableUS GAAP · ASC 310
- Accounts payableUS GAAP · ASC 405
- Prepaid expensesUS GAAP · ASC 340-10
- Deferred revenueUS GAAP · ASC 606
- SAFEEquity · Y Combinator
- Priced roundEquity · ASC 505
- Retained earningsUS GAAP · ASC 505
- Trial balanceConvention
- Debits and creditsConvention
- US GAAPUS GAAP · ASC 105-10
Keep going
From here: a free tool to try it on your own numbers, the lesson behind it and the software it names.
- Free toolJournal entry balancerPaste an entry, see the out-of-balance, and copy an import-ready CSV.
- Free toolPrepaid & deferred releaseA premium paid on the 17th does not release in twelve equal slices. Day-weighted, or even — your call.
- Lesson 5 · 13 minRecording the monthThirteen things happened to Northwind in September. Here is every one of them turned into an entry, with the reasoning that produced it.
- In your booksQuickBooks in your booksIntuit's cloud accounting system, and the general ledger most US startups use.
- In your booksXero in your booksA cloud accounting system that plenty of startups and their accountants prefer.
Want this handled without thinking about it?
Lopifi is building AI bookkeeping that keeps your books closed on US GAAP as transactions happen, watches deadlines like the ones above, and has a CPA review everything each quarter, for $200 a month. We’re not open yet.
More founder guides
- SetupChart of accounts for startups: a starting templateA starting chart of accounts for a US startup: number ranges, the expense accounts you need, and when to add an account versus a class or tracking tag.
- StatementsBalance 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.
- StatementsCash flow statement explained: why profit isn’t cashHow the cash flow statement starts at net income, adds back non-cash costs and working capital, splits three activities and ties to the balance sheet.
- CashBank reconciliation step by stepMatch the bank statement to the books, clear deposits in transit and outstanding checks, book the fees, and reach a $0.00 difference every month.
General information for US companies, not tax, legal or accounting advice for yours. Rules and thresholds change; confirm the specifics with a CPA before you act on them.