vies.wsdl 10 KB

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