Message: WARNING: ORDER_STATE_SALES_TAX has the value "$X.XX". State tax must match this order's calculated amount "$X.XX".
Explanation: The tax supplied for the order does not match the amount that is being calculated during the validation check using the information included with the order.
The validation of ORDER_STATE_SALES_TAX is done very different depending on whether you are using the vendor’s prices or OrderLogix prices.
If USE_PRICES, USE_SHIPPING, and USE_TAXES are “N”, then taxes are calculated using the values set in OrderLogix. If any Price, Shipping, or Tax Rates vary between the vendor and OLX, then you will see this exception. It is recommended to use vendor’s pricing (setting these values to “Y”) especially when a payment transaction is being provided with an order (i.e. PAYMENT_TYPE is “AUTH” or “SALE”).
If USE_PRICES, USE_SHIPPING, and USE_TAXES are “Y”, then taxes are calculated using the values supplied with the order. The calculation first takes the PRICE## fields, subtracts anything included in the DISCOUNT## fields, and multiplies by TAX_RATE## values. Tax is either calculated by Item Level, Order Level, or Order Total methods as specified in the TAX_CALCULATION_METHOD setting (for more information about what each of these mean, please read the article about this here: https://support.orderlogix.com/portal/en/kb/articles/tax-calculation-methods. Tax is rounded during these calculations using the method specified in the TAX_ROUNDING_METHOD setting; Round, Up, Down, or Bankers (for more information about what each of these mean, please read the article about this here: https://support.orderlogix.com/portal/en/kb/articles/tax-rounding-methods-for-imported-orders-round-up-down-and-bankers
Suggested Resolution: Since several fields from the order import are evaluated during this calculation, there are many reasons why this calculation may differ from the supplied value. Below is a list of common reasons and how to resolve them.
If the above suggestions have not helped you to resolve your error, please contact OrderLogix Customer Care for assistance. Thank you!