Re: Users - tax functionality
Posted by
David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/Users-tax-functionality-tp138468p138470.html
Jacopo Cappellato wrote:
> 3) in this way there could be approx errors (a sales tax amount
> calculated as a percentage of an invoice total could be slightly
> different from a sales tax amount calculated as the sum of the sales tax
> amounts of each item); to solve this, in the createInvoiceForOrder
> service, we could create an offsetting adjustment to fix the approx errors.
There is stuff in place to avoid this right now. Tax adjustments for each line item are calculated to 3 decimal places, then added up, then rounded to 2 places for the tax total. Doing it this way is required in certain countries, like the UK.
It doesn't totally eliminate any difference there might be, especially for a large number of order/invoice items, but it is closer.
-David
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users