Skip to main content

Set Up Tax Classes and Rates

CoreLast updated Nov 30, 2026Screenshots from EverShop 2.4

Set up tax classes and tax rates, so EverShop charges each customer the tax of their address.

Before you start​

  • A tax class is a group of products that are taxed the same way, for example Taxable Goods. You choose the class of each product in Tax Class on the product form. See Add a Product.
  • On a new product, Tax Class starts empty, and you must choose a class.
  • A tax rate is a percentage for a country, or for some of its states, regions or postal codes. Each rate belongs to one class.
  • EverShop creates the class Taxable Goods when you install it. Its only rate, Tax, is 0% for every address. Until you add rates, customers pay no tax.
  • EverShop charges the rates that you enter. It does not look up official rates, and it does not update them when the law changes. Ask your local tax office or an accountant which taxes apply to your business.
  • Decide whether the prices you enter include tax. See Prices Including or Excluding Tax.

How tax classes and rates work​

At checkout, EverShop takes the tax class of each product. It compares the customer's address with every rate of that class. The rates that match give the tax of that product.

The demo store has one class, Taxable Goods, and all 18 products use it:

NameCountryRegionsPostal codeRatePriority
Tax***0%0
CaliforniaUSUS-CA*7.25%1
New YorkUSUS-NY*4%2

The star * means "any". A customer in California pays 7.25%, and a customer in New York pays 4%. Every other customer pays no tax.

You need a second class only for products that some places tax at another rate, or not at all. A class without rates is tax-free.

Create a tax class​

  1. Go to Setting › Pricing & Tax. The Tax classes card lists each class with its rates.

  2. Click Create new tax class below the classes.

  3. In Tax class name, enter a name, for example "Reduced Rate".

  4. Click Save.

The dialog closes, and the new class appears in the Tax classes card with no rates. Add its rates next. Then choose the class in the Tax Class field of each product that belongs to it.

Choose the name with care. Give each class its own name, because the product form lists the classes by name. The product import also finds a class by its name. It reports an error when two classes have that name.

Add a tax rate​

  1. Go to Setting › Pricing & Tax. In the Tax classes card, click + Add Rate below the rates of the class.

  2. Enter a Name for the rate, and the Rate in percent. For 6.25%, enter 6.25. Customers do not see the name.

  3. Enter where the rate applies in Country, Regions and Postal code. See Where a tax rate applies.

  4. Optional: turn on Is compound. See Compound rates and priority.

  5. In Priority, enter a whole number that no other rate of this class uses.

  6. Click Save.

EverShop shows "Tax rate has been saved successfully!", and the rate appears in the list of the class. The numbers in the picture are only an example.

Edit or delete a tax rate​

The list of each class shows the Name, Country, Regions, Rate, Compound and Priority of its rates. To see the postal codes, click Edit.

  • Change a rate. Click Edit in its row. The Edit Tax Rate dialog has the same fields. Change them and click Save.
  • Delete a rate. Click Delete in its row. EverShop deletes the rate at once, without asking first. You cannot undo it.
  • Fix a region key. Open the rate with Edit. A red message under Regions names each key that is not valid for the country. It starts with "Retired region keys on this rate:". The cause is a typing error, or a key that is no longer used. EverShop checks the keys only when Country is a country code, not *.

A change to a rate applies at once, also to carts that customers have already filled. Placed orders keep the tax that they were charged.

Where a tax rate applies​

A tax rate applies to an address when all three of its parts match the address:

  • Country: the rate's country is the address's country, or *. A rate has one country. Write it as the two-letter ISO (International Organization for Standardization) code, such as US or CA.
  • Regions: the list contains the region of the address, or is *. Write regions as region keys. A key is usually the country code, a hyphen and the region code. For example, US-CA is California and CA-ON is Ontario.
  • Postal code: the list contains the postal code of the address, or is *.

Rules for the lists:

  • Separate the values with commas, for example US-CA,US-NV.
  • Type each value exactly. CA or California is not a region key, and us-ca does not match US-CA.
  • To see the keys of a country, enter its code in Country. Then click Show region keys for US under Regions. The link names the country that you entered.
  • A postal code matches only when every character is the same. The rate value 10001 does not match the address 10001-1234. Ranges and partial codes, such as 100*, do not work.
  • Postal code holds at most 20 characters. That is three five-digit US ZIP codes with their commas. For more codes, add more rates.
  • An empty Regions or Postal code field shows a grey *. It is only a hint: type * to match everything.

When several rates match​

EverShop adds up all the rates that match. It does not choose the closest one. In the demo store, a California address matches Tax (0%) and California (7.25%), so the tax is 7.25%.

Keep this in mind when you add a rate for a whole country. Say you add 5% for all of the United States. A California customer then pays 5% + 7.25% = 12.25%.

