Display VAT Tax correctly
-
I am using this plugin for a long time and it works pretty well.
I had a requirement about to display VAT taxes seperately on the invoice.
So, by using this function wc_get_price_excluding_tax($product) and running through all the products i am able to show the following. Basically, i want to show how much Net amount related to the percentage of VAT.12,36 € (7% VAT)
3,32 € (19% VAT)
15,68 € (Net)Standard Display (comes with plugin):
17,17 € (incl. 0,86 € VAT 7%, 0,63 € VAT 19%)For info, 19% VAT only for Shipping cost (3.95€ Gross), all products come under 7% VAT.
The question here is, how can i get the discounts (via Coupon) per product and then do the tax calculation correctly?
- The topic ‘Display VAT Tax correctly’ is closed to new replies.