Posted by
Manuel Meyer on
Jul 19, 2005; 10:47am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-VAT-and-rounding-tp135121.html
Hi All,
I have a question regarding taxes and rounding.
In France, every product sold on a site has a VAT of 19.6%.
When the administrator enters a product, he enters it without tax, and I've
added an entry in the product store tax setting, with a tax rate of 19.6.
In order to show taxes very time a product is added in the basket, I've
modified the calcTax service to ask the system to compute tax even if a
shipping address hasn't been entered, as this tax is always applied.
Up to here everything is fine, except that if an price admin enters a
product of 150 tax included, he will enter 125.42 as a default price, and
125.42 turns into 150 when you add tax on it.
The problem is that if a user put 3 items of the same type in his basket,
the price is rounded to 450.01. By adding 7 products of the same type, the
price tax included will be 1050.02 and so on. As the site is a BtoC, the
customer does not want to know about VAT; he only needs to see how much
money he'll spend globally.
I've try to play with the currency format in the general.properties file, as
it is referenced in the code, but I still have this rounding problem.
If I enter 150 as default price and remove the simple tax entry, the
accounting will be false as I won't have anymore vat entries in the
accounting part.
What is the best practice to apply in terms of product price in order to
avoid this rounding problem?
Any advice or comments are very welcome
Thanks in advance and bst regards,
Manuel Meyer
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users