Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 4 min read

QuickBooks .QBO Import Errors Explained: Fixing OL-221, OL-222, Duplicate FITIDs, and Missing INTU.BID Locally

When importing a bank or credit card .QBO (QuickBooks Web Connect / OFX) file into QuickBooks Online or QuickBooks Desktop, failures rarely come from "corrupt bank data." In practice, over 80% of import rejectionsβ€”and ev

When importing a bank or credit card .QBO (QuickBooks Web Connect / OFX) file into QuickBooks Online or QuickBooks Desktop, failures rarely come from "corrupt bank data." In practice, over 80% of import rejectionsβ€”and even worse, silent missing transactionsβ€”come from four tiny deterministic formatting bugs inside the OFX/SGML payload.

This guide breaks down the exact specification rules behind OL-221, OL-222, OL-301 / invalid <INTU.BID>, and duplicate <FITID> silent row skipping, along with zero-upload local ways to inspect and repair them.

1. Silent Missing Rows: Duplicate <FITID> Collisions

Every transaction inside a .QBO or .OFX file carries a <FITID> (Financial Institution Transaction ID) inside its <STMTTRN> block:

<STMTTRN>
  <TRNTYPE>DEBIT
  <DTPOSTED>20261015120000
  <TRNAMT>-49.00
  <FITID>202610150001
  <NAME>STRIPE PAYOUT FEE
</STMTTRN>

What goes wrong:
QuickBooks uses <FITID> as a strict deduplication primary key per bank account. If a third-party CSV-to-QBO script generates sequential IDs (1, 2, 3...), reuses date+amount hashes when two identical $15.00 Uber charges occur on the same day, or overlaps two monthly statements, QuickBooks silently drops the colliding rows without throwing an error dialog. Your ending balance then drifts off by the exact sum of the skipped transactions.

The deterministic fix:

  • Every transaction in a .QBO export must have a strictly unique, stable <FITID> (for example, a deterministic FNV-1a / SHA-based hash incorporating date, signed cents, normalized payee, and same-day occurrence index).
  • If you are re-importing a corrected file into an account that already rejected or partially absorbed an earlier batch, regenerate fresh collision-free <FITID> values across the file before uploading again.

You can detect and repair duplicate <FITID> tags in 2 seconds locally in your browser (pure JavaScript, zero server upload) using the free StmtVerify .QBO Duplicate FITID Fixer.

2. Error OL-221 & OL-222: Unescaped & and Invalid Characters in <NAME> / <MEMO>

QuickBooks Web Connect supports both OFX 1.x (SGML) and OFX 2.x (XML). In both parsers, raw XML control characters inside merchant descriptions trigger immediate rejection codes such as OL-221 or OL-222 ("QuickBooks was unable to verify the Financial Institution Information" / "Your file could not be read"):

<!-- BROKEN: raw ampersand breaks strict OFX/XML parsing -->
<NAME>AT&T MOBILITY #4412</NAME>

<!-- FIXED: properly entity-escaped and length-clamped -->
<NAME>AT&amp;T MOBILITY #4412</NAME>

Three hidden traps in <NAME> and <MEMO>:

  1. Unescaped &, <, >: Merchants like AT&T, H&M, Barnes & Noble, or M&S must encode & as &amp;.
  2. Legacy field length limits: Strict QuickBooks Desktop parsers truncate or choke on <NAME> longer than 32 characters or non-ASCII UTF-8 control characters copied out of messy bank CSV exports.
  3. Broken date stamps: <DTPOSTED> must use YYYYMMDD (or YYYYMMDDHHMMSS), never MM/DD/YYYY or DD-MM-YYYY.

3. Error OL-301 / Unrecognized Financial Institution: Missing <INTU.BID>

A valid .OFX file from a European, Canadian, Australian, or fintech bank (Wise, Revolut, Payoneer, Mercury) often fails in QuickBooks with an institution verification error even though the XML itself is valid.

Why? QuickBooks requires a proprietary Intuit header tag inside <SONRS><FI> (or directly under <SONRS>):

<INTU.BID>3000</INTU.BID>

If <INTU.BID> is missingβ€”or contains an inactive bank ID from Intuit's fidir.txt directoryβ€”QuickBooks refuses to open the file. Injecting a valid active <INTU.BID> (such as 3000 for Wells Fargo / generic Web Connect compatibility when importing manually) lets QuickBooks parse the file cleanly while letting you map it to any existing account inside your Chart of Accounts during import.

4. When Your Bank Only Gives You PDFs (or More Than 90 Days of History)

QuickBooks Online's automatic bank feed only pulls roughly 90 days of historical transactions on initial connection. When catching up 6–12 months of Chase, Bank of America, Amex, PayPal, or Wise PDF statements before tax season, two checks prevent hours of manual cleanup:

  1. Mathematical Balance Continuity Proof (0.00 variance): Verify Opening Balance + Total Credits βˆ’ Total Debits == Closing Balance in exact integer cents before generating the .QBO file so missing lines or flipped credit-card signs never enter your ledger.
  2. Multi-Month Overlap Deduplication: When dropping 12 monthly PDFs together, verify Month N closing balance equals Month N+1 opening balance and strip overlapping cutoff-day rows.

Free Local Tools & Open-Source Reference

Full disclosure: I am an indie software developer (not a CPA) who maintains an MIT-licensed accounting format spec and free browser-only utilities alongside StmtVerify:

If you hit a weird QuickBooks Web Connect error code or bank CSV layout that breaks your import, drop the anonymized header snippet in the comments and I will document the exact parsing rule!

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.