The SimpleJapanTax component, which appears in the Tax stage of an order processing pipeline, computes a tax rate for the Japanese tax model. It can be used for any country that uses a similar model. The component handles fractions of currency units only at the item level; order-level calculations (order._tax_total
and order._tax_included
) are rounded to the nearest whole unit.
item._tax_total
is set to the tax amount and item._tax_included
is set to zero), or whether the tax rate is included in the price (in which case item._tax_included
is set to the tax amount and item._tax_total
is set to zero).The SimpleJapanTax component is a simple tool for you to use to calculate tax rates. Microsoft strongly recommends that you have an independent tax professional verify all applicable tax rates and data generated by this component before you use such information for personal or business purposes.
The combination of the Key, Apply when, and Country fields determine whether tax should be applied, but only if tax is not already included in the item’s price.
The SimpleJapanTax component first checks the Apply when value. If it is set to Always, the tax is always applied to the order. If Apply when is set to Has any value, the tax is applied to the order whenever the order form contains any value for ship_to_country. If Apply when is set to Equal to Country, the component does a comparison between the value of ship_to_country on the order form and the text string in the Country field on this property page. If there is a match, the component applies the tax whose value is stored in the field specified in Rate Item Key.
To specify that a 9.54% tax rate is included within an item’s price and is not included in another item’s price for items in Japan, do the following:
jpn_prod_tax_included smallint NOT NULL,
jpn_prod_tax_rate real NOT NULL,
Product Included
and Product Excluded
. Assign Product Included
the 9.54% tax rate with the tax included in the product price. Type 9.54 into the jpn_prod_tax_rate
column and 1 (True), in the jpn_prod_tax_included
column in the Product Included
row. Assign Product Excluded
the 9.54% tax rate with the tax not included in the product price. Type 9.54 into the jpn_prod_tax_rate
column and 0 (False), in the jpn_prod_tax_included
column in the Product Excluded
row.Field | Value |
---|---|
Apply when | Has any value |
Country | JPN |
Include Item Key | _product_jpn_prod_tax_included |
Rate Item Key | _product_jpn_prod_tax_rate |
If the customer types a country in the OrderForm that is not specified in the SimpleJapanTax component configuration, the values of the _tax_total
and _tax_included
name/value pairs on the order and on the items will not be set.