Closed
Description
Most countries have some kind of sales tax applied to goods being purchased.
In the UK for example, the current VAT rates are zero (0%), reduced (5%) and standard (20%). Here are rates in other EU countries
A tax is modeled as a type of Adjustment (#29) (AdjustmentType.TAX
) and should be applied before any other adjustments, since other adjustment conditions would typically query the tax-inclusive prices.
Design
- The
ProductVariant
entity should have ataxCategory
property which points to a tax AdjustmentSource. - The
price
property should be tax-inclusive. There should be a new property,priceBeforeTax
which contains the price before taxes are applied.