Skip to content
BillToCSV

QuickBooks CSV import format: the file-level rules that decide whether the import reads your file

The CSV has to be plain text with comma separators, UTF-8 encoding, one header row and one record per line. Numbers must be plain digits with a full stop as the decimal separator and no currency symbol or thousands separator. Dates must use one format throughout and must be the format the import expects. Every field that contains a comma, a quote or a line break has to be wrapped in double quotes, with any inner quote doubled.

  • By BillToCSV
  • 6 min read

General information for bookkeepers, not accounting, tax or legal advice. Rules and software screens differ by country and change over time.

General information about CSV files and how QuickBooks Online reads them. Intuit's importer changes, and the exact accepted formats can differ by region and by subscription, so test with two or three bills before a batch.

A CSV is a text file, and that is where most of this comes from

Comma-separated values is a name for a convention, not a standard with an authority behind it. There is no body that decides whether a file with semicolons is still a CSV, whether numbers may carry thousands separators, or which of two date orders is correct. Each program that writes a CSV and each program that reads one makes its own choices.

That is why the same file opens correctly in one spreadsheet and wrongly in an importer. Nothing is corrupt. The two programs disagree about a convention, and the disagreement shows up as a single column of text where the numbers should be.

The file-level rules, and what breaks when one is missed

These are the properties of the file itself, as opposed to the meaning of any particular column.

CSV properties that decide whether an import reads the file correctly
PropertyWhat it must beWhat goes wrong otherwise
EncodingUTF-8, ideally without a byte-order mark.A stray byte-order mark can turn the first column name into something that does not match, and accented supplier names arrive as symbols.
SeparatorA comma on every row.A system set to a comma decimal separator may save semicolons instead, and the whole file arrives as one column.
Header rowOne row, first line, exactly the column names the import expects.A title line above the header, or renamed columns, and the import reads the title as the first record.
QuotingDouble quotes around any field containing a comma, a quote or a line break; inner quotes doubled.A supplier name with a comma splits the row and shifts every later value one column to the left.
Line endingsConsistent, and one record per line.A description with a line break in it becomes two half-records, and the arithmetic no longer lines up with anything.
NumbersPlain digits, a full stop for decimals, no symbol, no thousands separator.“1,240.50” with its comma splits the field in two; “$1,240.50” is read as text.
DatesOne format throughout, four-digit years.Mixed formats read inconsistently, and a day-month swap imports without any error.
Empty fieldsEither nothing between the commas, or a quoted empty string.A space in an empty numeric field can make it non-numeric and refuse the row.

Producing a file that will import first time

  1. Export from the importer's own template, not from a blank sheet

    Start with the sample file your own QuickBooks offers. It carries the current column names and the exact header row, which is the part you cannot guess.

  2. Format the text columns as text before you type

    Invoice numbers, account codes and dates. A spreadsheet will otherwise turn 0200 into 200 and 03/04 into a date you did not intend.

  3. Keep the invoice number identical on every row of a bill

    The import groups rows by invoice number for a supplier. One character's difference makes it a second bill.

  4. Save as CSV UTF-8, comma delimited

    In Excel this is an explicit choice, not the default in every locale. Then open the saved file in a plain text editor and look at the first three lines: separators and quotes should be visible and correct.

  5. Import two bills and read them on screen

    Check the supplier, both dates, the line amounts, the tax and the total against the paper. Column problems are invisible after a large import and obvious after a small one.

What goes wrong

Everything arrived in one column

The file was saved with semicolons, usually because the operating system uses a comma as the decimal separator. Save again as comma separated, or change the list separator for the file.

The first column name is unrecognised

A byte-order mark at the start of the file sits in front of the first column name. Save as UTF-8 without a BOM, or re-save from the importer's own template.

One supplier shifted a column to the left

A comma inside an unquoted name. Quote any field containing a comma, and double any inner quote.

The amounts are text

A currency symbol, a thousands separator or a trailing space. Strip all three before import.

Dates are right in the editor and wrong after import

The editor wrote the date in the local display format. Check what the file literally contains, not what the spreadsheet shows.

The file works for one company and not another

Tax codes and account names belong to a company file. A file prepared against one QuickBooks company will be refused by another.

How BillToCSV helps

BillToCSV writes the CSV for you: comma separated, UTF-8, quoted where it needs to be, numbers without symbols and dates in the format you choose, with the arithmetic checked on every line. See the QuickBooks converter, the QBO import template guide and pricing. Free: browser review for one supported invoice up to 10 pages and 10 MB, without signup.

Questions people ask

What encoding should a QuickBooks CSV be in?

UTF-8, ideally without a byte-order mark. A BOM can turn the first column name into something the import does not recognise, and accented supplier names will not arrive correctly in a legacy encoding.

Why does my file open as one column?

The file was saved with semicolons rather than commas, which happens when the operating system uses a comma as a decimal separator. Save it again as comma separated, or change the list separator setting for that file.

How should amounts be written?

Plain digits with a full stop for the decimal part: 1240.50 rather than $1,240.50. A thousands separator introduces a comma inside the field, and a currency symbol makes the value text.

What date format does the import expect?

One format throughout, declared to the import where it asks. Use four-digit years. Test with one bill, because a day-month swap is valid in both orders and raises no error.

Why do quoted fields matter?

Because a comma inside a field splits it. A supplier named “Smith, Jones and Co” without quotes becomes two fields and shifts every later value one column to the left. Wrap the field in double quotes and double any quote inside it.

Is this how every QuickBooks version reads a CSV?

Assume not. The importer differs by region and by subscription and changes over time. The sample file from your own import screen is the only authoritative statement of what the current version accepts.