If you have ever tried converting archived PDF bank or credit card statements into a QuickBooks Web Connect (.QBO) file, you have probably hit one of Intuit's opaque import errors:
- "QuickBooks is unable to verify the Financial Institution Information for this download."
- "QuickBooks cannot read the file you uploaded."
- Duplicate transactions showing up every time a multi-month statement overlaps by a day or two.
A .QBO file is not XML, and it is not generic OFX 2.x. QuickBooks Desktop and QuickBooks Online expect SGML-based OFX 1.02 with a strict header block, CRLF (\r\n) line endings, an Intuit-recognized <INTU.BID> financial institution code, and different statement wrappers for bank accounts versus credit cards.
Here is the exact structure we implemented client-side in TypeScript for PDFFields so bank statements never have to be uploaded to a cloud converter.
1. The OFX 1.02 Header and Sign-On Block
QuickBooks parses .QBO files using an older SGML header followed by a blank line and the <OFX> root element. Notice that leaf tags do not have closing tags (<CODE>0, not <CODE>0</CODE>), while container tags do (</STATUS>).
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>20261129120000 <LANGUAGE>ENG <INTU.BID>3000 </SONRS> </SIGNONMSGSRSV1> Two details that commonly break QuickBooks Desktop imports:
- Line endings: Use
\r\n(CRLF), not bare\n. - USASCII / Charset 1252 sanitization: Strip non-ASCII characters (smart quotes, non-breaking spaces, em dashes) and XML/SGML control characters (
<,>,&) from<NAME>and<MEMO>before writing the file. QuickBooks also enforces a 32-character cap on<NAME>and 255 characters on<MEMO>.
2. INTU.BID Reference Table for Major US Banks
QuickBooks validates <INTU.BID> against Intuit's internal financial institution directory (fidir.txt). If you pass an unlisted ID, or a bank ID that does not support Web Connect for the chosen account type, QuickBooks rejects the entire file before showing a single transaction.
Here are the INTU.BID and ABA routing BANKID defaults we use across our US bank statement converters:
| Institution | <INTU.BID> | Default <BANKID> | Statement Wrapper | Browser-Local Converter |
|---|---|---|---|---|
| Wells Fargo (Universal QuickBooks default) | 3000 | 121000248 | <BANKMSGSRSV1> | Wells Fargo PDF to .QBO |
| Chase | 10898 | 021000021 | <BANKMSGSRSV1> or <CREDITCARDMSGSRSV1> | Chase PDF to .QBO |
| Bank of America | 5959 | 026009593 | <BANKMSGSRSV1> or <CREDITCARDMSGSRSV1> | Bank of America PDF to .QBO |
| American Express | 3101 | (omitted for CC) | <CREDITCARDMSGSRSV1> | Amex PDF to .QBO |
| Capital One | 1009 | 051405515 | <BANKMSGSRSV1> or <CREDITCARDMSGSRSV1> | Generic PDF to .QBO |
| Citibank | 24909 | 021000089 | <BANKMSGSRSV1> or <CREDITCARDMSGSRSV1> | Generic PDF to .QBO |
| U.S. Bank | 6812 | 091000022 | <BANKMSGSRSV1> | Generic PDF to .QBO |
| PNC Bank | 6209 | 043000096 | <BANKMSGSRSV1> | Generic PDF to .QBO |
When a smaller regional bank or credit union does not have an active Intuit Web Connect INTU.BID, using 3000 (Wells Fargo) is a widely used fallback because QuickBooks lets you map the imported feed to any local register account inside your Chart of Accounts after upload.
3. Checking/Savings vs. Credit Card Wrappers
A subtle failure mode happens when you convert an American Express or Chase Sapphire PDF statement using a <BANKMSGSRSV1> checking wrapper. QuickBooks will refuse to attach the file to a Credit Card register in your Chart of Accounts.
Credit card .QBO files must use <CREDITCARDMSGSRSV1>, <CCSTMTTRNRS>, <CCSTMTRS>, and <CCACCTFROM> (with no <BANKID> or <ACCTTYPE>):
<CREDITCARDMSGSRSV1> <CCSTMTTRNRS> <TRNUID>1001 <STATUS> <CODE>0 <SEVERITY>INFO </STATUS> <CCSTMTRS> <CURDEF>USD <CCACCTFROM> <ACCTID>4821 </CCACCTFROM> <BANKTRANLIST> <DTSTART>20261001120000 <DTEND>20261031120000 <STMTTRN> <TRNTYPE>DEBIT <DTPOSTED>20261004120000 <TRNAMT>-612.40 <FITID>20261004-61240-a1f9c204-0 <NAME>AWS CLOUD SERVICES US-EAST </STMTTRN> </BANKTRANLIST> <LEDGERBAL> <BALAMT>-14643.62 <DTASOF>20261031120000 </LEDGERBAL> </CCSTMTRS> </CCSTMTTRNRS> </CREDITCARDMSGSRSV1> By contrast, checking and savings statements wrap the transaction list in <BANKMSGSRSV1> -> <STMTTRNRS> -> <STMTRS> -> <BANKACCTFROM> (containing <BANKID>, <ACCTID>, and <ACCTTYPE>CHECKING or SAVINGS).
Also pay close attention to sign convention: in OFX, money leaving your account (a checking withdrawal or a credit card purchase) must have a negative <TRNAMT> (-612.40) and <TRNTYPE>DEBIT. Deposits, refunds, and credit card payments are positive (+500.00) with <TRNTYPE>CREDIT. Many credit card PDFs print purchases as positive numbers and payments with a minus sign or CR suffix, so you need to normalize signs explicitly during PDF extraction.
4. Deterministic FITIDs and Multi-Month Overlap Deduplication
QuickBooks uses <FITID> (Financial Institution Transaction ID) to prevent duplicate entries if you accidentally upload the same statement twice.
If your generator emits random UUIDs or plain sequential integers (1, 2, 3), re-exporting or overlapping two monthly statements will create duplicates in QuickBooks. Instead, compute a deterministic <FITID> from (dtPosted, amountCents, normalizedDescriptionHash, sameDayOccurrenceIndex).
That handles two real-world edge cases cleanly:
- Same-day legitimate repeats: Buying two
$4.75coffees or running two identical$150.00wire fees on the same day inside one statement gets occurrence indices-0and-1, so both transactions survive. - Cross-statement boundary overlaps: When merging 2 to 12 monthly PDFs for year-end reconciliation, if a transaction from
10/31appears at the bottom of October's PDF and again at the top of November's PDF, both share the same(date, amount, normalizedDescription)key across different source files, allowing automated deduplication before the.QBOor multi-sheet.xlsxis written.
5. Catching Parsing Errors Before Import: Running-Balance Verification
Before generating .QBO or Excel output from a PDF bank statement, the single highest-leverage integrity check is verifying the statement's own running balance column:
// For each consecutive pair of transactions with a printed Balance column: const expected = round2(prevBalance + curr.amount); const diff = round2(curr.balance - expected); const matches = Math.abs(diff) <= 0.01; If a PDF statement lists transactions in reverse chronological order (newest first), check prevBalance - prev.amount === curr.balance as well and auto-detect the sort direction. When 17/17 consecutive rows verify to the penny, you know no line item was dropped, merged, or mis-signed by the PDF text extractor.
Try It Locally in Your Browser
You can test the full client-side PDF table parser, running-balance verifier, and .QBO / .xlsx generator on a built-in 2-page sample bank statement, a 3-month quarterly pack, or your own local PDF at PDFFields Bank Statement Converter. Everything runs locally in your browser with pdf.js and TypeScript so raw bank statement bytes never leave your device.
30-second studio walkthrough:
