Setting Up EU VAT Rates for Digital Products

EU VAT laws for digital goods changed on 1 January 2015, affecting B2C transactions only. VAT on digital goods must be calculated based on customer location, and you’re required to collect evidence of this via an IP address and/or Billing Address. In addition, you need to set up VAT rates in your WooCommerce store to charge the correct amount.

This guide is provided as-is and shows you how to set up rates specific to Digital Goods in this scenario. For general tax setup please see:

For more details and information about setting up EU VAT rates for digital products, please see the European Commission Taxation and Customs Union website for VAT MOSS (mini One Stop Shop).

This documentation is meant to help with setting up tax rates in the WooCommerce settings and how the platform handles taxes/VAT/GST based on these settings, but not when or what to charge.

We’re not tax professionals so our advice is how to use our software. For specific advice when it comes to what or when to charge tax/VAT/GST etc, we recommend consulting with a tax professional or an accountant on what may be your best options.

Each business is unique, and there’s no way we can cover every possibility.

Setting Up Your Tax Classes

↑ Back to top

If you’re only selling digital goods, VAT rates can be added under Standard rates in WooCommerce.

If you’re selling/distributing both digital and regular products, you can create and use a new Additional tax class, for example, Digital Goods.

A view of the setting found under the Tax tab.
The Tax options screen

To set up EU VAT rates in a new tax class:

  1. Go to: WooCommerce > Settings > Tax.
  2. Select the Additional tax classes setting.
  3. Add a new tax class to the list, for example, Digital Goods.
  4. Scroll down and click Save changes.
Digital Goods tax class added via the Additional tax classes text input field

After saving the tax options changes, tax rates need to be assigned to this tax class.

Setting Up the EU VAT Rates

The next step is to input the EU VAT Rates into WooCommerce.

Look Up the Latest VAT Rates

↑ Back to top

The latest VAT rates can be found at the Europa website. If VAT rates change, you need to update the VAT rates for your store.

Input Rates

↑ Back to top
  1. Go to: WooCommerce > Settings > Tax > Digital Goods (a new subtab after you created the new tax class).
  2. Enter rates for all EU member states. See our guide on Setting Up Tax Rates in WooCommerce.

At the time of the last update, Standard VAT rates are:

Country CodeRate %
AT20.0000
BE21.0000
BG20.0000
CY19.0000
CZ21.0000
DE19.0000
DK25.0000
EE20.0000
GR24.0000
ES21.0000
FI24.0000
FR20.0000
HR25.0000
HU27.0000
IE23.0000
IT22.0000
LT21.0000
LU17.0000
LV21.0000
MT18.0000
NL21.0000
PL23.0000
PT23.0000
RO19.0000
SE25.0000
SI22.0000
SK20.0000

Alternatively, if you have a CSV file in the correct format, you can import the VAT rates to save time. Here are the above rates in CSV format with tax class Digital Goods: vat_rates.csv

To import this file:

  1. navigate to the tax rate in this example, Digital Goods rate
  2. select the Import CSV button to the bottom right below the tax rates table
  3. The importer appears with a Browse… button allowing file section.
  4. Select the downloaded CSV file, and click the Upload file and import button
WooCommerce specific tax rate screen with no rates showing the Import CSV button
WooCommerce tax rate import screen

Once rates are uploaded, imported or input in the tax rate screen, the table is populated with the respective data, showing the country code in the Country code column, the respective rate in that country’s Rate % column, VAT as the Tax name, a Priority of 1, and Shipping checked for all the rates.

WooCommerce specific tax rate screen with rates

With EU VAT rates set up, customers buying a product with the Digital Goods tax class are charged tax based on their location, not the store location, provided the Tax options > Caclulate tax based on setting is set to Customer shipping address or Customer billing address..

Assigning the Tax Class to Products

↑ Back to top

To apply this tax class to digital products in WooCommerce:

  1. Go to: Products > All Products.
  2. Edit a product.
  3. Go to Product data > General section > Tax class, and select the respective class from the dropdown.
  4. Update the product to save the change.
WooCommerce Product data area showing Tax status and Tax class

You can also bulk-edit products:

  1. Go to Products > All Products.
  2. Tick the box to the left of each of the products you want to bulk-edit.
  3. Select Edit from the bulk actions dropdown.
  4. Click the Apply button to the dropdown’s right.
Two products selected and the Bulk Actions dropdown with Edit selected

After clicking Apply the bulk edit view appears:

  1. Choose the tax class from the Tax class dropdown.
  2. Click Update to the bottom-left of the bulk edit view to apply the tax class to the selected products.
The bulk edit view where the Tax class is highlighted with the Digital Goods tax class assigned. An arrow highlights the Update button that appears to the bottom left of the view.
WooCommerce Product Bulk Edit screen showing new tax class selected

Questions and support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin, for which support is provided in our community forums on WordPress.org. By searching this forum, you’ll often find that your question has been asked and answered before.

If you haven’t created a WordPress.org account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.
  • Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.