QuickBooks Online imports bank transactions from a CSV file in one of two layouts. Getting the layout and a few formatting rules right is the difference between a 30-second upload and an hour of error messages. Below are both layouts with downloadable templates, the rules, how to build the file in Excel, and fixes for every common error.
3-column template (.csv) 4-column template (.csv)
The two layouts
3-column: Date, Description, Amount
One amount column. Money in is positive; money out is negative.
| Date | Description | Amount |
|---|---|---|
| 10/01/2026 | SQUARE INC DEPOSIT 261004 | 3482.15 |
| 10/02/2026 | BAYVIEW PROPERTIES RENT | -2400.00 |
| 10/05/2026 | SYSCO FOODS #4471 | -1276.38 |
4-column: Date, Description, Credit, Debit
Two amount columns, both positive. Money in goes in Credit and money out goes in Debit, and each row uses only one of them.
| Date | Description | Credit | Debit |
|---|---|---|---|
| 10/01/2026 | SQUARE INC DEPOSIT 261004 | 3482.15 | |
| 10/02/2026 | BAYVIEW PROPERTIES RENT | 2400.00 | |
| 10/05/2026 | SYSCO FOODS #4471 | 1276.38 |
Which to use? Whichever matches your data. Bank exports with separate "withdrawals" and "deposits" columns fit the 4-column layout as-is; converted statements with signed amounts fit the 3-column layout. Leave the unused money cell blank, not 0.
Formatting rules
| Rule | Why |
|---|---|
| One header row, then one row per transaction | Titles, totals and blank lines get read as broken transactions |
| One date format for the whole file (for example MM/DD/YYYY) | You pick a single format when mapping; mixed formats fail or import on the wrong dates |
| Full four-digit years | "10/05" or "10/05/26" can be read as the wrong year |
| Plain numbers: no $, no commas, no parentheses | "1,276.38" and "(84.99)" may be rejected or misread |
| Minus sign in front for money out (3-column) | Trailing minus signs ("84.99-") aren't read as negative |
| Descriptions on one line | Line breaks inside a cell split one transaction into two rows |
| Save as CSV UTF-8 | Other encodings can garble special characters |
| Small files (one month each is a good habit) | Large files are more likely to fail; Intuit has cited a 350 KB limit |
Build the file in Excel
- Start from your converted or downloaded transactions. If you're converting a PDF, see how to convert a bank statement to Excel and verify it first.
- Delete every column except date, description and amount(s). Delete title rows, page headers, totals and blank rows.
- Fix dates: select the date column, choose Format Cells → Date and pick a format with a four-digit year. If Excel left some dates as text, use Data → Text to Columns → Date (MDY) to convert them.
- Fix amounts: select the amount column(s), Format Cells → Number, 2 decimal places, no thousands separator. Convert parentheses to negatives with Find & Replace ("(" with "-", ")" with nothing).
- For 3-column files, make sure money out is negative. If your source has positive withdrawals in a separate column, use a helper column:
=deposit - withdrawal. - File → Save As → CSV UTF-8 (Comma delimited). Excel warns that formatting will be lost; that's expected.
Errors and fixes
| What you see | Cause | Fix |
|---|---|---|
| "The file is invalid" or nothing imports | Extra rows or columns, wrong file type | Compare to the template; keep only the header and transactions; save as CSV UTF-8 |
| Dates are wrong or rejected | Mixed formats, two-digit years, or the wrong format chosen when mapping | Use one four-digit-year format and pick that exact format in the mapping step |
| Money out shows as money in (or the reverse) | Sign convention is backwards for this account | Flip the signs (multiply the column by −1) or swap the Credit and Debit columns, then re-upload |
| Amounts missing or zero | Currency symbols, commas or text-formatted numbers | Format as plain numbers; remove $ and commas |
| Some rows missing | Blank rows or line breaks inside descriptions | Remove blank rows; replace line breaks with spaces (Find Ctrl+J, replace with a space) |
| Transactions appear twice | The bank feed already downloaded the same dates | Delete duplicates in For review; next time only import dates before the feed started |
| Upload times out | File too large | Split into one file per month |
Credit card accounts
The same layouts work for credit card accounts, but think about the direction from the card's point of view. A purchase is money out (it increases what you owe). A payment or refund is money in. If charges show up as payments in the preview, your source file uses the opposite convention; flip the signs and upload again. Credit card reconciliation covers the sign rules in detail.
CSV, QBO or OFX?
| Format | What it is | When to use it |
|---|---|---|
| QBO (Web Connect) | Intuit's own download format from your bank | If your bank offers it; fewest mapping steps |
| OFX / QFX | Standard financial data formats | Also imports cleanly when available |
| CSV | Plain spreadsheet text | For PDF statements you've converted, older history, or banks without QBO downloads |
Bankly converts PDF and scanned statements into clean transactions, categorized and checked against the statement balance, and can sync them straight to QuickBooks Online, so you can skip building the CSV entirely.
Ready to upload? How to import bank statements into QuickBooks Online walks through the upload, mapping and review screens, including how to avoid duplicating your bank feed.