Hi guys,
I have a pretty urgent situation that confuses me.
I have a product with a price of 106.19 EUR with VAT. Prices in the database are WITHOUT VAT.
I have set an order discount of 10% and I have set the order discounts to apply before taxes.
The backend (and also the tags I get in the front-end) are displaying a weird calculation.
The subtotal is calculated as subtotal without VAT minus the discount value calculated at the price with VAT.
Namely:
OrderlinePrice with VAT: 106.19
Order discount (with VAT): 10.62
Subtotal (withoutVAT) :77.87
Subtotal with VAT: 95.57
In my calculations, the Subtotal (without VAT) should be : 88.4916 - 8.8491 = 79.6425
Becuase of this difference, the resulting VAT is calculated also wrong. It returns a value of 17.70 which is not the value of a 20% VAT of the total of 95.57.
Am I missing a setting that would set a VAT on the Discount?
I am running DW 9.5 and Rapido 3.0
Thank you,
Adrian