News:

Looking for documentation? Take a look on our wiki

Main Menu

VAT Tax automatically calculated from Cost price

Started by giofranz, January 22, 2019, 17:47:15 PM

Previous topic - Next topic

giofranz

Hi guys, is there any way i could set a round "Cost price" for products such as 10 and calculate VAT tax from it?
I need to get something like: 10% VAT tax from 10 = 1. Specifically i need that in invoice/checkout.
Currently i set "Cost price" without VAT tax i.e. 9 and I add the 10% VAT Tax to get 10. In this scenario if VAT Tax change I need to manually change every price!

In Italy IVA is 22% but it might change! Have you any suggestion? Thanks!

jjk

Quote from: giofranz on January 22, 2019, 17:47:15 PM
I need to get something like: 10% VAT tax from 10 = 1. Specifically i need that in invoice/checkout.

In that calculation your math is wrong. VAT is always added to the net price. If your net price is 9 Euro, the gross price with a 10% VAT rate is calculated as 9 x 1.1 = 9.90 Euro. Or if you want to calculate the VAT amount from the gross price, the calculation would be 10 Euro : 1.1 = 9.090909091 (net price) x 0.1 = 0.909090909 Euro (VAT amount).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

well.. filling the Final Price and checking "Calculate the cost price" does just this but this of course wont work to give u the same Final Price if the vat later changes
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

giofranz

Quote from: GJC Web Design on January 22, 2019, 22:10:47 PM
well.. filling the Final Price and checking "Calculate the cost price" does just this but this of course wont work to give u the same Final Price if the vat later changes
Hi GJC Web Design, thanks for the help! I was hoping for that, at least i know I'm not missing the option :-\