Skip to content
BillToCSV

Xero supplier invoice import: getting a supplier's bill into Xero without a second contact

A supplier invoice enters Xero as a bill against a contact, either typed, imported from a CSV or read from a document. Whichever route you take, the fields that decide whether it lands cleanly are the contact, the invoice number, the invoice date, the due date, the description, quantity, unit amount, account code and tax type. The two that cause the most trouble are the contact, because a near-match creates a second one, and the tax type, because the name has to be exactly the one set up in your organisation.

  • By BillToCSV
  • 7 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 Xero's bill import and bill entry. Xero changes its screens, its template and its regional behaviour, so compare each point with your own organisation before relying on it, particularly the date format and the tax type names.

Three routes, one set of fields

A supplier invoice can arrive in Xero typed by hand, imported as a CSV, or read from a PDF by Xero's own document tools. Which route you use changes the effort, not the destination: all three produce a bill against a contact, with lines that carry an account code and a tax type.

That is why it is worth learning the fields once rather than learning three screens. The contact, the invoice number, the dates, the line description, quantity, unit amount, account code and tax type are the same nine things however the bill gets there.

What each field decides

In the Xero CSV template these columns carry an asterisk. Confirm the current set against the template you download from your own import screen.

Fields on a Xero supplier bill and what each controls
FieldWhat it controlsWhat goes wrong
Contact nameWhich supplier the bill belongs to, and therefore the payables balance and payment history.A near-match creates a second contact. Search before typing.
Invoice numberIdentity of the bill within that contact, and the duplicate check.A number already used for that contact can be refused, including one from an earlier import.
Invoice dateThe period the bill falls into and the ageing.A day-month swap is valid either way and raises no error.
Due dateWhen the bill appears in the payment queue.Blank, or earlier than the invoice date.
DescriptionWhat the line was for, on screen and in reports.Empty on a freight or tax line, so the line cannot be identified later.
Units and the unit priceHow Xero calculates the line total: quantity times unit amount.The printed line total being typed as the unit amount when the quantity is not one.
Account codeWhich account the cost lands in. A code, not the account name.A code that does not exist, is archived, or has lost a leading zero to a spreadsheet.
Tax typeThe rate applied to the line, and the tax portion of the total.A name that is not exactly a rate in your organisation. Names differ by country and can be edited.

Bringing a supplier invoice in

  1. Find or create the contact first

    Search Xero for the supplier before you do anything else. If they exist, open the contact and use the name exactly as stored. Creating the bill first is how duplicates start.

  2. Enter the invoice number as printed

    Not a reference of your own, and not blank. It is what the duplicate check uses, and what you will search for when the supplier queries payment.

  3. Set both dates

    The invoice date from the document, and the due date either printed or derived from the terms. Check the organisation's date format before a batch import.

  4. Check quantity times unit amount against the printed line

    Xero calculates the line as quantity times unit amount. Where the printed line total is not an exact product, for example one built on a rounded unit price, the calculated total can differ by a cent or more. Decide which number you are keeping before you import.

  5. Choose the account code and tax type from the lists

    Both should be selected from your own organisation's lists rather than typed. Copy the tax type name character for character, including capitals and brackets.

  6. Open the first bill of every batch

    Compare the contact, the dates, the line amounts, the tax and the total with the paper. Imported documents can carry the right total and the wrong tax treatment.

What goes wrong

A second contact for the same supplier

Name matching is exact enough that punctuation or a suffix creates a new contact. The payables balance then splits, and reconciling it costs more than the bill did.

The bill is refused as a duplicate

The invoice number already exists for that contact, sometimes from an earlier import of the same batch. Search before you assume the supplier reused a number.

The tax came out at the wrong rate

A tax type that looks right but is a different rate, or a name that differs in capitals from the one in your organisation. Check one imported bill on screen.

Line totals are a cent out

Quantity times unit amount is calculated by Xero. A printed total that is not an exact product will not survive. Check the first bill and decide the convention.

An archived account code was used

The code exists but is not active, so the bill cannot be approved cleanly. Use a current code, or reactivate the old one deliberately.

How BillToCSV helps

BillToCSV reads a supplier invoice PDF or photo and writes a Xero bill import CSV with the asterisked columns filled where the document carries the value, one row per line, after checking each line and comparing the lines with the printed totals. See the Xero converter, the Xero template guide and pricing. Free: browser review for one supported invoice up to 10 pages and 10 MB, without signup.

Questions people ask

What does a supplier need to be before I can import a bill?

A contact in Xero. Search for the supplier first and use the stored name exactly if they exist. If they do not exist, create the contact deliberately rather than letting the import create a near-duplicate.

Why was my supplier invoice refused as a duplicate?

Because the invoice number already exists for that contact, possibly from an earlier partial import. Search your bills for the number before assuming the supplier reused one, and remove rows that already imported before retrying.

Why are my line totals a cent different from the paper?

Xero calculates each line as quantity times unit amount. Where the printed line total is not an exact product, for example because the unit price was rounded on the invoice, the two will differ. Check the first bill and agree which figure you keep.

Where do the tax type names come from?

From your organisation's tax rates. Names differ by country and can be edited, so copy them from the tax rates settings rather than from a guide or another organisation's file.

Do account codes or account names go in the file?

Codes, from your chart of accounts, and the account must exist and be active. Format the column as text in a spreadsheet so codes with leading zeros survive.

How many supplier invoices can I convert on the free allowance?

Five bills in all, twenty pages each and thirty pages in all, with nothing to sign up for. A month-end batch is larger than that, so a paid plan is the practical route when the volume is real. See pricing.