Print

EU Vat checker

on .

Buy here in store!

This plugin is usefull for European shops, where VAT rules are specific. VAT tax is charged at the shop rate for all customers based in EU, and with a non registrered EU VAT ID. VAT is not charged when the customer is outside EU or for customers outside the shop country, with a EU VAT ID registered.

It is done via a live request to the european VIES service (VAT Information Exchange System). According to the result, the plugin assigns the customer in a shoppergroup. The shoppergroups must be connected to your tax rules.

If you want to use the plugin also for non registered users, you need at least virtuemart2.0.20

Installation

  1. Go in the menu Extensions > Extension Manager, and install the plugin 
  2. Go in the Extensions > Plug-in Manager, and enable the plugin named VM - Userfield, iStraxx European VAT Checker

Notice: Please ensure any version of Localise plugin should be disabled before using EU VAT plugin.

Create shoppergroups

The first step is to create a shoppergroup. It is simpler to treat shoppers to be taxed as the special case, that means it is simpler to let the default shoppergroups untaxed and add a shoppergroup only for the tax. 

  1. Go in Orders & shoppers, and click on Shopper groups
  2. Click on New, and create a new shopper group for the shoppers that need to pay Tax
  3. Cick on Save & Close

Create a shopper group in VirtueMart 2

You can repeat this operation for the shopper group that do not need to pay tax, but we suggest to work with multiple shoppergroups per shopper. Any group should have only one purpose, then it works similar to tagging.

Create a calculation rule

Create the calculation rule with your local VAT tax that will be assigned to the shopper group that should pay tax.

  1. Go in Products, and click on Tax & Calculation Rule menu
  2. Click on New, and create a calculation rule
  3. For the parameter Shopper Groups, select the group you have created that should pay tax
  4. Cick on Save & Close

 euvat-rule

When using this plugin, you do not need to assign countries or states for this calculation rule.

In VirtueMart 2, the tax system allows you to create one rule for all products. Choose generic rules in your product edit, and the tax is automatically applied.  

Create a shopperfield

  1. Go in Configuration, and click on Shopper Fields menu
  2. Click on New, and create a new shopper field
  3. For the parameter Field type, select European Vat Checker. The page is automatically reloaded with the plugin parameters
  4. Choose a shopper group for the parameter Assign a shopper group to shoppers who have to pay VAT
  5. Choose a shopper group for the parameter Assign a shopper group to shoppers who DO NOT have to pay VAT
  6. If you select Yes for the parameter Check country consistency, the plugin will only validate the EU VAT ID given when it comes from the same country as the one given in the bill to address. If you select No, no checking will be done.
  7. Enter the Field name. This field is used as a reference and must be always "eu_vat_id"
  8. Enter the Field type. It is the name that wil be displayed during the checkout process
  9. Select Yes for the parameter Show in registration form
  10. Select Yes for the parameter Show in shipment form
  11. Select No for the parameter Read-Only
  12. Select Yes for the parameter Published
  13. Click on Save & Close

euvat-shopperfield

 

Set your own EU VAT ID

After configuring the shopper field, enter your shop config or just edit the vendor. Enter your own EU VAT ID into your profile and store it. This is important to generate correct invoices and to determine your home country (the one it takes always tax). 

If you enter your shop EU VAT ID, the response from the VIES service will contain a request identifier. You can use this information as documentation for your inquiry to the VIES service.

eu-vat-history-2 

Test your installation

Do several checkouts (as guest and as registered) with shoppers coming from different countries, and with different EU VAT ID. 

  • Chek that the customer is assigned to the correct shopper group,
  • Check that the prices are correctly displayed with or without tax in the product view, and in the cart

Check the history

Each request to the VIES service are stored, and can be checked in the back office.

  1. Click on the menu Orders & shoppers
  2. Click on the one of the shoppers
  3. On the Show EU VAT history link. The EU VAT history is then displayed.

eu-vat-history

 

Optional the GeoIp locator

The GeoIp locator will locate the country of your visitor, and the correct prices without tax for non european customers will be shown. In this case, the anonymous users outside of Europe are directly assigned into the shoppergroup which has not to pay tax.

Download GeoIp locator

The plugin automatically detects if the component is installed or not. Nothing needs to be done.

 

Usefull links

You want to learn more about the EU VAT rules?