Posted by
Jacopo Cappellato on
URL: http://ofbiz.116.s1.nabble.com/Users-tax-functionality-tp138468p138469.html
Hi Hans,
unfortunately I have not still implemented this.
The idea (as suggested by David Jones) is to add a flag in the
TaxAuthority entity to specify if the tax should be applied to the
invoice total or to each invoice items (as is now).
There is a quick way to implement the calculation:
1) leave the sales tax adjustments as are now, i.e. one adjustment for
each order/invoice item
2) in the order/invoice reports, hide the item adjustments and show only
the total sales tax at the end of the report
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.
What do you all think of this?
Jacopo
Hans Bakker wrote:
> David, Jacopo,
>
> i had a quick look at the new tax functionality and the page in the wiki but
> could not see if it can be used to automatically calculate sales tax on an
> invoice for customers in a certain geolocation
>
> I need to specify 19% sales tax on the total invoice for every customer in the
> Netherlands. Will there be an extra invoice item added for this purpose?
>
> When possible can you give me a few lines explanation how to do
> that?
>
> Regards,
> Hans Bakker
> ANT Websystems Co.,Ltd (
http://www.antwebsystems.com)
>
> If you want to verify that this message really originates from
> from the above person, download the public key from:
>
http://www.antwebsystems.com/hbakkerAntwebsystems.asc>
> _______________________________________________
> Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users