Today I put three years of my own bank exports into one ledger, to see where my money went. I wrote a small parser for the Revolut PDF statements, and the result looked fine. Then I compared my totals with the summary Revolut prints on the first page, and they did not match.
144 transactions were missing, all from September. Revolut writes the month as “Sept”, with four letters, and my date pattern expected three. Nothing failed. The lines were just skipped.
A few hours later my Italian bank did the same with a hidden control character it uses as a thousands separator. Every amount above 999 euros disappeared, and again only the quarter totals showed it.
Now a parser is not finished until its totals match the bank’s own summary to the cent.
Python