Upon encountering the error message "Errors syncing invoice: Field Line.SalesItemLineDetail.TaxCodeRef has the following error Valid line TaxCodes for US should be TAX or NON. Supplied value: 4" during the synchronization process between ServiceBox and QuickBooks Online, it typically indicates an issue with the tax settings in QuickBooks Online.


To address this:

  • Open the QuickBooks Online tab.




  • Navigate to Sales Taxes tab and ensure all tax configurations are set up correctly

Ensure that the 'QuickBooks Tax Code For Blank Service Box Tax' is set to a tax level that indicates tax exemption or zero tax. This is important because the system assumes it to be a non-taxable item by default.

  • After making these adjustments, please re-run the sync process.

Explanation of 'QuickBooks Tax Code for Blank Service Box Tax':

This tax code is utilized in accounting when no tax is applied to a ServiceBox invoice. If a sales tax code in ServiceBox is left blank, the system assumes it's a non-taxable item (it's recommended to select 'Tax exempt' or a similar tax code).

If a ServiceBox invoice comprises both taxed and non-taxed line items, ServiceBox will calculate the price correctly. However, when transmitting this invoice to QuickBooks, only the line item with tax will be linked correctly. The blank item will default to the system's default tax, potentially resulting in a discrepancy in the total invoice amount in QuickBooks.