Statement Extractor iconStatement Extractor
LOCAL BY DESIGN

Home / Blog / QuickBooks & OFX Technical Guides

How to Convert a PDF Bank Statement to QuickBooks Web Connect (.QBO) Without Triggering OL-221

Why QuickBooks Desktop throws OL-221 on home-baked .QBO files, how SGML 102 tags compare against .OFX and .CSV, and a penny-verified 3-transaction checking example.

Published 2026-11-28 7 min read Zero server uploads
Run locally: Verify Opening + Credits − Debits to $0.00 and generate Web Connect .QBO or .OFX. Open QBO / OFX Converter

It is the sixth working day of the month, a new bookkeeping client drops nine months of historical PDF checking statements into your inbox because their regional bank cuts off live bank feeds at 90 days, and you need those transactions inside QuickBooks before payroll tax reconciliation. You run the PDF through an improvised spreadsheet macro, rename the output with a .qbo extension, double-click it, and QuickBooks Desktop stops cold with error OL-221: "QuickBooks is not able to verify the Financial Institution Information for this download." Worse, uploading a loosely formatted file into QuickBooks Online can succeed while booking every outgoing check as a positive bank deposit.

QuickBooks Web Connect (.QBO) is not a renamed CSV or a forgiving XML dump. Classic Web Connect files follow the Open Financial Exchange 1.02 SGML specification with Intuit brand verification tags bolted onto the sign-on block. Getting a clean import on the first try requires passing four strict validation gates before QuickBooks opens the Bank Feeds review register.

Why QuickBooks Rejects Home-Baked .QBO Files

1. Invalid <INTU.BID> Codes and Container Mismatches (Error OL-221)

Every QuickBooks Desktop installation carries a Financial Institution directory file named fidir.txt. During import, QuickBooks reads the integer inside <INTU.BID> (Intuit Brand ID) and checks whether that institution code is active for Web Connect and permitted for the file's message wrapper. Leaving <INTU.BID> blank, entering 00000, or copying a retired community-bank code triggers OL-221 immediately.

Container mismatches trigger the same fault even with an active brand ID. Checking, savings, and money market accounts belong inside <BANKMSGSRSV1> with an explicit <ACCTTYPE> of CHECKING, SAVINGS, or MONEYMRKT. Credit cards require <CREDITCARDMSGSRSV1> using <CCSTMTRS> (omitting <BANKID> routing numbers). Pairing a credit-card-only <INTU.BID> with a checking container aborts the import session before reading a single line.

2. SGML 102 Plain-Text Headers vs XML 202 Syntax

Most production .QBO files use OFX 1.02 SGML rather than XML 2.02. An OFX 1.02 file opens with a nine-line plain-text header starting at OFXHEADER:100 and ending at NEWFILEUID:NONE, followed by one blank line and <OFX>. Saving the file with a UTF-8 Byte Order Mark (EF BB BF ahead of OFXHEADER:100) or inserting blank lines inside the header block breaks parsing instantly. In SGML 102 mode, container tags like <STMTTRN> require closing tags (</STMTTRN>), whereas leaf elements like <TRNAMT>-1284.75 omit closing tags.

3. Malformed <DTPOSTED> Timestamps and <TRNTYPE> Sign Flips

QuickBooks expects <DTPOSTED> dates in YYYYMMDD or YYYYMMDDHHMMSS format, such as 20261012120000. US slashes (10/12/2026) or ISO hyphens (2026-10-12) drop rows or raise OL-222 parser faults. Stamping noon (120000) instead of midnight (000000) prevents Western Hemisphere workstations from shifting midnight GMT backward into the prior calendar day.

Amount signs require equal care. PDF bank statements usually print withdrawals in their own column as unsigned positive numbers (1,284.75). Inside a .QBO file, QuickBooks reads cash direction from the sign on <TRNAMT> rather than <TRNTYPE>. Pairing <TRNTYPE>CHECK with an unsigned <TRNAMT>1284.75 posts that check as a deposit. Every checking outflow needs a leading minus sign, formatted with a period decimal and zero thousands commas.

4. <FITID> Collisions Across Monthly Imports

QuickBooks deduplicates Web Connect imports permanently per account using <FITID>. Numbering rows 1, 2, 3 at the start of every monthly export causes November's first thirty lines to be skipped silently because October already registered IDs 1 through 30. Random UUIDs cause the opposite problem by duplicating rows whenever date ranges overlap. Deterministic keys combining date, row sequence, and integer cents (20261012-002-128475) stay unique across months and idempotent on re-imports.

Technical Specification: .QBO vs .OFX vs .CSV

