Import invoices, bills and credit notes into Xero
Import invoices, bills and credit notes from another accounting system into Xero using Xero's CSV template. If you have invoices or bills in MYOB, you can export them as a CSV and import them directly into Xero. You'll need to import invoices and bills in separate batches. To import credit notes, add them as invoices or bills with negative amounts. Your invoices, bills and credit notes come into Xero as drafts, for you to review and approve as normal.
You can't import payslips into Xero. To create payslips and bills associated with payroll, you'll need to do so within Accounts > Pay Run.
To import invoices or bills into Xero go to either Accounts > Sales or Purchases and click on Import. All users who have access to invoices or bills can import. They can be imported any time after setup is complete.
- Import invoices or bills to match your account balance during setup
- Create and import your invoice or bill file
- Download the Xero template CSV
- Enter invoice or bill data into the CSV
- Tips & rules for entering invoice or bill data onto the CSV
- Import an MYOB file
- Import your file
- Confirm the import
- View & process your imported invoices or bills
Invoice or bill data imported into Xero is treated in the same way as if you'd manually entered it into Xero - you're using the CSV as a way to quickly import the data into the invoice or bill fields. Please review the rules for the CSV and Xero invoices or bills below. The invoices or bills in Xero may have slightly different totals to ones you've issued your customers before using Xero. You can use a reconciliation adjustment to reconcile the payment received in your bank account when that payment is different to the invoice or bill in Xero.
Import sales invoices or bills to match conversion account balance
You can only import sales invoices or bills into Xero after setup is complete. If you are working through the setup process and have a conversion balance for invoices or bills, here are some steps to follow.
If you have already completed setup, go straight to Accounts > Sales or Accounts > Purchases to start.
Create & import your invoice or bill file
- At the Conversion Balance step in the Setup Guide, leave the balances for Accounts Receivable (sales invoices) and Accounts Payable (bills) or Aged Debtors and Aged Creditors if you're importing MYOB balances as 0.00.
- Complete setup. A period lock date is applied automatically as at the conversion date. Someone with the Financial Adviser user role needs to complete the import process, or remove the lock date so that a user with a different role can do it. You can edit your user role to give yourself the Financial Adviser role if you have the 'Manage users' option.
- In Xero, go to Sales and Purchases to import your invoices or bills as described below, and approve them. The dates for all these items should be before your Conversion Date.
- When all items are approved (have a status of Awaiting Payment) the totals of these items on the Awaiting Payment tabs in Sales and Purchases should match the balances you have from your previous system. Enter these totals on the Conversion Balance screen as the Accounts Receivable (Sales) and Accounts Payable (Purchases) balances and save the balances.

- Re-enter the period lock date (if you removed it) to be the date of your conversion date so that nothing is accidentally entered before this date.
Create & import your invoice or bill file
From any tab in Sales or Purchases, choose the Import button to go to the Import sales invoices or bills screen. The import process is the same for invoices and bills but you must import them from the relevant section in Xero.

