If you have ever converted a client's bank statement into a .QBO, .OFX, SWIFT MT940 (.sta), German DATEV EXTF, or Xero CSV file and watched the accounting software either reject the upload with a cryptic error—or worse, silently skip half the transactions—you know how brittle regional banking formats really are.

After building a deterministic bank statement converter across 12 tax regions, I documented the exact failure modes that break imports in production and built two 100% free tools so accountants and developers can catch these bugs before touching a live ledger:

Here are the 6 real-world failure modes that cause 90% of broken accounting imports.

1. QuickBooks (.QBO) & .OFX: Silent Row Drops from Duplicate <FITID>

QuickBooks Online rarely throws a helpful error when two transactions share the same <FITID>. Instead, because QuickBooks treats <FITID> as a permanent deduplication key, it silently ignores every subsequent row with a colliding ID.

<!-- Row 1 imports fine --> <STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20260302120000<TRNAMT>-149.50<FITID>TXN20260302001<NAME>AWS CLOUD</STMTTRN> <!-- Row 2 is SILENTLY DROPPED by QuickBooks because FITID collides! --> <STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20260305120000<TRNAMT>-42.00<FITID>TXN20260302001<NAME>GITHUB INC</STMTTRN> 

Rule of thumb: Never generate <FITID> from date-only or unseeded row counters that reset across pages. Hash (account_id, date, amount_cents, description, occurrence_index) deterministically so re-importing the same month deduplicates properly while two identical coffee charges on the same day keep distinct IDs.

2. SWIFT MT940 (.sta): Exact Integer-Cent Balance Proof (:60F: + ΣC − ΣD == :62F:)

Across Switzerland (Bexio, Abacus) and the Netherlands/Belgium (Exact Online, Moneybird), SWIFT MT940 files are validated down to the exact cent or rappen:

:60F:C260301CHF12450,50 :61:2603050305C2500,00NTRFNONREF :61:2603120312D200,00NTRFNONREF :62F:C260331CHF14750,51 <-- Rejected! Expected 14750,50 (0.01 CHF variance) 

Three bugs routinely break MT940 imports:

  1. Floating-point drift from summing floats instead of exact integer cents (Decimal or integer minor units).
  2. Dot decimals instead of comma decimals (12450.50 fails; MT940 strictly expects 12450,50).
  3. Swiss apostrophe thousands (CHF 12'450.50) leaking raw into amount parsers.

3. German DATEV EXTF (.csv): Semicolons, Comma Decimals & S/H Signs

DATEV's EXTF booking batch format rejects standard English CSV exports immediately:

  • Line 1 must begin with the EXTF metadata header ("EXTF";700;21;"Buchungsstapel"...).
  • Delimiter must be a semicolon (;), never a comma.
  • Amounts must be unsigned positive numbers with comma decimals (149,50, not -149.50), while the debit/credit direction belongs exclusively in the Soll/Haben-Kennzeichen column (S or H).

4. Xero Bank CSV: Missing Asterisks (*Date, *Amount) & Mixed Date Order

Xero's bank statement CSV importer strictly requires leading asterisks on mandatory columns (*Date, *Amount). Even more insidious: mixing DD/MM/YYYY (UK/AU/NZ/SG) and MM/DD/YYYY (US) inside the same export silently shifts transaction months when day ≤ 12.

5. PayPal & Digital Wallet 4-Column Statements (Gross / Fee / Net)

Unlike traditional bank statements, PayPal statements print Gross, Fee, and Net columns side by side. If a converter only extracts Gross or only extracts Net, your ledger either loses merchant fee deductions or fails closing-balance reconciliation. Splitting each non-zero fee into an explicit paired fee row preserves both exact closing-balance reconciliation (0.00 variance) and deductible expense tracking.

6. Japanese Yayoi (弥生会計) & freee CSV: Stray Full-Width Numerals (0-9)

OCR and legacy Japanese bank portals frequently emit full-width ASCII digits (12,500) or yen glyphs inside CSV cells, causing immediate import failures unless normalized to half-width ASCII (12500 integer JPY).

Test Your Own Files Locally (Zero Upload)

If you are debugging a rejected import right now, you can drop or paste any .qbo, .ofx, .sta (MT940), DATEV EXTF, Xero, French FEC, or Japanese Yayoi CSV into our 100% browser-only validator—it runs entirely via FileReader in client-side JavaScript with zero network requests (you can even disconnect your internet after loading the page):

👉 https://stmtverify.com/tools/accounting-file-validator

There are also 4 one-click broken sample buttons (Broken .QBO, Broken MT940, Broken DATEV, Valid Xero) if you just want to see the diagnostics in action.

If you prefer validating exports in CI or batch Python scripts, the zero-dependency MIT CLI is here:

👉 https://github.com/lerenhuan-hash/bank-statement-format-spec

python validate_statement_export.py --format auto path/to/statement.qbo 

Full disclosure: I built both free tools alongside StatementVerified (stmtverify.com), a zero-account, volatile-RAM converter that turns bank, credit card, and Wise/PayPal/Revolut PDFs or phone photos into cent-reconciled Excel and native accounting files. If there is another regional accounting format (e.g., Sage, MYOB, Holded, or FreeAgent) whose strict import rules you'd like added to the open-source validator, let me know in the comments!