Reading a bank statement automatically: what good statement parsing looks like
Every bank exports its statements a little differently. Some use a single signed amount column where a debit is negative; others use two separate columns for debit and credit; the header row might be on line one or buried under several rows of account summary information; and narrations routinely wrap across multiple lines in a way that a naive row-by-row parser will split into garbage.
Good automated statement parsing has to find the actual header row by looking for recognisable column names rather than assuming it's always in the same position, correctly interpret whichever debit/credit convention the specific bank uses, ignore footer rows that look like transactions but are really running totals, and recognise when a file has been re-uploaded so it doesn't duplicate lines it's already processed.
Telic ERP's statement parser handles major Indian banks (HDFC, ICICI, SBI, Axis, Kotak among them) and Gulf banks like Emirates NBD out of the box, and specifically guards against the duplicate-upload and summary-row problems that cause the most common reconciliation errors.