WhatsApp to Tally is live today, not a waitlist. Free for 14 days.

How to Import Supplier Bills into Xero with a CSV: Template, Required Fields and Common Errors

How to bulk import supplier bills into Xero using the bills CSV template, which fields matter, why imported bills arrive as drafts, and how to build the file from invoices.

By the TaskAutomate team. Published , 8 min read.

Xero lets you import supplier bills from a CSV file: open Bills to pay, choose to import, download Xero's bills template, fill one row per bill line, and upload it. Imported bills arrive as drafts for you to review and approve. The template's column headings must not be changed, the contact name is required, and in practice you should fill the account code and tax type on every line or the import fails or lands bills in the wrong place. Building that CSV from PDF and paper invoices is where most of the time goes, so this guide covers both.

Where the import is

In Xero, go to Business, then Bills to pay, and open the import option. From there you can download Xero's own CSV template for bills. Always start from that template: Xero's templates for bills and for sales invoices differ, and using the wrong one is a common reason an import fails.

The fields that matter

Xero marks required columns in its template with an asterisk. The ones to get right on every row:

FieldWhat goes in itWatch out for
Contact nameThe supplierMust match an existing contact exactly, or Xero creates a new one
Invoice numberThe supplier's invoice numberNeeded to spot duplicates later
Invoice date and due dateDates on the billUse the date format of your Xero organisation's region
DescriptionLine descriptionOne row per line; repeat contact, number and dates on each
Quantity and unit amountPer lineQuantity times unit amount should equal the line amount
Account codeThe expense account for the lineMust be a valid code in your chart of accounts
Tax typeThe tax rate for the line (GST, VAT or sales tax setting)Must be a tax rate set up in your organisation
Leave the template's headings exactly as they are. Renaming or reordering them is one of the most common causes of a failed import.

Step by step

  1. Download the template from the bills import screen.
  2. Fill it from your invoices, one row per line item, with contact, invoice number and dates repeated on every row of the same bill.
  3. Check account codes and tax types against your chart of accounts and tax rates.
  4. Check for duplicates on contact plus invoice number before uploading; see duplicate invoice detection.
  5. Upload and review the drafts. Imported bills arrive as drafts. Open a few, compare them with the originals, then approve.

Building the file from invoices

TaskAutomate reads invoices and receipts (uploaded in a batch, or forwarded by email) into fields and line items, which you check beside each original before exporting. Its CSV export can put each line item on its own row with the invoice number, vendor and dates repeated. Copy those columns into Xero's template, add account codes and tax types, and import. TaskAutomate does not connect to Xero directly; it saves the typing, and Xero's import does the rest.

Before importing, convert the date column if needed (TaskAutomate's CSV uses YYYY-MM-DD) and confirm that quantity times unit amount matches each line amount. A mismatch usually means a misread digit or a discount line, covered in how to extract line items from an invoice PDF.

Xero's own capture tool vs extraction

Xero has its own capture option, Hubdoc, which publishes documents into Xero. Whether you use it or a separate extraction tool comes down to the documents you have. If most of your bills are clean digital PDFs from regular suppliers, built-in capture may be enough. If you have long item tables, handwritten slips, faded receipts or need every line item as data, compare tools on your own documents; ChatGPT vs OCR vs TaskAutomate has accuracy results and a test method, and Dext, Hubdoc and AutoEntry alternatives compares the capture tools. To import bills into Zoho Books instead, see importing bills into Zoho Books.

Common import errors

  • Rows rejected for a missing contact: the contact name column is blank on some lines of a multi-line bill. Repeat it on every row.
  • Invalid account code or tax type: the code is not in your chart of accounts, or the tax rate name does not match one in your organisation.
  • New contacts created by accident: "Acme Supplies Ltd" in the file and "Acme Supplies" in Xero. Standardise names first.
  • Bills split into separate bills: the invoice number or date differs slightly between rows of the same bill.

FAQ

Can I import bills into Xero from PDFs? Not in bulk as a CSV import. Extract the PDFs into Xero's bills template first, or use a capture tool that publishes into Xero. Why are my imported bills drafts? That is how Xero's bills import works: review the drafts, then approve them. Does each bill need one row or several? One row per line item, with the contact, invoice number and dates repeated. A one-line bill is one row. Does TaskAutomate integrate with Xero? Not directly. It exports CSV that you copy into Xero's bills template and import.