Tax Calculation - FAQ
Created by jg (Unlicensed)
Last updated: May 02, 2018 by Yamam Al Ghourani (Unlicensed)
How are configurations loaded?
The tax configurations (this includes the Location Order, the Tax Rates File and the Default Rate configurations) are loaded in a specific order, the tax calculation will use the first matching enabled configuration from the list below:
# | Provider Specific | Item Type Specific | Tax Number Provided Specific | Example System Setting (Default Tax Rate) | Example System Setting (Tax Rates File) | Example System Setting (Location Order) |
---|---|---|---|---|---|---|
1 | ![]() | ![]() | ![]() | provider.1.order.public_course_event.tax.default.true | provider.1.order.public_course_event.tax.rates-file.true | provider.1.order.public_course_event.tax.location-order.true |
2 | ![]() | ![]() | ![]() | provider.1.order.public_course_event.tax.default | provider.1.order.public_course_event.tax.rates-file | provider.1.order.public_course_event.tax.location-order |
3 | ![]() | ![]() | ![]() | provider.1.order.tax.default.true | provider.1.order.tax.rates-file.true | provider.1.order.tax.location-order.true |
4 | ![]() | ![]() | ![]() | provider.1.order.tax.default | provider.1.order.tax.rates-file | provider.1.order.tax.location-order |
5 | ![]() | ![]() | ![]() | order.public_course_event.tax.default.true | order.public_course_event.tax.rates-file.true | order.public_course_event.tax.location-order.true |
6 | ![]() | ![]() | ![]() | order.public_course_event.tax.default | order.public_course_event.tax.rates-file | order.public_course_event.tax.location-order |
7 | ![]() | ![]() | ![]() | order.tax.default.true | order.tax.rates-file.true | order.tax.location-order.true |
8 | ![]() | ![]() | ![]() | order.tax.default | order.tax.rates-file | order.tax.location-order |
Can I use provider specific configuration as well as tax number provided configuration?
Yes.
This can be done by using both concepts together, meaning that you prepend the provider details in front of the system setting then append if the tax number is provided at the end of the system setting.
Example:
provider.1.order.tax.rates-file.true - Is used when the provider of the item being purchased has the ID 1 and the order has a tax number provided