Name

TAXRATE — key=value pairs used for taxing calculation

SYNOPSIS

{ area=value... }

DESCRIPTION

An accessory-list style of values (key/value pairs) defining areas and corresponding tax values.

This is used in conjunction with the FlyTax taxing method.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

IL=7.25, NV=5.5

NOTES

AVAILABILITY

TAXRATE is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Interpolate.pm
Line 5474 (context shows lines 5464-5478 in fly_tax():5458)

}

if(! $area) {
  my $zone = $Vend::Cfg->{SalesTax};
  while($zone =~ m/(\w+)/g) {
    last if $area = $::Values->{$1};
  }
}
#::logDebug("flytax area=$area");
return 0 unless $area;
my $rates = $::Variable->{TAXRATE};
my $taxable_shipping = $::Variable->{TAXSHIPPING} || '';
my $taxable_handling = $::Variable->{TAXHANDLING} || '';
$rates =~ s/^\s+//;
$rates =~ s/\s+$//;

AUTHORS

Interchange Development Group

SEE ALSO

TAXHANDLING(7ic), TAXSHIPPING(7ic), TAXCOUNTRY(7ic)

DocBook! Interchange!