Error: We're sorry, QuickBooks encountered an error while calculating tax
How to determine the cause and solution for QuickBooks error message "We're sorry, QuickBooks encountered an error while calculating tax."
Description
When syncing a transaction to QuickBooks, the following error message from QuickBooks is returned to Connex:
Error: We're sorry, QuickBooks encountered an error while calculating tax. Try re-selecting the tax rate or reentering the product/service item and saving the form again.
Cause
Usually a line item is missing a tax code or discounts are mapped incorrectly.
Solution(s)
Map discounts to QuickBooks Online line items
For users in Europe, you must use the QuickBooks Online discount field. QuickBooks Online will not allow VAT on a discount because the amount is negative. Follow these steps to enable this field.
Ensure all shipping methods, line items and discounts have a tax code
Here are the steps:
- Go to rules engine > order previewer in Connex Ecommerce.
- Choose the selling channel and enter the order number.
- Click the eye icon.
- Scroll to the bottom.
- Verify there are rules for line items, discounts (if one exists) and shipping (if shipping exists):

If these rules are missing, follow these steps to add them.