Sub topic 7
Reconcile your records with statements
Reconciliation compares your own transaction records with the statement your bank or card issuer produced. It tells you whether your records are complete and correct. This chapter assumes you already record transactions with a sign convention (income positive, spending negative) and categorize them. It also assumes you can read a bank statement and do basic arithmetic. The code uses Python's Decimal type, but the method works the same in a spreadsheet.
Why reconcile
A monthly summary is only as good as the records behind it. Three kinds of error are common in personal records:
- A transaction is missing, for example a cash withdrawal you never logged or an automatic payment you forgot.
- A transaction is wrong, for example a typo (
-86.40entered as-68.40) or the wrong sign. - A transaction is duplicated, for example when an import and a manual entry both capture the same purchase.
Each error shifts your totals by an amount you cannot see from the summary alone. Reconciliation catches all three because the statement is an independent record of the same period. It was produced by the institution, not by you.
Reconciliation also catches errors on the other side. Banks do charge fees you did not expect, and occasionally post a charge you did not make. Your records are not always the part that is wrong.
The balance check
The simplest test uses three numbers from the statement and one from your records:
- The opening balance on the statement.
- The closing balance on the statement.
- The sum of your recorded transactions for the same account and the same statement period.
If your records are complete and correct, this holds:
opening balance + sum of your transactions = closing balanceThe difference between the two sides is what you need to explain. A difference of zero means your records agree with the statement in total. A nonzero difference means at least one transaction is missing, wrong, or duplicated.
from decimal import Decimal
opening = Decimal("1800.00")
transactions = [Decimal("2500.00"), Decimal("-1200.00"), Decimal("-86.40")]
statement_closing = Decimal("3013.60")
difference = opening + sum(transactions) - statement_closing
print("Reconciled" if difference == 0 else f"Off by {difference}")Here 1800.00 + 2500.00 − 1200.00 − 86.40 = 3013.60, so the script prints Reconciled.
Decimal matters here. With ordinary floating-point numbers, sums like 0.1 + 0.2 are not exactly 0.3. Your difference could then be a tiny nonzero value that is not a real error. Build Decimal values from strings (Decimal("86.40")), not from floats (Decimal(86.40)), or the float's rounding error is carried into the value.
Reconcile one account at a time
Reconcile each account separately: checking, savings, each credit card. The balance check only works when the records and the statement cover the same set of money. If you combine accounts, a missing transaction in one account can hide behind an extra one in another.
Match the period exactly. Use the statement's start and end dates, not calendar month boundaries. A statement that runs from the 12th to the 11th will not agree with records filtered to the 1st through the 31st.
Credit cards need a sign decision. A card statement shows a balance you owe. Pick one representation and use it consistently. A common choice is to treat the card as an account whose balance is negative when you owe money. Then purchases reduce the balance, and payments from your checking account increase it.
Watch for transfers. A payment from checking to a credit card appears in both accounts. In the checking account it is spending of money out. In the card account it is money in. If you categorize it as spending in both, you count the same money twice. Give transfers their own category so they stay out of your spending totals, but keep them in the account records so each account still reconciles.
When the difference is not zero
Work through the difference rather than guessing. Start by looking at its size and sign.
| Clue | Likely cause |
|---|---|
| Difference equals one transaction amount exactly | That transaction is missing or duplicated |
| Difference is twice a transaction amount | The sign is wrong on that transaction |
| Difference is a small round number such as 5.00 or 12.00 | A bank fee or interest you did not record |
| Difference is 9, 18, 27, ... times a digit | A transposed digit, for example 86.40 entered as 68.40 (difference 18.00) |
| Difference equals the sum of a few recent items | Timing: items you recorded have not posted yet |
The sign-flip clue is worth remembering. If you entered -45.00 as 45.00, your records are off by 90.00, which is twice the transaction.
The transposition clue follows from arithmetic. Swapping two adjacent digits always changes a number by a multiple of 9. If your difference is divisible by 9 and no single transaction explains it, check for a transposition.
Timing differences
Not every mismatch is an error. A purchase you made on the 30th may post to the account on the 2nd. It is in your records for the old period and on the statement for the new one. These are timing differences, also called outstanding items.
Handle them by listing them explicitly. Treat a transaction as outstanding only if you can point to it posting on the next statement. After you account for outstanding items, the remaining difference should be zero.
opening balance + recorded transactions - outstanding items
= closing balance on statementKeep a short list of outstanding items each month and clear it on the next reconciliation. If an item stays outstanding for more than a billing cycle or two, investigate it. A check that never clears or a charge that never posts may be a real problem.
Match line by line
When the total is off and the cause is not obvious, compare the two lists transaction by transaction. This script finds records that exist on one side only. It matches on amount alone, which keeps it simple and tolerates the date shifts described above.
from collections import Counter
from decimal import Decimal
ledger = [
Decimal("2500.00"),
Decimal("-1200.00"),
Decimal("-86.40"),
Decimal("-4.75"),
Decimal("-92.10"),
]
statement = [
Decimal("2500.00"),
Decimal("-1200.00"),
Decimal("-86.40"),
Decimal("-4.75"),
Decimal("-5.00"),
]
ledger_only = Counter(ledger) - Counter(statement)
statement_only = Counter(statement) - Counter(ledger)
print("In your records but not on the statement:")
for amount in ledger_only.elements():
print(f" {amount}")
print("On the statement but not in your records:")
for amount in statement_only.elements():
print(f" {amount}")
gap = sum(ledger) - sum(statement)
print(f"Total gap (records - statement): {gap}")The output shows -92.10 in your records only and -5.00 on the statement only. The gap is -87.10, which is -92.10 - (-5.00). Two findings follow. The -92.10 is probably a bill you recorded that has not posted yet, so check the next statement. The -5.00 is a fee you did not record, so add it to your records.
Counter handles repeated identical amounts correctly. If you bought two coffees at 4.75 and recorded only one, a plain set comparison would miss it. The counter subtracts one occurrence at a time.
The limits of amount-only matching are real. Two different transactions with the same amount can pair up wrongly, which hides a mistake in the description or category. For small personal ledgers this is usually acceptable. If you need more precision, match on amount and a date window of a few days.
The reconciliation process
The steps below fit in the following flow. Run them once per account per statement.
Record the result. A simple note such as "Checking, October, reconciled on 2026-11-03" is enough. It tells you later which months you can trust. Do not edit already-reconciled periods casually. If you must change one, reconcile it again.
Common mistakes
- Forcing a match with a plug. Adding an "adjustment" transaction equal to the difference makes the equation true and the error invisible. Use a plug only when you have searched and the amount is small, and label it clearly. A repeated plug in the same account is a sign of a systematic problem.
- Reconciling too rarely. One error is easy to find. Six months of errors can offset each other. Reconcile at least monthly, which fits the routine in a later chapter.
- Ignoring the opening balance. If this month's opening balance does not equal last month's closing balance in your records, the problem is in an earlier period. Fix that first.
- Trusting imports blindly. A bank export is closer to the statement than hand entry is, but it can still double-count when you import overlapping date ranges. Check for duplicates after each import.
- Mixing pending and posted items. Online banking shows pending transactions that may change amount or disappear. Reconcile against the final statement, not the live view.
What reconciliation does and does not prove
A reconciled account proves the total of your records agrees with the bank. It does not prove each category is right. If you recorded a 60.00 grocery trip as Dining, the total still reconciles and your category summary is still wrong. Reconciliation protects the amounts and the completeness of your data. Checking categories is a separate review, covered when you build the monthly summary.
Offsetting errors can also pass the check. A missing 20.00 expense and an extra 20.00 duplicate cancel out. Line-by-line matching exposes these, which is why it is worth doing occasionally even when the totals agree.
Exercise
Your opening balance is 1,000.00 and your records show transactions of +2,000.00, -750.00, and -45.00. The statement's closing balance is 2,160.00. What is the difference (records minus statement), and what is the most likely explanation?
Show answer
Your records give 1,000.00 + 2,000.00 - 750.00 - 45.00 = 2,205.00. The statement closing balance is 2,160.00, so the difference is 45.00. That equals one transaction exactly, so the -45.00 is probably duplicated in your records. A matching extra -45.00 on the statement side is not present. Check whether the 45.00 was recorded twice, or whether a -90.00 charge was recorded as -45.00 and a bank fee of 45.00 is missing from your records.
Exercise
A statement closing balance is 3,003.85. Your records produce 2,916.75, and the line-by-line check shows -92.10 in your records only and -5.00 on the statement only. Show that these two items explain the difference, and say what you do about each.
Show answer
Records minus statement is 2,916.75 - 3,003.85 = -87.10. The two items give -92.10 - (-5.00) = -87.10, so they explain the whole difference. The -92.10 is likely a timing difference, so list it as outstanding and confirm it posts on the next statement. The -5.00 is a bank fee missing from your records, so add it to your records.