[ 
https://issues.apache.org/jira/browse/OFBIZ-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964638#action_12964638
 ] 

David E. Jones commented on OFBIZ-1262:
---------------------------------------

I don't know that the work I've done can replace these changes, or that I'll be 
doing any work that will replace them. The work I did was to make various 
calculations more accurate, but there is still an issue where in certain cases 
we just can't get the calculated total based on prices without tax included to 
exactly match the total based on a calculation based on prices with tax 
included. What that means is that the only solution seems to be to do the 
calculation based on prices with tax included, and then calculate how much of 
that should be taken out as tax. There just doesn't seem to be any way to avoid 
that, and that will eventually need to be implemented (preferably based on 
existing settings on the ProductStore and the ProductPrice records to see if 
there are prices with tax included).

> Complete the support for VAT (Value-Added-Tax)
> ----------------------------------------------
>
>                 Key: OFBIZ-1262
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1262
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order, specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Marco Risaliti
>            Assignee: David E. Jones
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: CalculateVatTax2.patch, ecommerceEu.zip
>
>
> I have tried to implement a different of VAT Tax calculation without total 
> change the actual calculation of tax for USA.
> I have add a new field into the ProductStore to understand if for a store the 
> vat tax has to be calculated (calculateVatTax).
> The old field showPricesWithVatTax it will be used only if the 
> calculateVatTax will be set to yes for show the prices with tax included or 
> excluded.
> I have created a sample application (ecommerceEu) to show how it's working.
> For the moment I have used only two product with vat tax calculated (GZ-1000 
> and GZ-1001).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to