[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] SalexTax multi error with discount products
On Fri, 15 Nov 2002 05:24:40 -0500
Mike Heins <mike@perusion.com> wrote:
> Quoting scaballe@caballe.net (scaballe@caballe.net):
> >
> >
> > There is an error in [salestax] calculation with [discount] products, the
> > tax is calculated with the regular price, instead subtotal
> >
> > It works OK with default salestax configuration, but fail with
> > VAT, based on country and tax category. (SalexTax multi)
> >
> > My catalog.cfg :
> >
> > #SalesTax __TAXFIELD__
> > SalesTax multi
> > TaxShipping __TAXSHIPPING__
> >
> >
> > example:
> >
> > 105.26 less 5% discount = 100 + 16% (16.00) = 116.00
> >
> > but the interchange calculation is:
> >
> > 105.26 less 5% discount = 100 + 16% (16.84) = 116.84
> >
> > Salestax was 16.84 instead the correct valor 16.00
> >
> > Version 4.9.3
> > Tax configuration:
> > Tax type :VAT, based on country and tax category
> >
> >
> > Tested also with 4.8.6 (same problem)
> >
>
> Cannot confirm this.
>
Thanks for your answer.
Your example works OK, but my tax setup is different:
my catalog is a modified foundation type.
for testing this problem I use the default 4.8.6 checkout.html page
I only add a line :
[discount ALL_ITEMS] $s * .75 [/discount]
Catalog.cfg
SalesTax multi
--------
The TAX (VAT) type is in country table tax_category row :
code sorder region selector shipmodes name iso isonum tax
ES 3 Europe-EC ES SRV Spain ES 724 default = 16% , book = 4% , food = 6%
---------
There is a row tax_category in products table.
if the item tax_category is empty tax=16% , if equal to 'book', tax = 4% , if equal to 'food' tax = 6%
---------
and Tax is wrong :(
Thanks again.
Salvador Caballe