Dear All,

I am creating a webshop, using commerce module. I set up, that if a customer wants to pay his items, the VAT (27%, based on the Hungarian laws) is added to the end of the list and the final amount is accumulated with the amount of VAT. Also the module commerce_eu_vat is installed and there is a field under the billing and shipping informations, where the customer can type in the EU VAT number. The provided EU VAT number is beeing checked with the webpage: http://ec.europa.eu/taxation_customs/vies/ .

I would like to do, that if the EU VAT number is valid and it is not from Hungary (i.e.: the VAT number doesn't start by HU), then the amount of VAT would be 0% and in any other cases (the user doesn't provide EU VAT number or the EU VAT number starts by HU) the amount of VAT would be 27%.

How can I do this?

Posted: Sep 9, 2012


dwkitchen David Kitchen on September 9, 2012

Hi Memil,

The Commerce EU VAT module is designed to do exactly what you want. It sounds like you have enabled the Reverse Charge and the Intra-Community sale modules, however they only work automatically with the country rate sub modules.

You can either add the Place of Supply rule component to your existing tax component or wait and I will ad a Hungarian sub module to the VAT module.

I have created an issue on the module http://drupal.org/node/1779466

memil on September 25, 2012

Dear dwkitchen,

Please help me, please write me the steps, how to create the rule. So, if a customer provides a non Hungarian valid EU VAT number, then the VAT would be 0% . If a customer doesn't provide any valid EU VAT number, or he provides a Hungarian EU VAT number, then the calculated VAT would be 27% . I tried it lot of times, but I don't know how to make it and it is now very urgent for me. Please help me in this. Thanks!!!!

dwkitchen David Kitchen on October 31, 2012

Sorry I must have missed the message to say you had replied.

I have now added the Hungarian sub module to the Commerce EU VAT module. If you also enable the Intra Community module you will get the zero rating functionality.