Xero data sync settings (Automatic)
If you haven’t connected Xero yet, please view the connection instructions.
Your accounting data sync settings are managed from Admin > Integrations > Accounting > Xero.
How data syncing works
Who does what?
CRM
CRM should be used as your master system day-to-day where you enter sales, purchases, perform stocktakes, manage your stock, manufacture products, track your sales pipeline, centralise marketing and manage your customers and suppliers.
Following is a list of the processes you will perform in CRM:
- Contact and lead management.
- Sales pipeline management.
- Item/Product/Inventory management.
- Quotes.
- Sales Orders.
- Invoice Generation.
- Payment collection.
- Create and send Purchase Orders.
- Receipt Supplier Bills.
- Stock Adjustments.
- Stocktakes.
- Manufacturing Management (Bills Of Material & Work Orders).
Xero
Xero has 2 key functions: accounting & compliance. Following is a list of the processes you will perform in Xero:
- Payments and credits on supplier bills.
- Bank Feed will allocate payments – import them to CRM.
- General accounting work.
- GL Code creation.
- Tax Code management.
- Currency.
- Payroll.
When & how is data synced?
We will ‘auto sync’ transactions from CRM to Xero in the order they are done to avoid timing issues. Transactions are sent to Xero automatically when:
a. If the record exists in Xero and we will update it in CRM, or
b. The record is “financial” in nature e.g. a customer record will be synced to Xero once an Invoice has been issued or a product will go to Xero once it either has stock, is sold, or is purchased.
Data is queued before it is synced.
If there is a stock discrepancy between CRM and Xero , we will automatically update Xero with the CRM value.
The following table explains precisely how data is synced for each type of record.
Module Name |
Business Rule |
Company, Contact, Supplier Company, Supplier Contact |
Auto Sync on Invoice, Purchase order/Supplier bill. |
Product |
Auto Sync when invoice, purchased, stock adjusted, or stocktake performed. |
Quote |
No Sync. |
Sales Order |
No Sync. Initially imported as part of setup. |
Invoice |
Auto Sync when created or updated. |
Credit Note |
Auto Sync when created or updated. |
Payment |
Payments Auto Sync when created and allocated. Payments will regularly import from Xero every 2 hours (during business hours). |
Stock Level |
On initial import only. After that CRM is the master for Stock. |
Purchase Order |
Automatic Export when created or updated. |
Supplier Bill |
Auto Sync when created. |
Stocktake |
Auto Sync when completed. |
Stock Transfer |
Auto Sync when completed. |
Stock Adjustment |
Auto Sync. |
Work Order |
Auto Sync on completion. |
How do I configure the other data sync settings?
1. Link your Xero accounts for stocktakes and adjustments in CRM.
- Account For Stock Adjustments: select the correct account in Xero for stock adjustments in made in CRM to be posted to when they are synced OUT to Xero.
- Bank Account For Supplier Payments: when you create a Stocktake in CRM and then push this OUT to Xero, a supplier bill is created for products that have increased in quantity; an account needs to be nominated for this purpose.
- Bank Account For Supplier Refunds: when you create a Stocktake in CRM and then push this OUT to Xero, a credit note is created for products that have had the quantity reduced; an account needs to be nominated for this purpose.
To learn how to configure these accounts in Xero for selection in CRM, see our guide on setting up bank accounts for stock movements.
2. Make a selection for the following 3 sync preference settings.
- Sync Inventory with Xero: We recommend that you tick this box – doing so means that CRM becomes the master system for stock, and stock will be synced in real-time, ensuring better control and avoiding stock issues.
Rather than amending or deleting an Invoice, we recommend that you use a Credit Note and then re-issue the Invoice.
- Sync Invoice Item Descriptions: this setting is optional and if enabled, means that as well as the item name, quantity and price, the item description will also be synced from CRM to Xero. Following is an example of the item description box in edit mode on an Invoice.
- Lock invoices when transferred to Xero: we recommend that you tick this box, which will mean that once an Invoice is sent to Xero, it cannot be altered. Altering Invoices in Xero once they have been finalised in CRM could cause potential issues between the systems.
- In the event that a record has failed to sync, an error message will be displayed at the top of CRM for all users.
- Click on “View errors” to be taken directly to the record that the sync has failed for.
- You will then see a red message that describes the error, and what needs to be done to resolve it.
- You can also view all failed record syncs from Admin > Integrations > Accounting > Xero from the Unresolved Errors tab.
From the integration settings
From Admin > Integrations > Accounting > Xero:
- From the Export Queue tab, you can see all the records that are currently in the queue to be synced i.e. the sync is in progress.
- From the Import/Export History tab you can see all of the records that have previously been synced i.e. the sync is complete.
From a record
- If a record has previously been synced with Xero, you can see the existing sync details on the record, next to the Xero logo.
From List View
Every record in CRM that can be synced with Xero has fields for Last Accounting Import Date and Last Accounting Export Date.
You can quickly see when records have synced (in either direction) by adding these columns to your view and then use a Filter to search the contents.
Every record in CRM that can be synced with Xero has a field for Accounting Code – if there is a value in this field, it means the record is synced with your accounting system, if it is empty, it is not synced.
You can quickly see which records have synced by adding this column to your view and then use a Filter to search the contents.
On records that can be synced with Xero, there are checkboxes you can use to prevent the record being imported or exported with Xero.
Once the checkbox has been enabled, another box called Reason will display which lets you add in optional notes about why the record shouldn’t be synced.

Do not sync fields on an Invoice
You can also add all 4 columns to List View so that you can quickly see which records are prevented from syncing and why.
CRM is your master system for stock management and the following flow of transactions will ensure that Xero is kept up to date.
If there is a stock discrepancy between CRM and Xero, we will automatically update Xero with the CRM value.
- Your Invoices should be syncing OUT to Xero on a daily basis, thus reducing stock for items in Xero.
- Your Supplier Bills should be being synced OUT to Xero as goods are received, increasing stock for items in Xero.
- You should be syncing Work Orders OUT to Xero on a daily basis (if you are using them in CRM) so that Xero can decrease stock levels for your input products and increase stock levels for your output products in Xero.
- You should bulk export OUT any Stock Adjustments from CRM so that the same adjustments can be made in Xero.
- Stocktakes and Stock Transfers done in CRM should be manually synced out to Xero so the same amendments can be made there.
Your stock levels in the CRM will always be correct because CRM is tracking your ‘Tracked Stock’ in real-time items by:
- Reducing stock when an item is on an Invoice.
- Increasing stock when you receipt items on a Purchase Order.
- Reducing your input product stock and increasing your output product stock when you complete a Work Order.
- Appropriately increasing or decreasing stock on Stocktakes.
- Appropriately adjusting stock when manual Stock Adjustments are input.
- Increasing or decreasing stock at Locations, as per your Stock Transfers.
You will be prohibited from deleting other types of records in CRM if they are already synced with Xero.
- Pressing the delete button on a record in CRM will bring up a prompt to confirm the deletion.
- Pressing OK to delete the record will result in a warning that the record cannot be deleted because it is synced with Xero.
Please contact [email protected] if you need to permanently delete a synced record from your database.
There may be instances where you need to reconnect Xero with CRM e.g. if your Xero password changes.
If you want to reauthorise your Xero datafile from CRM, just click on the 3 dots to reveal a Re-authorise option at the top of the sync page – you will be prompted to enter your Xero credentials again and refresh the connection with CRM.
If you want to disconnect your Xero datafile from CRM, just click on the 3 dots to reveal a Disconnect option at the top of the sync page.
All data that has previously synced between systems will remain unaffected.