How to import a PDF bank statement into Xero cleanly
Xero's manual statement import only accepts CSV, OFX or QIF, so a PDF from a client's online banking has to be converted first. The import is strict: the header row must read *Date and *Amount exactly, amounts must be a single signed column, and dates must match the date format of your Xero organisation. Most failed imports come from one of three things — a byte-order mark in front of *Date, separate debit and credit columns, or dates silently flipped from 03/04 to 04/03 by a spreadsheet.
StatementToXero avoids all three. It reads the PDF text layer in your browser, keeps every date as DD/MM/YYYY exactly as printed, combines Money In and Money Out into one signed Amount, and writes plain UTF-8 without a BOM. Payee and Reference are split out of the bank narrative so Xero's bank rules have something useful to match on.
Before exporting, check the reconciliation bar. Opening balance plus money in minus money out must equal the statement's closing balance to the penny. If it doesn't, the amber rows show exactly where the printed running balance stops agreeing with the arithmetic — usually a wrapped description or a misread amount. Fix it inline and the badge turns green.
In Xero, open the bank account, choose Manage Account → Import a Statement, select the CSV and map the columns once. Xero remembers the mapping for that account. Never open the CSV in Excel and re-save it before importing; Excel is the most common source of swapped dates. Import one statement period at a time and compare Xero's statement balance against the PDF before you start coding transactions.