Choose your output format based on both your QuickBooks edition and duplicate-control rules. QuickBooks Online accepts 3-column or 4-column CSV files alongside .QBO and .OFX, whereas QuickBooks Desktop natively imports Web Connect .QBO files into Bank Feeds without third-party plugins.

Specification / Tag QuickBooks Web Connect (.QBO SGML 102) Standard Open Financial Exchange (.OFX 102 / 202) Bank Upload Spreadsheet (.CSV 3- or 4-Column)
Intuit Brand Tag (<INTU.BID>) Mandatory integer verified against QuickBooks fidir.txt (e.g., 3000) Omitted in generic bank OFX exports; rejected by QuickBooks Desktop Not supported
Routing & Institution Tags <FID> inside <FI>; 9-digit ABA <BANKID> for checking/savings <FID> optional; <BANKID> required inside <BANKACCTFROM> None; account picked manually during upload
Account Identifier & Type <ACCTID> + <ACCTTYPE> (CHECKING, SAVINGS, MONEYMRKT) <ACCTID> + <ACCTTYPE> (or <CCACCTFROM> for cards) None inside file payload
Duplicate Guard (<FITID>) Enforced permanently per linked QuickBooks account (≤ 32 ASCII chars) Enforced by Xero, QBO, and Sage via <FITID> up to 255 chars None; overlapping uploads create duplicate register rows
Posting Date (<DTPOSTED>) YYYYMMDDHHMMSS (e.g., 20261012120000); no slashes or hyphens YYYYMMDDHHMMSS with optional UTC offset bracket Ambiguous text (MM/DD/YYYY vs DD/MM/YYYY chosen in UI)
Payee & Memo Length Caps <NAME> truncated at 32 chars in Desktop; <MEMO> up to 255 chars <NAME> 32 chars (OFX 102); <MEMO> 255 chars Single description column mapped to memo/payee text
Ending Ledger Balance Check Explicit <LEDGERBAL><BALAMT> in currency decimals Explicit <LEDGERBAL><BALAMT> and <DTASOF> None; cannot warn if a PDF page was missed
Native QuickBooks Support QuickBooks Desktop (supported editions) & QuickBooks Online QuickBooks Online, Xero, Wave (blocked in QuickBooks Desktop) QuickBooks Online only (no native Desktop Bank Feeds CSV)

Worked Example: 3-Transaction Checking Statement to Valid .QBO

Consider a worked example for an October 2026 business checking statement (Account 88401922, Routing 021000021). Page 1 prints an opening balance of $14,820.50 on October 1, 2026, and a closing balance of $12,275.55 on October 31, 2026, across three items:

  1. On 2026-10-05, an ACH deposit for Client Invoice #4108 clears for +$3,650.00, lifting the running balance to $18,470.50.
  2. On 2026-10-12, Check #1094 to Industrial Supply Co clears for -$1,284.75, bringing the running balance to $17,185.75.
  3. On 2026-10-28, an ACH debit for Gusto Payroll Tax clears for -$4,910.20, ending at $12,275.55.

Verify the penny arithmetic before generating SGML: $14,820.50 + $3,650.00 - $1,284.75 - $4,910.20 = $12,275.55 (total credits $3,650.00, total debits $6,194.95, net movement -$2,544.95). Notice below how Check #1094 includes both <TRNTYPE>CHECK and <CHECKNUM>1094 so QuickBooks populates the Check No. column automatically, while keeping <NAME> within 32 characters:

OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE

<OFX>
  <SIGNONMSGSRSV1>
    <SONRS>
      <STATUS>
        <CODE>0
        <SEVERITY>INFO
      </STATUS>
      <DTSERVER>20261101120000
      <LANGUAGE>ENG
      <FI>
        <ORG>CheckingImport
        <FID>3000
      </FI>
      <INTU.BID>3000
    </SONRS>
  </SIGNONMSGSRSV1>
  <BANKMSGSRSV1>
    <STMTTRNRS>
      <TRNUID>20261031001
      <STATUS>
        <CODE>0
        <SEVERITY>INFO
      </STATUS>
      <STMTRS>
        <CURDEF>USD
        <BANKACCTFROM>
          <BANKID>021000021
          <ACCTID>88401922
          <ACCTTYPE>CHECKING
        </BANKACCTFROM>
        <BANKTRANLIST>
          <DTSTART>20261001120000
          <DTEND>20261031120000
          <STMTTRN>
            <TRNTYPE>CREDIT
            <DTPOSTED>20261005120000
            <TRNAMT>3650.00
            <FITID>20261005-001-365000
            <NAME>CLIENT INV 4108 ACH
            <MEMO>ACH CREDIT CLIENT INVOICE 4108 REF 994120
          </STMTTRN>
          <STMTTRN>
            <TRNTYPE>CHECK
            <DTPOSTED>20261012120000
            <TRNAMT>-1284.75
            <FITID>20261012-002-128475
            <CHECKNUM>1094
            <NAME>INDUSTRIAL SUPPLY CO
            <MEMO>PAID CHECK 1094 INDUSTRIAL SUPPLY CO
          </STMTTRN>
          <STMTTRN>
            <TRNTYPE>DEBIT
            <DTPOSTED>20261028120000
            <TRNAMT>-4910.20
            <FITID>20261028-003-491020
            <NAME>GUSTO PAYROLL TAX
            <MEMO>ACH DEBIT GUSTO TAX 883012 OCT PAYROLL
          </STMTTRN>
        </BANKTRANLIST>
        <LEDGERBAL>
          <BALAMT>12275.55
          <DTASOF>20261031120000
        </LEDGERBAL>
      </STMTRS>
    </STMTTRNRS>
  </BANKMSGSRSV1>
