-
Notifications
You must be signed in to change notification settings - Fork 25
Taxes
Nikola Gavrić edited this page Jun 17, 2018
·
3 revisions
Can be applied to both products and orders. Taxes are calculated last, this means that first order-level or product-level discounts will be calculated and afterwards taxes will apply. Product taxes are applied first, then order-level taxes are distributed to each product in the order.
Figure 1. Taxes table
- name: Represents a unique tax name (Required)
-
type: (Required)
- ADDITIVE: The tax is an additive tax. The tax amount is added on top of the price. For example, a $1.00 Product with a 10% additive tax would have a total cost to the buyer of $1.10.
- INCLUSIVE: The tax is an inclusive tax. The tax amount is included in the price. For example, a $1.00 Product with a 10% inclusive tax would have a total cost to the buyer of $1.00.
- percentage: A value of 7.25 corresponds to a percentage of 7.25%. This value range between 0.0 up to 100.0 (Required)
- reference_id: An optional ID you can associate with the tax for your own purposes
- reference_type: An optional class namespace you can associate with the tax for your own purposes
If you are still unsure how taxes are applied, you can view it on official docs