[ic] Dutch Taxing

New Media E.M.S. ic_users at newmediaems.com
Thu Jun 24 17:31:24 EDT 2004


At 01:28 PM 6/24/2004, you wrote:

>People,
>
>I have a question that you might be able to anwer:
>Dutch selling requires that consumerproducts are priced tax-included. That 
>is not a problem. Problem arrise on during checkout, when taxes are 
>specified on the bill. IC adds another so many %. This way people are 
>charged the double amount of taxes. As this is good for my turnover, it 
>shouldnt be like this. Taxes are required to be specified on a bill, so 
>making everything tax-free doesnt work either. What I need is a 
>specification on how much tax is being charged from the total amount. So, 
>if the total purchase would be €119, then taxes would be 19 and the 
>subtotal 100..like this:
>
>Sub 100
>tax 19
>total 119
>
>While IC does this:
>
>sub 119
>tax 22.61
>total 141.61
>
>How do I make IC do this?
>Thanks
>-Patrick

Since you have already computed the tax for each item, and added it to the 
price of the item itself, I don't think you should use Interchange's 
salestax feature at all. Instead, roll your own routine to figure the tax 
by itself for the whole order, and display it on the tax line in the order 
recap and receipts. There are so many ways you could do this: the [summary] 
tag, a [perl] block which iterates through the cart and uses $Tag->price(), 
or a UserTag to name a few. In each case, you could extract the tax from 
the item price if it is a fixed %, or if it varies by type of item, you 
would probably want to add a tax field to the products table, and do your 
computations with that.

- Ed


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 




More information about the interchange-users mailing list