Managing tax classes - lemonstand/ls-docs GitHub Wiki

Tax Classes

Each product in LemonStand had a tax class assigned. A tax class is a set of rules which LemonStand uses to calculate tax amounts for a specific product. Using tax classes you can define tax rates for a specific location - country, state, or if it is needed - for a specific ZIP code or city.

Tax Classes

You can manage tax classes on the eCommerce->Taxes page. Click a tax class you want to edit, or create a new tax class. On the Rates tab you can define taxes for different locations using the following columns:

Country Code - code of a country a tax is active for. You can specify a valid 2 letter country code, or enter the * (asterisk) symbol for "any country" condition.

State Code - code of a country state a tax is active for. A value should be a valid state code for a country specified in the first column. Also you can specify the * (asterisk) symbol for "any state" condition.

ZIP - ZIP code a tax is active for. You can leave this field empty if you want a tax to be active for any ZIP code within the specified country and state.

City - name of a city a tax is active for. You can leave this field empty if you want a tax to be active for any city the specified country and state.

Rate - tax rate is used as a percentage. To calculate a real tax amount, LemonStand uses the following equation: tax amount = subtotal * tax_rate/100.

Priority - tax class priority. This column allows to apply up to 2 taxes to a same location. If you do not need to have multiple taxes, specify 1 for all rows in this column.

Tax name - tax name, for example GST, or VAT. Do not use a same tax name for different taxes. Please remember that you should specify valid tax names in the Tax Name column.

Compound - indicates that a tax should be compound (stacked). Please read the Managing multiple taxes section below.