VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sohopros on February 01, 2019, 19:23:03 PM

Title: final Price, Rounding and Tax price [solved]
Post by: sohopros on February 01, 2019, 19:23:03 PM
Hi,

1. product price is 1.11 euro.
2. User buy 21 Products.
3. Tax is 21%
Calculations:
1.11 * 21 = 23.31 . Price without Tax
23.31 * 0.21 = 4.90. Tax Price.
23.31 + 4.90 = 28.21 euro. Final Price.

Setting on the Back -end:

1. If user buy 21 or more quatity price is 1.11
2. Final Price is 1.34. BUT 1.11 * 1.21 (tax) is 1.3431. But Virtuemart Round this price to 1.34!
3. In the shopping Card Virtuemart USE FINLA Price to calculate Tax and Order Price.
Calcumations:

1.34*21 = 28.14  (Order Price)
1.11*21 = 23.31 ( Product Price withiut tax)
28.14-23.31 = 4.83 Tax Price.

See attached screenshots.

Can the calculations of the TAxes be made in the Card? Not from Final Price. OR Can the final price be rounded not for 2 decimals after the coma, but more?


Please advise,
Sandra
Title: Re: final Price, Rounding and Tax price
Post by: sohopros on February 06, 2019, 18:36:19 PM
Any advise on it?
Title: Re: final Price, Rounding and Tax price
Post by: jjk on February 06, 2019, 23:29:03 PM
Why do you want to change that? The VAT calculation with rounded 2 decimals is correct and accepted in all EU countries. This is what the vast majority of businesses do. If you change that, the numbers will look weird to many customers.
Title: Re: final Price, Rounding and Tax price
Post by: sohopros on February 07, 2019, 20:50:30 PM
I want to have the correct total amount.

Virtuemart calculates final price: 28.14

But the correct Final Price is 28.21.

In my example, the difference is not big, but in the real world, the difference is huge.
Title: Re: final Price, Rounding and Tax price
Post by: AH on February 08, 2019, 11:04:46 AM
show your rounding settings in the configuration page

what type of tax are you applying to products
Title: Re: final Price, Rounding and Tax price
Post by: sohopros on February 13, 2019, 00:41:20 AM
Added Price roundings

We use VatTax

Thanks
Title: Re: final Price, Rounding and Tax price
Post by: AH on February 13, 2019, 10:35:26 AM
Thank you for the information.

My advice (as it is the settings I have used since day 1 for VAT Tax by product ) Do not round to 2 when using VAT tax - set ALL roundings to -1

Also set "Round only display"
Title: Re: final Price, Rounding and Tax price
Post by: sohopros on February 13, 2019, 18:29:23 PM
Perfect! Thanks, it worked.

Sandra
Title: Re: final Price, Rounding and Tax price
Post by: AH on February 13, 2019, 20:04:53 PM
Glad it worked for you  :)