</OFX>

Escape ampersands inside vendor names as well: writing a raw & in SMITH & SONS LLP corrupts SGML entity parsing unless encoded as &amp;. Instead of hand-building SGML blocks, run digital bank PDFs through the PDF Bank Statement to QBO & OFX Converter to output verified headers, deterministic <FITID> keys, and reconciled balances directly.

Keeping Client Statements Off Public AI Prompts and Remote Servers

Pasting unredacted bank PDFs into a public LLM chat box during a clean-up engagement exposes full ABA routing numbers, operating account digits, payroll names, and counterparty wire instructions, violating standard client engagement confidentiality and GLBA safeguard rules. Language models also predict tokens probabilistically rather than reading PDF X/Y coordinates, routinely dropping repeated monthly fee lines or rounding cents on 180-row statements. On Bank Statement Extractor, all PDF coordinate parsing and .QBO / .OFX / .CSV generation run locally inside your browser memory without transmitting client files to external servers.

Failure Modes That Still Require Human Verification

Three situations always warrant a manual check before posting into a general ledger. On 150-to-200 DPI paper scans or faxes, optical character recognition can confuse 8 with 3 or 6 with 0 along fold creases, so confirm that Opening + Credits - Debits matches the printed closing balance to $0.00. When a commercial bank bundles Operating Checking and a Money Market Sweep into one multi-account PDF packet, separate each account section into its own .QBO export so sweep transfers do not cross-contaminate a single <ACCTID>. Finally, inspect the back pages for miniature check image grids whose printed dollar captions must be excluded so cleared checks are never posted twice.

Bookkeeping & import FAQs

Why does QuickBooks Desktop display error OL-221 when my .QBO file works in QuickBooks Online?

QuickBooks Online validates basic OFX structure and ignores most INTU.BID institution lookups, whereas QuickBooks Desktop strictly checks the INTU.BID integer against its local fidir.txt directory and confirms that the brand ID permits the exact account container (BANKMSGSRSV1 for checking/savings versus CREDITCARDMSGSRSV1 for credit cards). Using an active Web Connect INTU.BID such as 3000 matched to the right account wrapper resolves OL-221 on supported Desktop editions.

Why does QuickBooks Desktop block all .QBO Web Connect imports on older software versions?

Intuit enforces a rolling three-year sunset policy on QuickBooks Desktop Bank Feeds. Once an edition passes its discontinuation date, QuickBooks Desktop disables the Web Connect import parser regardless of how valid the .QBO file is. On sunsetted Desktop installations, bookkeepers must either upgrade QuickBooks Desktop, move to QuickBooks Online, or convert transactions via general journal / IIF entry workflows.

Why are vendor names cut off at 32 characters after importing a .QBO file into QuickBooks?

Under the OFX 1.02 Web Connect specification enforced by QuickBooks Desktop, the NAME tag carries a strict 32-character ceiling, while the MEMO tag holds up to 255 characters. Place the clean merchant prefix inside NAME for bank-rule matching and put the full raw bank description, invoice reference, and ACH trace number inside MEMO so no audit detail is lost.

How do I stop QuickBooks from importing a check number into the payee name instead of the Check # column?

Set TRNTYPE to CHECK and include a dedicated CHECKNUM tag containing only the numeric check identifier (up to 12 digits, with no leading '#' symbol) inside the STMTTRN block alongside the negative TRNAMT value. Without the separate CHECKNUM element, QuickBooks treats the transaction as a generic debit and leaves the register Check No. field blank.

Related Statement Tools

PDF / CSV to QBO & OFX Converter · Browser PDF Bank Statement Extractor · PDF to CSV Checklist · All Bookkeeping Guides