The three ways a bank statement CSV lies to your accounting software
A CSV that imports without an error is not a CSV that imported correctly.
I'm not an accountant. I build small single-file browser tools, and this year I spent a while on one narrow problem: bank and card statement exports that go into Xero or QuickBooks Online. The expensive mistakes in that pipeline are silent. Nothing throws an error, nothing turns red, and three weeks later the books are off and nobody knows which file did it.
These are the three failures I check for now, every file, before it goes near the accounting software.
1. The date that means two things
03/04/2026 is a valid date in a day-first file (3 April) and in a month-first file (4 March). Both parse fine. The file imports. The transactions just land in the wrong month, and if the export is a quarter, some of them land in the wrong quarter.
You can't fix it per row, because the row itself doesn't know what it means. What does work: count the ambiguous dates, then look at the unambiguous ones in the same file. If any date has a first field above 12, the file is day-first. If any has a second field above 12, it is month-first. That convention is usually consistent across the whole export, so the ambiguous rows can be read the same way - and the code should say out loud how many rows it decided for you.
2. The flipped sign
A credit card export often lists purchases as positive numbers, with a separate column that marks the direction. Others use two columns - Debit/Credit, Money In/Money Out, Soll/Haben, Belastung/Gutschrift. Accounting software usually wants one signed amount column.
Merge those two columns the wrong way and every card purchase becomes income. The totals stay plausible, the import succeeds, and the balance in the software stops matching the bank. Before merging, check whether the debit column is all positive and whether anything in the file is already signed; mixed signs are the tell that a sign has already been applied twice.
3. The truncated export
Banks cap their exports. 5,000 rows is a common limit, and a busy account hits it. The CSV ends mid-period, looks complete, and imports without complaint.
The check that catches it is the balance chain: for every row, the previous balance plus this row's amount should equal this row's balance. If it doesn't, either a row is missing, an amount was misread, or the export was cut. The difference tells you how much is missing.
// every row must satisfy: prevBalance + amount === balance let prev = openingBalance; const breaks = []; rows.forEach((row, i) => { if (row.balance == null) return; if (prev != null && Math.abs(prev + row.amount - row.balance) > 0.005) { breaks.push({ row: i + 2, // header line + 1-based expected: +(prev + row.amount).toFixed(2), found: row.balance, diff: +(row.balance - prev - row.amount).toFixed(2), }); } prev = row.balance; }); No balance column? Fall back to opening and closing totals: sum the amounts and compare with closing minus opening. It is weaker, but it still catches a cut export.
Why I kept it offline
All three checks run on the file itself, so there is no reason for the file to travel. Client account data is the one thing a bookkeeper should not paste into a random web app, so the tool is a single HTML file: no account, no upload, no telemetry, no CDN fonts, and it runs with Wi-Fi off. Under the hood it is plain JavaScript - a CSV parser, a small XLSX reader on top of DecompressionStream, the checks above, and CSV writers for Xero, QuickBooks Online, a generic export and an audit trail.
What it deliberately does not do
- PDF statements. It starts from the CSV, TSV or Excel export. PDF parsing is a different, much bigger product.
- Categorisation. It verifies and reshapes the file; the coding still happens in Xero or QuickBooks.
- Bank feeds. It never touches your bank or your accounting software.
Those limits are on the product page, because finding them out after paying is how you earn refund requests.
Trying it
I put three test statements (a US checking account with a balance column, a US card file without one, and a German bank file with semicolon separators and comma decimals) plus the verification report they produce into a free sample kit, so you can see the checks run before deciding anything:
https://inbeomhan.gumroad.com/l/statementproof-samples
The full version is $24 one-time: https://inbeomhan.gumroad.com/l/statementproof (20% off with the code PROOF20 until 12 December 2026). It is a paid product, so to be fair: the three checks above are not secret, and you can implement them yourself - that code is the easy part. What takes the time is column mapping across banks, the skipped-row report so nothing disappears quietly, and the exact CSV shapes Xero and QuickBooks accept without a fight.
If you have a bank export that defeats any of this, I would like to see the shape of it - that is how the mapping got better in the first place.