europe_vat_number_check 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/20100220_wsdl.xml +168 -0
- data/VERSION +1 -1
- data/europe_vat_number_check.gemspec +53 -0
- metadata +4 -2
data/20100220_wsdl.xml
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<wsdl:definitions targetNamespace="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:intf="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:ec.europa.eu:taxud:vies:services:checkVat:types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<documentation>
|
4
|
+
Specific disclaimer for this service ----------------------------------------- The
|
5
|
+
objective of this Internet site is to allow persons involved in the intra-Community supply of
|
6
|
+
goods or of services to obtain confirmation of the validity of the VAT identification number of
|
7
|
+
any specified person, in accordance to article 27 of Council Regulation (EC) No. 1798/2003 of 7
|
8
|
+
October 2003. Any other use and any extraction and use of the data which is not in conformity
|
9
|
+
with the objective of this site is strictly forbidden. Any retransmission of the contents of
|
10
|
+
this site, whether for a commercial purpose or otherwise, as well as any more general use other
|
11
|
+
than as far as is necessary to support the activity of a legitimate user (for example: to draw
|
12
|
+
up their own invoices) is expressly forbidden. In addition, any copying or reproduction of the
|
13
|
+
contents of this site is strictly forbidden. The European Commission maintains this website to
|
14
|
+
enhance the access by taxable persons making intra-Community supplies to verification of their
|
15
|
+
customers VAT identification numbers. Our goal is to supply instantaneous and accurate
|
16
|
+
information. However the Commission accepts no responsibility or liability whatsoever with
|
17
|
+
regard to the information obtained using this site. This information: - is obtained from Member
|
18
|
+
States databases over which the Commission services have no control and for which the Commission
|
19
|
+
assumes no responsibility; it is the responsibility of the Member States to keep their databases
|
20
|
+
complete, accurate and up to date; - is not professional or legal advice (if you need specific
|
21
|
+
advice, you should always consult a suitably qualified professional); - does not in itself give
|
22
|
+
a right to exempt intra-Community supplies from Value Added Tax; - does not change any
|
23
|
+
obligations imposed on taxable persons in relation to intra-Community supplies. It is our goal
|
24
|
+
to minimise disruption caused by technical errors. However some data or information on our site
|
25
|
+
may have been created or structured in files or formats which are not error-free and we cannot
|
26
|
+
guarantee that our service will not be interrupted or otherwise affected by such problems. The
|
27
|
+
Commission accepts no responsibility with regard to such problems incurred as a result of using
|
28
|
+
this site or any linked external sites. This disclaimer is not intended to limit the liability
|
29
|
+
of the Commission in contravention of any requirements laid down in applicable national law nor
|
30
|
+
to exclude its liability for matters which may not be excluded under that law. Usage: The
|
31
|
+
countryCode input parameter must follow the pattern [A-Z]{2} The vatNumber input parameter must
|
32
|
+
follow the [0-9A-Za-z\+\*\.]{2,12} In case of problem, the returned FaultString can take the
|
33
|
+
following specific values: - INVALID_INPUT: The provided CountryCode is invalid or the VAT
|
34
|
+
number is empty; - SERVICE_UNAVAILABLE: The SOAP service is unavailable, try again later; -
|
35
|
+
MS_UNAVAILABLE: The Member State service is unavailable, try again later or with another Member
|
36
|
+
State; - TIMEOUT: The Member State service could not be reach in time, try again later or with
|
37
|
+
another Member State; - SERVER_BUSY: The service can't process your request. Try again latter.
|
38
|
+
</documentation>
|
39
|
+
|
40
|
+
<wsdl:types>
|
41
|
+
<schema targetNamespace="urn:ec.europa.eu:taxud:vies:services:checkVat:types" xmlns="http://www.w3.org/2001/XMLSchema">
|
42
|
+
<element name="checkVat">
|
43
|
+
<complexType>
|
44
|
+
<sequence>
|
45
|
+
<element name="countryCode" type="xsd:string"/>
|
46
|
+
<element name="vatNumber" type="xsd:string"/>
|
47
|
+
</sequence>
|
48
|
+
</complexType>
|
49
|
+
</element>
|
50
|
+
<element name="checkVatResponse">
|
51
|
+
<complexType>
|
52
|
+
<sequence>
|
53
|
+
<element name="countryCode" type="xsd:string"/>
|
54
|
+
<element name="vatNumber" type="xsd:string"/>
|
55
|
+
<element name="requestDate" type="xsd:date"/>
|
56
|
+
<element name="valid" type="xsd:boolean"/>
|
57
|
+
<element name="name" type="xsd:string"/>
|
58
|
+
<element name="address" type="xsd:string"/>
|
59
|
+
</sequence>
|
60
|
+
</complexType>
|
61
|
+
</element>
|
62
|
+
<element name="checkVatApprox">
|
63
|
+
<complexType>
|
64
|
+
<sequence>
|
65
|
+
<element name="countryCode" type="xsd:string"/>
|
66
|
+
<element name="vatNumber" type="xsd:string"/>
|
67
|
+
<element maxOccurs="1" minOccurs="0" name="traderName" type="xsd:string"/>
|
68
|
+
<element maxOccurs="1" minOccurs="0" name="traderCompanyType" type="tns1:companyTypeCode"/>
|
69
|
+
<element maxOccurs="1" minOccurs="0" name="traderStreet" type="xsd:string"/>
|
70
|
+
<element maxOccurs="1" minOccurs="0" name="traderPostcode" type="xsd:string"/>
|
71
|
+
<element maxOccurs="1" minOccurs="0" name="traderCity" type="xsd:string"/>
|
72
|
+
<element maxOccurs="1" minOccurs="0" name="requesterCountryCode" type="xsd:string"/>
|
73
|
+
<element maxOccurs="1" minOccurs="0" name="requesterVatNumber" type="xsd:string"/>
|
74
|
+
</sequence>
|
75
|
+
</complexType>
|
76
|
+
</element>
|
77
|
+
<element name="checkVatApproxResponse">
|
78
|
+
<complexType>
|
79
|
+
<sequence>
|
80
|
+
<element name="countryCode" type="xsd:string"/>
|
81
|
+
<element name="vatNumber" type="xsd:string"/>
|
82
|
+
<element name="requestDate" type="xsd:date"/>
|
83
|
+
<element name="valid" type="xsd:boolean"/>
|
84
|
+
<element maxOccurs="1" minOccurs="0" name="traderName" type="xsd:string"/>
|
85
|
+
<element maxOccurs="1" minOccurs="0" name="traderCompanyType" type="tns1:companyTypeCode"/>
|
86
|
+
<element maxOccurs="1" minOccurs="0" name="traderStreet" type="xsd:string"/>
|
87
|
+
<element maxOccurs="1" minOccurs="0" name="traderPostcode" type="xsd:string"/>
|
88
|
+
<element maxOccurs="1" minOccurs="0" name="traderCity" type="xsd:string"/>
|
89
|
+
<element maxOccurs="1" minOccurs="0" name="traderNameMatch" type="tns1:matchCode"/>
|
90
|
+
<element maxOccurs="1" minOccurs="0" name="traderCompanyTypeMatch" type="tns1:matchCode"/>
|
91
|
+
<element maxOccurs="1" minOccurs="0" name="traderStreetMatch" type="tns1:matchCode"/>
|
92
|
+
<element maxOccurs="1" minOccurs="0" name="traderPostcodeMatch" type="tns1:matchCode"/>
|
93
|
+
<element maxOccurs="1" minOccurs="0" name="traderCityMatch" type="tns1:matchCode"/>
|
94
|
+
<element name="requestIdentifier" type="xsd:string"/>
|
95
|
+
</sequence>
|
96
|
+
</complexType>
|
97
|
+
</element>
|
98
|
+
<simpleType name="companyTypeCode">
|
99
|
+
<restriction base="xsd:string">
|
100
|
+
<pattern value="[A-Z]{2}\-[1-9][0-9]?"/>
|
101
|
+
</restriction>
|
102
|
+
</simpleType>
|
103
|
+
<simpleType name="matchCode">
|
104
|
+
<restriction base="xsd:string">
|
105
|
+
<enumeration value=""/>
|
106
|
+
<enumeration value="1">
|
107
|
+
<annotation>
|
108
|
+
<documentation>VALID</documentation>
|
109
|
+
</annotation>
|
110
|
+
</enumeration>
|
111
|
+
<enumeration value="2">
|
112
|
+
<annotation>
|
113
|
+
<documentation>INVALID</documentation>
|
114
|
+
</annotation>
|
115
|
+
</enumeration>
|
116
|
+
</restriction>
|
117
|
+
</simpleType>
|
118
|
+
</schema>
|
119
|
+
</wsdl:types>
|
120
|
+
<wsdl:message name="checkVatRequest">
|
121
|
+
<wsdl:part element="tns1:checkVat" name="parameters"/>
|
122
|
+
</wsdl:message>
|
123
|
+
<wsdl:message name="checkVatResponse">
|
124
|
+
<wsdl:part element="tns1:checkVatResponse" name="parameters"/>
|
125
|
+
</wsdl:message>
|
126
|
+
<wsdl:message name="checkVatApproxRequest">
|
127
|
+
<wsdl:part element="tns1:checkVatApprox" name="parameters"/>
|
128
|
+
</wsdl:message>
|
129
|
+
<wsdl:message name="checkVatApproxResponse">
|
130
|
+
<wsdl:part element="tns1:checkVatApproxResponse" name="parameters"/>
|
131
|
+
</wsdl:message>
|
132
|
+
<wsdl:portType name="checkVatPortType">
|
133
|
+
<wsdl:operation name="checkVat">
|
134
|
+
<wsdl:input message="impl:checkVatRequest" name="checkVatRequest"/>
|
135
|
+
<wsdl:output message="impl:checkVatResponse" name="checkVatResponse"/>
|
136
|
+
</wsdl:operation>
|
137
|
+
<wsdl:operation name="checkVatApprox">
|
138
|
+
<wsdl:input message="impl:checkVatApproxRequest" name="checkVatApproxRequest"/>
|
139
|
+
<wsdl:output message="impl:checkVatApproxResponse" name="checkVatApproxResponse"/>
|
140
|
+
</wsdl:operation>
|
141
|
+
</wsdl:portType>
|
142
|
+
<wsdl:binding name="checkVatBinding" type="impl:checkVatPortType">
|
143
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
144
|
+
<wsdl:operation name="checkVat">
|
145
|
+
<wsdlsoap:operation soapAction=""/>
|
146
|
+
<wsdl:input name="checkVatRequest">
|
147
|
+
<wsdlsoap:body use="literal"/>
|
148
|
+
</wsdl:input>
|
149
|
+
<wsdl:output name="checkVatResponse">
|
150
|
+
<wsdlsoap:body use="literal"/>
|
151
|
+
</wsdl:output>
|
152
|
+
</wsdl:operation>
|
153
|
+
<wsdl:operation name="checkVatApprox">
|
154
|
+
<wsdlsoap:operation soapAction=""/>
|
155
|
+
<wsdl:input name="checkVatApproxRequest">
|
156
|
+
<wsdlsoap:body use="literal"/>
|
157
|
+
</wsdl:input>
|
158
|
+
<wsdl:output name="checkVatApproxResponse">
|
159
|
+
<wsdlsoap:body use="literal"/>
|
160
|
+
</wsdl:output>
|
161
|
+
</wsdl:operation>
|
162
|
+
</wsdl:binding>
|
163
|
+
<wsdl:service name="checkVatService">
|
164
|
+
<wsdl:port binding="impl:checkVatBinding" name="checkVatPort">
|
165
|
+
<wsdlsoap:address location="http://ec.europa.eu/taxation_customs/vies/api/checkVatPort"/>
|
166
|
+
</wsdl:port>
|
167
|
+
</wsdl:service>
|
168
|
+
</wsdl:definitions>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{europe_vat_number_check}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Tiago Pinto"]
|
12
|
+
s.date = %q{2010-02-20}
|
13
|
+
s.description = %q{European VAT Number Check using http://ec.europa.eu/taxation_customs/vies/vieshome.do?selectedLanguage=EN}
|
14
|
+
s.email = %q{tpinto@webreakstuff.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.markdown"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"20100220_wsdl.xml",
|
23
|
+
"LICENSE",
|
24
|
+
"README.markdown",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"europe_vat_number_check.gemspec",
|
28
|
+
"lib/europe_vat_number_check.rb",
|
29
|
+
"lib/european_vat_number_validation.rb",
|
30
|
+
"test/helper.rb",
|
31
|
+
"test/test_europe_vat_number_check.rb"
|
32
|
+
]
|
33
|
+
s.homepage = %q{http://github.com/tpinto/europe_vat_number_check}
|
34
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = %q{1.3.5}
|
37
|
+
s.summary = %q{European VAT Number Checker}
|
38
|
+
s.test_files = [
|
39
|
+
"test/helper.rb",
|
40
|
+
"test/test_europe_vat_number_check.rb"
|
41
|
+
]
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
45
|
+
s.specification_version = 3
|
46
|
+
|
47
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
48
|
+
else
|
49
|
+
end
|
50
|
+
else
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: europe_vat_number_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Pinto
|
@@ -25,14 +25,16 @@ extra_rdoc_files:
|
|
25
25
|
files:
|
26
26
|
- .document
|
27
27
|
- .gitignore
|
28
|
+
- 20100220_wsdl.xml
|
28
29
|
- LICENSE
|
30
|
+
- README.markdown
|
29
31
|
- Rakefile
|
30
32
|
- VERSION
|
33
|
+
- europe_vat_number_check.gemspec
|
31
34
|
- lib/europe_vat_number_check.rb
|
32
35
|
- lib/european_vat_number_validation.rb
|
33
36
|
- test/helper.rb
|
34
37
|
- test/test_europe_vat_number_check.rb
|
35
|
-
- README.markdown
|
36
38
|
has_rdoc: true
|
37
39
|
homepage: http://github.com/tpinto/europe_vat_number_check
|
38
40
|
licenses: []
|