Spaces:
Sleeping
Sleeping
Commit History
10 days ago
-
Read frameless statements with blank same-day dates; reject non-statements
Rudra- Pick, per page, whichever reading finds the most transactions: ruled table, whitespace columns, or a new balance-chain reader (last amount = balance, one before = amount, debit/credit from the balance movement) - Blank date cells inherit the previous date, accepted only if the running balance continues; wrapped descriptions are joined; BALANCE FORWARD rows become the opening balance; TOTAL rows and page footers are dropped - dd Mon yy dates; rows with unreadable dates or no amount are skipped - API returns 422 "doesn't look like a bank statement" for PDFs without balance evidence or statement wording (invoices, letters, reports) - New fixture t9_india_blank_dates + API rejection tests3dfe050