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
.QBOexport 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&T MOBILITY #4412</NAME>
Three hidden traps in <NAME> and <MEMO>:
-
Unescaped
&,<,>: Merchants likeAT&T,H&M,Barnes & Noble, orM&Smust encode&as&. -
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. -
Broken date stamps:
<DTPOSTED>must useYYYYMMDD(orYYYYMMDDHHMMSS), neverMM/DD/YYYYorDD-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:
-
Mathematical Balance Continuity Proof (
0.00variance): VerifyOpening Balance + Total Credits β Total Debits == Closing Balancein exact integer cents before generating the.QBOfile so missing lines or flipped credit-card signs never enter your ledger. - 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:
-
Free Local QuickBooks Error Code & Bank Charge Decoder (instant offline lookup for 40 codes:
OL-205βOLS-0001,Error 101β9999, duplicate<FITID>,<INTU.BID>, plus cryptic bank/Intuit charge descriptors): https://stmtverify.com/tools/qbo-error-code-decoder - Free Local Accounting File Validator (QBO/OFX, SWIFT MT940, DATEV EXTF, Xero CSV, FEC, Yayoi β 100% in-browser, zero upload): https://stmtverify.com/tools/accounting-file-validator
-
Free Local .QBO Duplicate
<FITID>& OL-221 Fixer: https://stmtverify.com/tools/qbo-fitid-fixer -
Free Local CSV β QuickBooks
.QBO/.OFXConverter: https://stmtverify.com/tools/csv-to-qbo-converter -
Embeddable Free Firm Website Widgets & Partner Program (1-line
<iframe>embed for WordPress/Webflow + 30% recurring affiliate): https://stmtverify.com/partners - MIT Open-Source Python Validator & Format Spec: https://github.com/lerenhuan-hash/bank-statement-format-spec
-
Paid Volatile-RAM PDF & Receipt Tools (same domain β 12-month QuickBooks bank PDF catch-up at https://stmtverify.com/lp/quickbooks-12-month-catch-up-bank-pdf and batch iPhone
.HEICreceipt photos to Excel + 4-Up A4 PDF at https://stmtverify.com/receipts/, with a$9.907-day non-renewing pass and 6 free instant sample downloads to verify output first).
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!
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.