# EU VAT ID Check for OXID CE

**URL:** <https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585>\
**Category:** English forums\
**Tags:** modules\
**Created:** [May 13, 2010, 7:32pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585 "2010-05-13T19:32:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![euroblaze](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/e/ebca7d/32.png) [@euroblaze](https://forum.oxid-esales.com/u/euroblaze)\
**Post date:** [May 13, 2010, 7:32pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/1 "2010-05-13T19:32:49Z")

</div>

This is our attempt at providing an automatic VAT-ID check for EU businesses. It’s under GPL.

[http://code.google.com/p/oxid-module-euvat/](http://code.google.com/p/oxid-module-euvat/)

Please give it a try and give us a lot of feedback!

Thanks  
Ashant

---

<div class="post-metadata">

**Author:** ![avenger](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@avenger](https://forum.oxid-esales.com/u/avenger)\
**Post date:** [May 14, 2010, 7:00am UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/2 "2010-05-14T07:00:47Z")

</div>

“This project currently has no downloads.”

---

<div class="post-metadata">

**Author:** ![marco.steinhaeuser](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/marco.steinhaeuser/32/1832_2.png) [@marco.steinhaeuser](https://forum.oxid-esales.com/u/marco.steinhaeuser)\
**Post date:** [May 18, 2010, 4:02pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/3 "2010-05-18T16:02:54Z")

</div>

Looks like it is available via SVN:  
[http://oxid-module-euvat.googlecode.com/svn/trunk/](http://oxid-module-euvat.googlecode.com/svn/trunk/)

Regards

---

<div class="post-metadata">

**Author:** ![floko](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@floko](https://forum.oxid-esales.com/u/floko)\
**Post date:** [June 18, 2010, 11:47am UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/4 "2010-06-18T11:47:05Z")

</div>

Thanks a lot Euroblaze,  
I was just looking for something like this!!!

I will try this module soon and provide some feedback.

\*\*\* EDIT: Pls. use the official download provided by Euroblaze: [http://code.google.com/p/oxid-module…downloads/list](http://code.google.com/p/oxid-module...downloads/list) (_not_ the download attached to this post) \*\*\*

Cheers  
floko

---

<div class="post-metadata">

**Author:** ![marco.steinhaeuser](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/marco.steinhaeuser/32/1832_2.png) [@marco.steinhaeuser](https://forum.oxid-esales.com/u/marco.steinhaeuser)\
**Post date:** [June 18, 2010, 1:04pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/5 "2010-06-18T13:04:28Z")

</div>

Hi floko,

thanks a lot for your effort but - why don’t you use OXID projects? 🙂  
It’s not like we don’t have enough tools for everything 😃

Regards

---

<div class="post-metadata">

**Author:** ![floko](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@floko](https://forum.oxid-esales.com/u/floko)\
**Post date:** [June 21, 2010, 12:07pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/6 "2010-06-21T12:07:07Z")

</div>

I don’t get the module to work so far, most probably I have missed some important point. 😕

I have copied all files, edited a few others and added the modules list in system settings - all according to the description provided in install.txt.

Then I tested it (after having cleared the tmp folder) registering as a new customer.  
I tried a very simple fake VAT (country ID and some random numbers: DE 123456) and was taken to the next step of the checkout process.

I had no messages in the error log files.  
I even added some lines of error\_log("") to the functions in eb\_EUVAT\_vatcheck.php and eb\_EUVAT\_email.php. But obviously, none of the functions gets called.

Any idea what went wrong?

Thanks!  
floko

---

<div class="post-metadata">

**Author:** ![floko](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@floko](https://forum.oxid-esales.com/u/floko)\
**Post date:** [June 21, 2010, 2:55pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/7 "2010-06-21T14:55:01Z")

</div>

Problem solved:  
I was not aware that I was testing user.tpl (registration form as part of the checkout process)  
instead of register.tpl! :o

I tested the module with register.tpl now and it’s working fine.

Thanks Euroblaze, this is great and provides check results really fast!

I will integrate the check in user.tpl as well afterwards.

Thanks again!  
floko

---

<div class="post-metadata">

**Author:** ![euroblaze](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/e/ebca7d/32.png) [@euroblaze](https://forum.oxid-esales.com/u/euroblaze)\
**Post date:** [June 21, 2010, 8:25pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/8 "2010-06-21T20:25:06Z")

</div>

Hi floko,

Glad the problem is resolved:)

Btw: which version did you integrate into?

Thanks  
Ashant

---

<div class="post-metadata">

**Author:** ![euroblaze](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/e/ebca7d/32.png) [@euroblaze](https://forum.oxid-esales.com/u/euroblaze)\
**Post date:** [June 21, 2010, 8:56pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/9 "2010-06-21T20:56:56Z")

</div>

Hi Avenger,

[QUOTE=avenger;31158]“This project currently has no downloads.”[/QUOTE]

I just put up a ZIP package for download:  
[http://code.google.com/p/oxid-module-euvat/downloads/list](http://code.google.com/p/oxid-module-euvat/downloads/list)

Regards  
Ashant

---

<div class="post-metadata">

**Author:** ![floko](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/f/c6cbf5/32.png) [@floko](https://forum.oxid-esales.com/u/floko)\
**Post date:** [June 22, 2010, 9:12am UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/10 "2010-06-22T09:12:07Z")

</div>

… I used your module in OXID eShop CE 4.2.0\_23610

Regards  
floko

---

<div class="post-metadata">

**Author:** ![euroblaze](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/e/ebca7d/32.png) [@euroblaze](https://forum.oxid-esales.com/u/euroblaze)\
**Post date:** [June 22, 2010, 9:20am UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/11 "2010-06-22T09:20:16Z")

</div>

Thanks!

I’m keen to know if anyone used it for 4.3 and 4.4.

---

<div class="post-metadata">

**Author:** ![thauser90](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/t/3e96dc/32.png) [@thauser90](https://forum.oxid-esales.com/u/thauser90)\
**Post date:** [August 3, 2010, 8:45am UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/12 "2010-08-03T08:45:25Z")

</div>

Hi euroblaze,

i’ve tested your module yesterday. After three little “copy-paste”-actions, all works fine.  
In Oxid 4.4.1 there are different register.tpl and \_header.tpl and \_header\_plain.tpl.

1. In your module wasn’t a \_header\_plain.tpl. I’ve only copied the script snippet from your \_header.tpl and all was fine for the \_header\_plain.tpl.
2. After that I recognized that your \_register.tpl distinguishes from the original \_register.tpl. I’ve only copied the script snippets from your \_register.tpl again and all was fine for the \_register.tpl.
3. I repeated step 2) for the \_header.tpl.

After that the VAT will validated. One little thing: you don’t see the result of validation in the admin panel.

Hope that I could help you a bit 🙂

Greetz,  
Tobi

---

<div class="post-metadata">

**Author:** ![euroblaze](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/e/ebca7d/32.png) [@euroblaze](https://forum.oxid-esales.com/u/euroblaze)\
**Post date:** [August 3, 2010, 9:03am UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/13 "2010-08-03T09:03:32Z")

</div>

Hello Tobi,

Thanks so much for your valuable feedback. Would you be interested in committing your changes to the SVN? The code is hosted at:

[http://code.google.com/p/oxid-module-euvat/source/browse/#svn/trunk](http://code.google.com/p/oxid-module-euvat/source/browse/#svn/trunk)

Regards  
Ashant

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [July 13, 2026, 7:37pm UTC](https://forum.oxid-esales.com/t/eu-vat-id-check-for-oxid-ce/43585/14 "2026-07-13T19:37:40Z")

</div>


