Blog / Xero imports

Xero bill import CSV: the template rules that trip up UK bookkeepers

The exact header row, why two bills merge into one, the tax rate names Xero expects, and a five-point check before you press Import.

It is the last week of the month. A client has sent forty supplier invoices as PDFs, and you have decided not to key them one by one. You fill in Xero's bill template, upload it, and Xero answers with an error on row 12. Or worse, it imports without a word, and two bills from different suppliers have become one. What went wrong?

Almost always it is one of a handful of rules in the template. This guide goes through them for Xero UK: the exact header row, the columns that trip people up, the VAT names Xero expects, and a short check before you press Import. The rules come from Xero's help article. The header row and the tax rate names come from our own import into a Xero UK demo company on 9 October 2026.

Where the template lives

In Xero, go to Purchases, then Bills, then New bill, and choose Import from CSV. That screen has the template download. Use that file and do not rename its headings: Xero's help article says plainly not to change any heading of the template.

The header row of the template we downloaded (BillTemplate.csv) was:

*ContactName,EmailAddress,POAddressLine1,POAddressLine2,POAddressLine3,POAddressLine4,POCity,PORegion,POPostalCode,POCountry,*InvoiceNumber,*InvoiceDate,*DueDate,Total,InventoryItemCode,Description,*Quantity,*UnitAmount,*AccountCode,*TaxType,TaxAmount,TrackingName1,TrackingOption1,TrackingName2,TrackingOption2,Currency

Two things are missing that people expect. There is no Reference column, and there is no Discount column. If you add a Reference column of your own, Xero drops it without telling you. If you want the supplier's file name or a note to travel with the bill, put it in Description.

The five rules that cause most failed imports

  • One InvoiceNumber per bill. Xero treats rows with the same InvoiceNumber as lines of the same bill. That is how you add a second line (for example, one line at 20% and one at 5%). It also means two different suppliers who both use "INV-001" will merge into one bill, even with different contact names. If your clients' suppliers reuse simple numbers, make them unique before you import.
  • Dates as DD/MM/YYYY. InvoiceDate and DueDate in day, month, year order.
  • Amounts all exclusive or all inclusive. You choose at the import step whether UnitAmount is tax exclusive or tax inclusive. The whole file follows that choice.
  • TaxAmount needs "tax exclusive". If you want the VAT from the invoice, not Xero's own calculation, fill TaxAmount and import with amounts set to tax exclusive. That is how the VAT on the bill matches the VAT on the paper, penny for penny.
  • Over 500 items, split the file. Xero recommends splitting a file of more than 500 items.

Bills always arrive as drafts. You approve them afterwards, which is the right place for a person to look at the batch before anything reaches the client's books.

TaxType: the names have to match exactly

Xero's help page asks for the purchases tax rate display name as it appears in Xero, written in full. In the UK demo company, the default purchase rates were:

  • 20% (VAT on Expenses)
  • 5% (VAT on Expenses)
  • Zero Rated Expenses, Exempt Expenses and No VAT
  • Reverse Charge Expenses (20%)
  • EC Acquisitions (20%), EC Acquisitions (Zero Rated), Zero Rated EC Expenses and VAT on Imports

One trap: the domestic reverse charge rates (the construction ones) were not switched on by default in the demo company. A line coded with one of them needs the firm to turn those rates on in that organisation first.

If a client has renamed or added rates, their names win. Open the list of tax rates in the client's organisation and copy the names from there before you build the CSV. Fill TaxType on every line, so the rate on each bill is one you chose.

AccountCode

AccountCode is the code as Xero shows it in the chart of accounts. In the UK demo company, 429 was General Expenses, with 20% (VAT on Expenses) as its default rate. Your client's chart may differ, so use the code from their file, not from a template you used for someone else.

A worked example (invented invoices)

Here are three invented bills, the same three we imported into the demo company:

  • KW-TEST-1 from an invented UK supplier, two lines: £100.00 net at 20% with £20.00 VAT, and £40.00 net at 5% with £2.00 VAT. Total £162.00. Two rows, same InvoiceNumber.
  • KW-TEST-2, a service from an invented supplier in Ireland, £50.00 net, coded Reverse Charge Expenses (20%) with a TaxAmount of 0. Total £50.00.
  • KW-TEST-3, one line of £100.00 net with £20.00 VAT. Total £120.00.

The two rows of the first bill, with the empty address columns left out here for space:

Acme Widgets Ltd,...,KW-TEST-1,01/10/2026,31/10/2026,,,Acme Widgets Ltd KW-TEST-1 (VAT 20%) [mix.pdf],1,100.00,429,20% (VAT on Expenses),20.00,...,GBP
Acme Widgets Ltd,...,KW-TEST-1,01/10/2026,31/10/2026,,,Acme Widgets Ltd KW-TEST-1 (VAT 5%) [mix.pdf],1,40.00,429,5% (VAT on Expenses),2.00,...,GBP

The whole file, with every column, is here: xero-bills-sample.csv. It is the file we imported, the suppliers and amounts are invented, and no email address is asked for.

Imported with amounts set to tax exclusive, the file gave 0 errors, 0 warnings and 3 draft bills with totals of 162.00, 50.00 and 120.00. Nothing clever: the right header row, unique invoice numbers, exact tax names, and TaxAmount filled.

A check before you press Import

  1. Header row copied from the template, nothing renamed, no Reference column.
  2. Each InvoiceNumber belongs to one supplier and one bill.
  3. Every TaxType filled, and spelt as in the client's list of tax rates.
  4. Net plus VAT equals the total on each invoice.
  5. Amounts set to tax exclusive if you filled TaxAmount.

The fourth check is the one Xero cannot do for you. Xero imports what you give it; it does not know what the PDF said.

Where Invoice Inbox fits

This is the file Invoice Inbox is built to write. You forward a client's supplier invoices (PDFs or Peppol e-invoices) to that client's address, and you get back a Xero bill file in this exact format, plus a file for QuickBooks Online. Before a line goes into the file, fixed rules check that net plus VAT equals the total, the VAT rate, reverse charge and duplicates. Anything flagged stays out of the file and waits for you. Credit notes and invoices not in pounds are left out of the import files too; those you enter by hand. We have tested the checks on invented invoices. The AI reading has not been run on any invoice yet, so we make no claim about reading accuracy; treat it as a first pass that you check, not a replacement for your review. The free test on 3 invoices opens soon. Paid plans are not open yet.

Questions people ask

Why did two bills merge into one in Xero?

They shared an InvoiceNumber. Xero treats rows with the same InvoiceNumber as lines of one bill, even when the contact names differ. Make each bill's number unique before importing.

Can I import a Reference into Xero bills from CSV?

Not with the bill template we downloaded: it has no Reference column, and an added one is ignored. Put the information in Description instead.

Do the tax rate names have to match exactly?

Yes. Xero asks for the purchases tax rate display name as it appears in the organisation, in full, for example 20% (VAT on Expenses).

Do imported bills post straight to the ledger?

No. They import as drafts, and you approve them in Xero afterwards.

Sources

  1. Import bills and credit notes, Xero Central, US edition of the article; the UK edition needs a Xero login (accessed 12 October 2026)
  2. Our test import into a Xero UK demo company, 9 October 2026: template header, tax rate list and the three invented bills above.

More from the blog