Skip to main content
All posts
QuickBooks

How to Fix QuickBooks OL-221 Error When Importing a .QBO File

Why QuickBooks throws OL-221 on bank statement .QBO imports and how valid INTU.BID codes, character sanitization, and deterministic FITIDs eliminate it.

Why QuickBooks Rejects .QBO Files with Error OL-221

QuickBooks Online and QuickBooks Desktop validate every uploaded .QBO (Web Connect) file against strict OFX 1.0.2 SGML rules. The three most common triggers for OL-221 are:

  1. Unescaped Special Characters: Merchant names containing &, <, >, or quotes (") break the SGML parser (for example, AT&T or BED BATH & BEYOND).
  2. Missing or Invalid <INTU.BID>: QuickBooks matches the bank ID against its Financial Institution Directory (FIDIR). An invalid or outdated ID causes immediate rejection.
  3. Duplicate or Missing <FITID>: Every <STMTTRN> transaction block requires a unique Financial Institution Transaction ID so QuickBooks can deduplicate overlapping statement periods.

How LocalBankCSV Prevents OL-221 Automatically

When you convert a Chase, Bank of America, Wells Fargo, or American Express PDF using LocalBankCSV:

  • Automatic Bank Mapping: Pre-fills verified INTU.BID values (e.g., 10898 for Chase, 5959 for Bank of America, 3000 for Wells Fargo, 3101 for Amex).
  • Strict SGML Sanitization: Converts & to and and strips illegal angle brackets before writing <NAME> (32-char max) and <MEMO> (255-char max).
  • Deterministic <FITID> Hashes: Re-importing overlapping date ranges never duplicates ledger rows.
  • 100% Browser-Local Privacy: Your PDF is parsed in local RAM with 0 bytes uploaded to any cloud server.