If you want to start with Xero's blank template or reformat your invoices or bills exported out of an existing system to match the template, you'll need to go to the Import invoices or bills screen initially to get the template. If you have a CSV file of invoices or bills that you've already exported from MYOB this will import directly into Xero as long as the column headings exported from MYOB exactly match those expected by Xero.
A CSV file is a document that is formatted with Comma Separated Values. The most common software program used to create or edit a CSV file is Excel although many other programs will let you save a file in CSV format i.e. somefilename.csv. Xero will also accept comma separated values in a text-based file (created by a program like Notepad or Text Edit) which when saved will have a name like somefilename.txt. You need to save your file in the CSV format, and not just rename a file so that it contains '.csv' or '.txt'. As long as you follow some specific rules below, Xero will understand the data you put into your CSV file and will know how to create your invoices or bills from it.
Download template
|
If you're importing a file from MYOB you don't need to use Xero's template - just choose the MYOB option and import your file. Use the Xero templateSales invoice or bill data needs to be imported into Xero in the CSV format from a .csv or .txt file using a template that Xero can use to map values in your file to the relevant invoice or bill fields in Xero. To open the blank template containing the headings under which you need to enter your invoice or bill details, go to Accounts > Sales or Purchases > Import, then click the Download template file link. Depending on how your computer is set up, the CSV template provided by Xero will most likely open in Excel.
Note: whether you use the Xero or MYOB import option, this importing tool allows the simple import of raw invoice data into Xero - any additional fields, formatting, currency symbols, attachments or anything else attached to your invoices in another accounting system will not be imported. Similarly if you add columns or the column headings on the CSV file you're importing into Xero differ from the exact column headings Xero expects, the file will fail to import. If there is anything wrong with the data on an individual invoice (i.e. Xero can't interpret the data according to the invoice fields in Xero) then that invoice won't be imported. You will get a chance to see any errors that occurred with the import on the Import Summary screen. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enter invoice or bill dataIf you're importing an MYOB file you don't follow these guidelines for editing the CSV - go straight to importing the MYOB file.
|
Enter or copy your sales invoice or bill data into the CSV fileWhether you started with the blank Xero template or got a file of your sales invoice or bill data from another system, enter or change the data in the columns provided in the CSV file. The Xero template contains column headings under which you should enter or copy your invoice or bill data. The CSV file contains all the invoice or bill fields in the Xero database. Some of these are editable in Xero and some not. This means that there are columns in the CSV file that you should not use. Just enter data into the columns that you would normally use if you were entering an invoice or a bill in Xero. To create credit notes, enter negative amounts.
If you're not familiar with the Xero invoice or bill entry screen, you might like to take a look at one first so that the columns make some sense. The CSV file essentially 'maps' columns to invoice or bill fields in Xero so by completing the information column by column, you're essentially 'filling in' the fields in Xero automatically. The columns to use and rules for the data entered into them are explained below.
If you're not familiar working with CSV files, you'll probably find it easier to use Excel because you can work with your data in columns rather than in a straight line separated by commas as with a text editing program.
Columns & rules for entering invoice or bill dataEnter your invoice or bill data into the CSV file, one invoice or bill per row, under the column headings provided (one column for each field on the invoice or bill) - or one invoice or bill line item per row if it has multiple line items (below). The header row is mandatory and some columns may be deleted if not used - full details below in the section Tips for ensuring a successful import. If you're working with a CSV file from another source and have opened it in Excel, make sure the comma separated data is spread across the columns under each relevant heading rather than all data displaying in the first column of the spreadsheet. Sometimes this happens by default if you open the CSV using Excel. To ensure the data displays correctly, you might need to open Excel first then use the import feature in Excel to import the CSV data. If all your data appears as comma separated in the first column of the spreadsheet it will fail to import into Xero. Once imported, data will be entered and saved as a draft invoice or bill. You'll need to check and enter mandatory data in the draft invoice or bill before you can approve it. In some cases you might be able to import data into Xero that isn't valid when it comes time to approve the invoice or bill e.g. the date entered is in a locked period or a field has been left blank. Your CSV needs to comply with these same rules as if entering a draft invoice or bill directly in Xero. Refer to the help for fields and validation when entering an invoice or bill in Xero normally - Add a sales invoice or Add a bill. Use the following columns on the CSV template file for your sales invoice or bill dataOn the CSV file, complete the columns that are mandatory, choose whether to complete the others (you'll be required to edit and complete the missing fields directly on the sales invoice or bill in Xero before approving it) and ignore columns not listed below.
Here's an example of a single-line sales invoice or bill on the CSV (and corresponding draft version in Xero) with the bare amount of information entered that will allow it to be approved in Xero with no further editing required:
Tips for ensuring a successful import:
This is based on your location in Organisation Settings, not on the currency for each invoice or bill (if you have multi-currency). In all other regions the decimal place is marked with '.' as usual, and a comma will not be accepted. Contact details (customer or supplier names)
Chart of Accounts, Tax & Tracking
Invoices or bills with more than one line item
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MYOB |
Import an MYOB fileIf you have a file of sales invoices or bills that you've exported from MYOB, you can import the file directly into Xero as long as it is a CSV or TXT file, and the column headings match those which Xero expects to find, as shown in the table below.
In the same way as if you were using the Xero CSV template, this importing tool allows the simple import of raw invoice or bill data into Xero. Any additional fields, formatting, currency symbols, attachments or anything else attached to your invoices or bills in MYOB will not be imported. Similarly if you add columns on the MYOB file you're importing into Xero, the file will fail to import. If there is anything wrong with the data on an individual invoice or bill (i.e. Xero can't interpret the data according to the fields in Xero) then that invoice or bill won't be imported. You will get a chance to see any errors that occurred with the import on the Import Summary screen. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Import
|
Locate and select the file to importClick the Browse button to locate the CSV or TXT file you want to import into Xero.
Browse your computer's file system to find the CSV file you've saved on your computer.
Click the Update button to bring the invoice or bill data from the file into Xero where you will be asked to Confirm the import before finally importing the data as invoices or bills into Xero.
Click the Cancel button if you want to stop the import process for now. |
Confirm the import
Confirm
|
Review the sales invoices or bills to be importedOnce you have created or downloaded your invoice or bill file and selected it as a .csv or .txt to import into Xero, you can review what's going to be imported before finally completing the process.
|
View & process the imported sales invoices or bills
View |
Once imported, your sales invoices and bills will display on the Sales or Purchases Draft tab depending on the section of Xero you were in when you chose to import. From there you can process the draft invoices or bills in the normal way. |













