Need to import data into Xero after extracting a bank statement? Xero's CSV bank statement import has its own specific requirements, and getting them wrong is the usual reason an import fails or, worse, records the wrong amounts. Here's what its own documentation actually specifies.
What Xero's CSV import actually requires
Per Xero's own import documentation:
- Minimum 3 columns: Date, Description, Amount (or 4 columns with separate Debit and Credit).
- Date format must match your Xero organisation's region: DD/MM/YYYY for UK/Australia/New Zealand, MM/DD/YYYY for the US.
- Amount column: use a single column with negative values for debits and positive for credits, or two separate Debit/Credit columns, both are supported.
- Credit cards specifically: show payments as positive and purchases as negative (`-30.00` or `(30.00)`).
- File limit: no more than 100,000 rows per CSV.
Getting there from Datafromfile
- Extract your bank statement with Bank Statement to Excel.
- Confirm your Xero organisation's region setting, then format the Date column to match (DD/MM/YYYY or MM/DD/YYYY).
- Set debits as negative and credits as positive in a single Amount column (or split into two columns if you prefer).
- Export to CSV and import it in Xero under Accounting > Bank Accounts > Import a Statement.
The mistake that causes the most confusion
Getting the debit/credit sign backwards doesn't throw an error, Xero will import the file successfully with every transaction's direction reversed. Double-check a handful of rows against the original statement before reconciling.
What to double-check before you import data into Xero
A few extra checks catch problems beyond the sign convention above:
- Bank account matching: import the CSV into the same Xero bank account the real statement belongs to. Xero doesn't cross-check the account for you, importing into the wrong account silently misattributes every transaction.
- Date range overlap: importing a statement period that overlaps one already in Xero creates duplicate transactions. Xero's reconciliation screen will flag likely matches, but only after the import, so check the date range first.
- Header row: keep exactly one header row. A stray blank line above the header, common when exporting from a spreadsheet, can make Xero misread the first real transaction as a header.
- Currency consistency: if your organisation uses multi-currency, make sure every row in the file is actually in the bank account's own currency, Xero's CSV import doesn't convert or flag a mismatched currency automatically.
Running through this list before uploading saves a reconciliation headache later.
FAQ
Does the date format matter that much? Yes, Xero reads dates according to your organisation's region setting, not a fixed global format, so a US-formatted date can silently misread in a UK-region Xero account.
Is there a row limit for Xero's CSV import? Yes, 100,000 rows per file.
Can I undo a Xero bank statement import if something goes wrong? Yes, Xero lets you delete an imported statement from Accounting > Bank Accounts > Statements as long as none of its transactions have been reconciled yet, once reconciled, individual transactions need to be removed one at a time instead.
What if my Xero organisation uses a different base currency?
A bank statement in a currency other than your organisation's base currency needs its own foreign currency bank account in Xero before you import anything. Importing foreign-currency transactions into a base-currency account doesn't convert the numbers, it just records the wrong amount at face value. Set up the correct-currency bank account first (Accounting > Bank Accounts > Add Bank Account, choosing the matching currency), then import into that account specifically.
Try it
Extract your bank statement with Datafromfile, then follow the steps above to get it into Xero.