When no rate of the class matches, the product has no tax. A product without a tax class has no tax either. This can happen with products imported without a tax class.

Compound rates and priority​

EverShop works through the matching rates in order of Priority, lowest number first. A normal rate is a percentage of the price. A compound rate is a percentage of the price plus the tax of the rates before it.

For example, a product costs $100.00 before tax, and two rates match:

RatePriorityIs compoundTax
Rate A, 5%1No5% of $100.00 = $5.00
Rate B, 10%2Yes10% of $105.00 = $10.50

The tax is $15.50, which is 15.5%. If Rate B were not compound, the tax would be $15.00.

  • Priority changes the result only for compound rates. A normal rate is always a percentage of the price alone.
  • A compound rate with the lowest priority works like a normal rate, because no tax comes before it.
  • Each rate of a class needs its own priority. Two classes can use the same numbers.
  • When your prices include tax, EverShop takes the same combined percentage out of the price. See How EverShop takes tax out of a price.

Which address EverShop uses for tax​

The Base calculation address field decides which address EverShop compares with your tax rates. It is in the Tax calculation configuration card of Setting › Pricing & Tax. After you change it, click Save in that card.

  • Shipping address (the default): the address that the order ships to. An order with nothing to ship uses the billing address.
  • Billing address: the billing address that the customer enters at checkout.
  • Store address: your store's address in Setting › Store Setting (its Country, Region and Postal Code). Every customer then pays the same rates, wherever they live.

When the tax appears:

  • Shipping address: the cart and checkout show a tax of $0.00 at first. EverShop saves the address and calculates the tax when the customer chooses a shipping method.
  • Billing address: EverShop calculates the tax when the customer enters the billing address.
  • Store address: the cart shows the tax as soon as a product is in it.
  • An order with nothing to ship has no shipping method. With Shipping address or Billing address, its tax appears after the customer clicks Continue to payment.
  • Product pages always show the price that you entered.

What your customers see​

At checkout, the Order summary shows the tax after the customer chooses a shipping method. In the demo store, catalog prices include tax, so the summary shows the tax under Total:

The $25.00 vase includes 7.25% tax: $25.00 × 7.25 ÷ 107.25 = $1.69. A customer in Oregon pays the same $30.00, with a tax of $0.00. See Prices Including or Excluding Tax.

  • If your prices exclude tax, the summary shows a Tax line above Total. The tax is added to the total.
  • Customers never see the names of your rates. The order keeps the tax amount. See View an Order.

Settings on this page​

Dialog or cardFieldWhat it doesDefault
Create New Tax ClassTax class nameThe name in the Tax classes card and in the Tax Class list of the product form.Empty
Add Tax Rate, Edit Tax RateNameA name for you, such as California. Customers do not see it.Empty
Add Tax Rate, Edit Tax RateRateThe percentage, from 0 to 100. Enter 7.25 for 7.25%.Empty
Add Tax Rate, Edit Tax RateCountryOne two-letter country code in capital letters, such as US, or * for every country. Other values show "Country must be either '*' (all countries) or a valid 2-letter ISO code (e.g., US, CA, GB)".Empty
Add Tax Rate, Edit Tax RateRegionsRegion keys separated by commas, such as US-CA,US-NV, or *. See Where a tax rate applies.Empty
Add Tax Rate, Edit Tax RatePostal codePostal codes separated by commas, such as 10001,10002, or *. A value over 20 characters shows "Postal code cannot exceed 20 characters. Use '*' for all postal codes".Empty
Add Tax Rate, Edit Tax RateIs compoundYes also charges the rate on the tax of the matching rates with a lower Priority number. See Compound rates and priority.No
Add Tax Rate, Edit Tax RatePriorityThe order of calculation, lowest first. A whole number from 0 that no other rate of the class uses.Empty
Tax calculation configurationBase calculation addressThe address that EverShop compares with your tax rates. See Which address EverShop uses for tax.Shipping address

The Tax calculation configuration card has more fields. See Prices Including or Excluding Tax and Shipping Tax and Rounding.

Troubleshooting​

Why is a customer charged no tax?​

Check these points:

  • The product has a tax class, and the class has a rate for the customer's place.
  • The rate matches the address. Regions uses keys such as US-CA. The postal code is exactly what the customer entered. Open the rate with Edit to see a warning about a wrong key.
  • With Store address, a rate must match your store's address. Otherwise no customer pays tax.
  • If the cart shows a tax of $0.00, the customer has not chosen a shipping method yet. See Which address EverShop uses for tax.

Why is the tax higher than you expected?​

Next steps​

For developers​

To manage tax classes and rates with code, see the Tax Management REST API.