Xero calculates tax on a per line basis, rounding to two decimal places, and then sums the tax totals of each line to calculate the total invoice tax. Other systems may total lines and then calculate the tax amount, which can lead to a slight variance. Let's use the example below of a bill from a New Zealand company to a New Zealand company, where GST/VAT is applied at 15%.
To compensate for this, Lightyear will send into Xero an extra rounding row, in this occasion of -$0.01 (not taxed). To this GL Code we will assign the default Rounding GL that's set up in your Xero account. Note, we know that this will not fix the GST/VAT amount, but it will balance the total of the bill, meaning you will be paying the supplier the correct amount of money.
In Xero, head to your Chart of Accounts and search for the Rounding GL Code. Ensure this is set up as Code: 860 and Description: Rounding. If it isn't, your export may fail.