<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: European VAT Number Validation API</title>
	<atom:link href="http://aralbalkan.com/1401/feed" rel="self" type="application/rss+xml" />
	<link>http://aralbalkan.com/1401</link>
	<description>Passionate geekisms.</description>
	<lastBuildDate>Fri, 19 Mar 2010 19:46:31 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gerwin</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-259677</link>
		<dc:creator>Gerwin</dc:creator>
		<pubDate>Mon, 15 Mar 2010 09:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-259677</guid>
		<description>Nice they have a webapi for it, but it seems down now :-(</description>
		<content:encoded><![CDATA[<p>Nice they have a webapi for it, but it seems down now :-(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-258881</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 16 Dec 2009 17:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-258881</guid>
		<description>I can&#039;t believe that the EU didn&#039;t think of doing this. First, the taxes, and then, hard-to-get-to information on the taxes :-)

Thanks for this!
R</description>
		<content:encoded><![CDATA[<p>I can&#8217;t believe that the EU didn&#8217;t think of doing this. First, the taxes, and then, hard-to-get-to information on the taxes :-)</p>
<p>Thanks for this!<br />
R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zmove</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-193565</link>
		<dc:creator>zmove</dc:creator>
		<pubDate>Tue, 18 Nov 2008 11:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-193565</guid>
		<description>Hi,

Thank you MoksA for your example, it seems to works good.

But what is the &#039;uri&#039; parameter in your soap declaration ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you MoksA for your example, it seems to works good.</p>
<p>But what is the &#8216;uri&#8217; parameter in your soap declaration ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MoksA</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-180281</link>
		<dc:creator>MoksA</dc:creator>
		<pubDate>Wed, 27 Aug 2008 14:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-180281</guid>
		<description>Hi, and thanks for you code.

As Nicolas said there is an official wsdl... Some php code to use it :

$client = new SoapClient(null, array(&#039;location&#039; =&gt; &quot;http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl&quot;,&#039;uri&#039;      =&gt; &quot;http://test-uri/&quot;));
$params = array(&quot;countryCode&quot; =&gt;&quot;FR&quot;,&quot;vatNumber&quot;=&gt;&quot;00000000000&quot;);
$result=$client-&gt;__soapCall(&quot;checkVat&quot;, $params);
var_dump($result);</description>
		<content:encoded><![CDATA[<p>Hi, and thanks for you code.</p>
<p>As Nicolas said there is an official wsdl&#8230; Some php code to use it :</p>
<p>$client = new SoapClient(null, array(&#8217;location&#8217; =&gt; &#8220;http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl&#8221;,&#8217;uri&#8217;      =&gt; &#8220;http://test-uri/&#8221;));<br />
$params = array(&#8221;countryCode&#8221; =&gt;&#8221;FR&#8221;,&#8221;vatNumber&#8221;=&gt;&#8221;00000000000&#8243;);<br />
$result=$client-&gt;__soapCall(&#8221;checkVat&#8221;, $params);<br />
var_dump($result);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Jacobeus</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-175883</link>
		<dc:creator>Nicolas Jacobeus</dc:creator>
		<pubDate>Tue, 12 Aug 2008 10:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-175883</guid>
		<description>Hello Aral,

You probably know this as it&#039;s mentioned in the FAQ, but there is in fact an official SOAP web service provided by VIES (WSDL here: http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl). We are using it on one of our web applications to allow online registration of companies. I don&#039;t know if your own service is relying on it, or simply parsing the output of the &quot;human-oriented&quot; website.

I personally agree that your solution, being REST-based, is more elegant, but people might prefer SOAP or feel more comfortable using an &quot;official&quot; service.

In either case, I&#039;m still trying to find a solution which allows applications to keep functioning even when the VIES site/service is down (which seems to be the case for the moment, at least for certain VAT numbers). One solution is to simply rely on syntax validation (check for example http://www.braemoor.co.uk/software/vat.shtml for a JS-based solution).</description>
		<content:encoded><![CDATA[<p>Hello Aral,</p>
<p>You probably know this as it&#8217;s mentioned in the FAQ, but there is in fact an official SOAP web service provided by VIES (WSDL here: <a href="http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl)" rel="nofollow">http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl)</a>. We are using it on one of our web applications to allow online registration of companies. I don&#8217;t know if your own service is relying on it, or simply parsing the output of the &#8220;human-oriented&#8221; website.</p>
<p>I personally agree that your solution, being REST-based, is more elegant, but people might prefer SOAP or feel more comfortable using an &#8220;official&#8221; service.</p>
<p>In either case, I&#8217;m still trying to find a solution which allows applications to keep functioning even when the VIES site/service is down (which seems to be the case for the moment, at least for certain VAT numbers). One solution is to simply rely on syntax validation (check for example <a href="http://www.braemoor.co.uk/software/vat.shtml" rel="nofollow">http://www.braemoor.co.uk/software/vat.shtml</a> for a JS-based solution).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farid Abdulhadi</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-165275</link>
		<dc:creator>Farid Abdulhadi</dc:creator>
		<pubDate>Thu, 10 Jul 2008 09:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-165275</guid>
		<description>Nice API Aral.
I was looking for something like this a couple of years back.</description>
		<content:encoded><![CDATA[<p>Nice API Aral.<br />
I was looking for something like this a couple of years back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-163216</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Fri, 04 Jul 2008 18:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-163216</guid>
		<description>Hey Erki,

OK, I just added JSONP support (pass ?callback=nameOfCallback) and I&#039;m now returning application/javascript so that it currently fits my use-case too.</description>
		<content:encoded><![CDATA[<p>Hey Erki,</p>
<p>OK, I just added JSONP support (pass ?callback=nameOfCallback) and I&#8217;m now returning application/javascript so that it currently fits my use-case too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-163173</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Fri, 04 Jul 2008 16:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-163173</guid>
		<description>Hi Erki,

It&#039;s on purpose. I want people to be able to test out the API in the browser -- even non-techies. I don&#039;t think my accountant (whom I just sent the link to) would understand what to do with a JSON file download when she hits the site but she&#039;ll still be able to use it in the browser at the moment manually.

When I get some time, I&#039;ll add a separate JSON endpoint -- this was something I threw together before breakfast this morning :).</description>
		<content:encoded><![CDATA[<p>Hi Erki,</p>
<p>It&#8217;s on purpose. I want people to be able to test out the API in the browser &#8212; even non-techies. I don&#8217;t think my accountant (whom I just sent the link to) would understand what to do with a JSON file download when she hits the site but she&#8217;ll still be able to use it in the browser at the moment manually.</p>
<p>When I get some time, I&#8217;ll add a separate JSON endpoint &#8212; this was something I threw together before breakfast this morning :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erki Esken</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-163102</link>
		<dc:creator>Erki Esken</dc:creator>
		<pubDate>Fri, 04 Jul 2008 12:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-163102</guid>
		<description>You shuld make it return application/json replies instead of text/html. See:

$ curl -i http://isvat.appspot.com/GB/802311782/
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Date: Fri, 04 Jul 2008 12:19:03 GMT
Server: Google Frontend
Content-Length: 4

true</description>
		<content:encoded><![CDATA[<p>You shuld make it return application/json replies instead of text/html. See:</p>
<p>$ curl -i <a href="http://isvat.appspot.com/GB/802311782/" rel="nofollow">http://isvat.appspot.com/GB/802311782/</a><br />
HTTP/1.1 200 OK<br />
Content-Type: text/html; charset=utf-8<br />
Date: Fri, 04 Jul 2008 12:19:03 GMT<br />
Server: Google Frontend<br />
Content-Length: 4</p>
<p>true</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://aralbalkan.com/1401/comment-page-1#comment-163083</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 04 Jul 2008 10:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1401#comment-163083</guid>
		<description>oh that&#039;s very useful, thanks Aral!</description>
		<content:encoded><![CDATA[<p>oh that&#8217;s very useful, thanks Aral!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
