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:
- Unescaped Special Characters: Merchant names containing
&,<,>, or quotes (") break the SGML parser (for example,AT&TorBED BATH & BEYOND). - Missing or Invalid
<INTU.BID>: QuickBooks matches the bank ID against its Financial Institution Directory (FIDIR). An invalid or outdated ID causes immediate rejection. - 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.BIDvalues (e.g.,10898for Chase,5959for Bank of America,3000for Wells Fargo,3101for Amex). - Strict SGML Sanitization: Converts
&toandand 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.