How to import a bank statement into Xero (OFX & CSV)
Follow these exact steps to convert a PDF bank statement, reconcile the running balance, and import it cleanly into Xero.
Quick Answer
Xero does not import PDF bank statements directly. To run a Xero bank statement import, convert your PDF to OFX (.ofx) or UTF-8 CSV (.csv) with StatementOK, verify the running balance check, and upload the file in Xero via Accounting > Bank accounts > Manage Account > Import a Statement.
Convert your PDF with our Bank Statement to OFX / CSV tool
First 5 pages free · Exports Xero-ready OFX and UTF-8 BOM CSV.
| Import Requirement | Details |
|---|---|
| Accepted Formats | OFX 1.0.2 (.ofx) or UTF-8 CSV (.csv) |
| Xero Menu Path | Accounting > Bank accounts > Manage Account > Import a Statement |
| Required CSV Fields | Date, Amount, Payee/Description (optional: Reference, Check Number) |
| Character Encoding | UTF-8 with BOM so merchant names never scramble |
| Balance Check | Verified in StatementOK ($0.01 tolerance) before Xero upload |
Step-by-step import instructions
Step 1: Convert your PDF statement and check the running balance
Upload your bank statement PDF to StatementOK. Review the reconciliation summary ('N rows verified · M rows need review') and fix any flagged line item inline so your closing balance matches the bank PDF.
Step 2: Download OFX (.ofx) or CSV (.csv)
Click OFX (.ofx) for zero-mapping import in Xero (recommended), or click CSV (.csv) if you want to customize column mapping inside Xero's import wizard.
Step 3: Open Import a Statement in Xero
Log in to Xero and go to Accounting > Bank accounts. Find the bank account you want to update, click Manage Account, and choose Import a Statement.
Step 4: Upload the file and confirm column mapping
Click Browse, select your StatementOK .ofx or .csv file, and click Import. For OFX files, Xero imports transactions immediately; for CSV files, map Date -> Transaction Date, Description -> Payee/Description, and Amount -> Transaction Amount, and check 'Don't import the first line' to skip the header row.
Step 5: Verify statement balance in Xero Reconcile
Open the Reconcile tab for that bank account and confirm that Xero's Statement Balance matches the ending balance on your original PDF.
Common import errors & how to fix them
| Error | Cause | Fix |
|---|---|---|
| Xero rejects CSV dates or swaps day and month | Ambiguous MM/DD vs DD/MM dates in the source PDF. | StatementOK detects column-wide date order and outputs unambiguous YYYY-MM-DD dates. |
| Header row imported as a $0.00 transaction | Forgot to skip row 1 during Xero CSV import. | Use OFX (.ofx) to avoid column mapping altogether, or check 'Don't import the first line' in Xero. |
| Special characters in merchant names look garbled | Non-UTF-8 CSV encoding. | StatementOK exports UTF-8 BOM CSVs so international characters import cleanly. |
Frequently Asked Questions
- Should I import OFX or CSV into Xero?
- OFX (.ofx) is faster for Xero bank statement imports because Xero reads dates, amounts, and descriptions automatically without manual column mapping, while CSV works well when you want to preview columns before saving.
- Can Xero import a PDF bank statement directly?
- No, Xero requires structured bank statement formats such as OFX, QIF, or CSV. Convert your PDF with StatementOK first to get clean, balance-checked OFX or CSV files.
- How does StatementOK prevent balance discrepancies in Xero?
- StatementOK verifies balance[n] - balance[n-1] == amount[n] for every transaction row before export and flags any mismatch so your Xero Statement Balance matches your PDF.
- How long does StatementOK keep my bank statement PDFs?
- StatementOK requires no Xero or bank login and automatically deletes both uploaded PDFs and extracted rows after 24 hours.