Tax Calculation

Last Modified Dec 9, 2025

  • The taxes are calculated according to the Tax Rules.
  • The Tax Rules specify:
    • The Tax to be applied (required).
    • The Product Tax Code that the Tax is applied to (required).
    • The Customer Tax Code that the Tax is applied to (required).
    • The geographic Zone that the Tax is applied to (required).
  • The Tax has a porcentage that applies to the item total. If other taxes also applies to the same item(s), all of them are calculated over the initial total without affecting the amount of each other.
  • The products without Product Tax Code will not have taxes applied.
  • The customers without Customer Tax Code will not have taxes.
  • Not logged in Customers have a default Customer Class with the code: DEFAULT_GUEST
  • The geographic zone to apply a customer is compared against the shipping address or Store address deppending on the selected Address Strategy,
  • Global taxes applies to the order are not supported yet.
  • Shipping taxes are not supported yet.

As a conclusion of the previous rules, taxes to an order item will be applies only if there are at least one Tax Rule which:

  • Its Product Tax Code matches the one set to the product item.
  • Its Customer Tax Code matches the one set to the customer item (requires logged in customer). OR its Customer Tax Code is DEFAULT_GUEST (only not logged in customers).
  • Its Zone matches the shipping/store address.