Back to learn

How AI reads bank statements

The end-to-end pipeline: from PDF pixels to categorized transactions, and where AI genuinely helps.

Reading a bank statement with software has three moving parts: getting text out of the PDF, structuring that text into rows, and interpreting each row. AI helps with two of the three.

Text extraction

Digital PDFs have text objects the extractor can read directly. Scanned PDFs need OCR. Modern OCR is neural (see What is OCR?), and its accuracy on typical statement scans is 95-99 percent.

Row structuring

This is where classical parsers struggle and where AI shines. Every bank formats its statement differently. Column boundaries are usually implicit whitespace, not lines. A layout-aware model that has seen thousands of statement variants can infer the column structure from the text distribution, then extract rows without needing a bank-specific template.

Interpretation

Once you have rows, someone or something has to decide what each row means. Is a debit an expense or a transfer? Is a foreign transaction one line or three? Is this row part of a running total or a real transaction? Deterministic rules handle 90 percent of this reliably. AI adds value on the remaining 10 percent (unfamiliar merchants, ambiguous descriptions) as a suggestion layer.

Hybrid is the state of the art

The most accurate systems combine classical extraction (fast, deterministic, reproducible) with neural extraction (robust to weird layouts). They start with classical, fall back to neural on low confidence, and validate the result with the running-balance math. Karchu's pipeline is built exactly this way.

Reconciliation as the truth test

No matter how the rows were extracted, the running balance has to reconcile: opening balance plus every debit and credit should equal the closing balance to the penny. If it does, the parsing is trustworthy. If it does not, the parser flags the discrepancy for review. This mathematical check catches almost every extraction error.

Where AI does not help

Reconciliation itself, sign convention normalization, and rule-based categorization. These are deterministic operations; a probabilistic answer would make them worse, not better. A well-designed system uses AI where it earns its keep and rules where they earn theirs.