CSV, XLSX, QBO or OFX: Which Export Your Accounting Software Actually Wants

Picking the wrong export format turns a five-minute import into an afternoon. Each format carries different information, and only some of them carry the bank’s own transaction IDs.

5 min read


Four formats carry bank transactions into accounting software, and the difference between them is not convenience. It is whether the software can tell that it has seen a transaction before.

That single property decides whether re-importing a file is harmless or creates three hundred duplicates.

The four, compared

CSVXLSXOFXQBO
Transaction IDsNoNoYesYes
Duplicate protectionNoneNoneStrongStrong
Date format ambiguityHighLowNoneNone
Human-readableYesYesBarelyBarely
Editable before importYesYesAwkwardAwkward
Accepted by QuickBooks OnlineYesNoYesYes
Accepted by XeroYesNoYesNo

OFX is Open Financial Exchange, an XML-based standard that banks use for feeds. QBO is Intuit's flavour of the same thing — structurally OFX with QuickBooks-specific fields. Both carry a FITID, a unique identifier per transaction.

Why the transaction ID is the whole story

Import a CSV twice and you get every transaction twice. There is nothing in the file to say otherwise: a CSV row is just text, and two identical rows are two transactions as far as the format is concerned.

Import an OFX or QBO twice and the software recognises each FITID as one it already holds, and skips it. The overlap simply does not import.

This matters more than it sounds, because overlapping imports are normal, not exceptional. You import January, then realise three transactions were missing, then import a corrected file covering the same period. With OFX, the three arrive and the rest are ignored. With CSV, you now have a month of duplicates to unpick by hand.

Xero adds a partial safety net for CSV — it fingerprints lines by date, amount and description and warns about overlaps. QuickBooks Online does not warn; it imports.

Choosing

Use OFX or QBO when the data goes straight into the software untouched, you import the same account regularly, or the periods might overlap. This is most of the time.

Use CSV when you need to look at the data or change it before importing — recategorising, correcting a description, splitting a row — or when the target only takes CSV. Also when something has gone wrong and you need to see exactly what is in the file, because CSV is the only one of the four you can read.

Use XLSX when the destination is a person rather than software: a client review, a working paper, an audit file. It preserves formatting and multiple sheets, and no major accounting package imports it directly.

A reasonable default: OFX for the import, XLSX for the file. One goes into the software, the other into the working papers, and they are produced from the same conversion.

The three things that break a CSV import

1. Date format. By a wide margin the most common failure. Both QuickBooks and Xero ask you to declare the format on import, and getting it wrong fails in one of two ways:

  • Loudly, on the first date with a day above 12 — an error you can fix.
  • Silently, if every date in the file happens to fall in the first twelve days of its month, in which case every transaction imports with the day and month swapped.

The silent case is why YYYY-MM-DD is worth using wherever the importer accepts it. It is unambiguous by construction and no declaration can get it wrong.

2. Formatted numbers. £1,250.00 is not a number to an importer. It is text with a currency symbol and a thousands separator. Amount columns should contain 1250.00 and nothing else — no symbols, no separators, no trailing spaces, and a full stop as the decimal point regardless of locale.

Parentheses for negatives — (320.00) — are an accounting convention that most importers do not understand. Use -320.00.

3. Structural rubbish. Blank rows in the middle, repeated headers where a multi-page export was concatenated, a total row at the bottom, merged cells that became empty columns. Importers stop at the first row they cannot parse and often report only "invalid file".

The columns that are actually required

Minimum: Date, Amount, Description.

Useful when available: Payee separated from the rest of the description, Reference or cheque number, and a Balance column — which some importers use as a sanity check and which is worth including because it lets you verify the import afterwards.

One amount column, signed, not two. Xero accepts separate debit and credit columns and QuickBooks does not, and the single signed column removes a whole class of error in either case. Merging them correctly is a one-line rule with a silent failure mode.

Encoding, which nobody thinks about until it breaks

Save CSVs as UTF-8. Statements contain currency symbols, accented characters in payee names, and occasionally non-Latin script, and a file saved in a legacy encoding turns £ into a mystery character or fails to parse entirely.

Excel's "Save as CSV" on Windows has historically defaulted to a regional encoding rather than UTF-8. If descriptions arrive mangled, this is almost always why. "CSV UTF-8" is a separate option in the save dialogue and is the one to pick.

Checking after import

Whatever format you used, one check settles it: the closing balance in the accounting software matches the closing balance on the statement.

If it does, the right transactions arrived, once each. If it does not, compare the transaction count first — too many means duplicates, too few means the import stopped partway or the date range was wrong.

That is the same arithmetic that verifies the conversion in the first place, applied one step further down the chain. Opening balance, closing balance, and the proof that a conversion is complete covers why it works.

Common questions

Is OFX better than CSV for importing bank transactions?
For bank feeds, yes. OFX and QBO carry a unique transaction ID per row, so the software can recognise a transaction it has already seen and refuse to import it twice. A CSV has no such identifier, which is why re-importing a CSV duplicates everything.
Why does my CSV import fail with a date error?
Almost always the date order. QuickBooks and Xero both ask you to state the format on import, and a file written as DD/MM/YYYY imported as MM/DD/YYYY either fails on day 13 and above or, worse, silently succeeds for the first twelve days of every month.