...
- If the Prices Include VAT option is selected: The VAT amount is extracted from the item amount (Amount), that is,
VAT VAT_Amount = Amount * VAT_Rate/(100+VAT_Rate).
- If the Prices do not Include VAT option is selected: The VAT amount is calculated based on the item amount, that is,
VAT_Amount = Amount * VAT_Rate/100.
The Total amount is automatically calculated according to the VAT-related settings as follows:
...