XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace urn:ec.europa.eu:taxud:fiscalis:common:v1
Version 1.6
Language en
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):
    • isotypes_v1.xsd
Documentation List of Goods Description types and sub-types === HISTORY=== Version 1.6 - add Turkish to the list of languages Version 1.5 - reduce size of VATNumberOrTIN_Type to 20 characters from 50 characters (20/03/2009) Version 1.4 - first release of the schema to the Member States for VAT Refund

Declared Namespaces

Prefix Namespace
Default namespace urn:ec.europa.eu:taxud:fiscalis:common:v1
xml http://www.w3.org/XML/1998/namespace
cm urn:ec.europa.eu:taxud:fiscalis:common:v1
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema xml:lang="en" targetNamespace="urn:ec.europa.eu:taxud:fiscalis:common:v1" elementFormDefault="qualified" version="1.6">
<xs:include schemaLocation="isotypes_v1.xsd"/>
...
</xs:schema>
top

Global Definitions

Complex Type: AddressStruct_Type

Super-types: None
Sub-types:
Name AddressStruct_Type
Abstract no
Documentation Structure of the address for a party broken down into its logical parts, recommended for easy matching. The 'City' element is the only required subelement. All of the subelements are simple text - data type 'string'.
XML Instance Representation
<...
Allow any attributes from any namespace (strict validation).
>
<Street> xs:string </Street> [0..1]
<BuildingIdentifier> xs:string </BuildingIdentifier> [0..1]
<SuiteIdentifier> xs:string </SuiteIdentifier> [0..1]
<FloorIdentifier> xs:string </FloorIdentifier> [0..1]
<DistrictName> xs:string </DistrictName> [0..1]
<POB> xs:string </POB> [0..1]
<PostCode> xs:string </PostCode> [0..1]
<City> xs:string </City> [1]
<CountrySubentity> xs:string </CountrySubentity> [0..1]
<OtherLocalId> xs:string </OtherLocalId> [0..1]
</...>
Schema Component Representation
<xs:complexType name="AddressStruct_Type">
<xs:sequence>
<xs:element name="Street" type="xs:string" minOccurs="0"/>
<xs:element name="BuildingIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="SuiteIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="FloorIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="DistrictName" type="xs:string" minOccurs="0"/>
<xs:element name="POB" type="xs:string" minOccurs="0"/>
<xs:element name="PostCode" type="xs:string" minOccurs="0"/>
<xs:element name="City" type="xs:string"/>
<xs:element name="CountrySubentity" type="xs:string" minOccurs="0"/>
<xs:element name="OtherLocalId" type="xs:string" minOccurs="0"/>
</xs:sequence>
<xs:anyAttribute/>
</xs:complexType>
top

Complex Type: EUMoneyAmount_Type

Super-types: xs:decimal < AmountValue_Type (by restriction) < MoneyAmount_Type (by extension) < EUMoneyAmount_Type (by restriction)
Sub-types: None
Name EUMoneyAmount_Type
Abstract no
Documentation An amount for the EU currencies
XML Instance Representation
<...
currency="EUCurrencyIsoCode_Type [1]">
MoneyAmount_Type
</...>
Schema Component Representation
<xs:complexType name="EUMoneyAmount_Type">
<xs:simpleContent>
<xs:restriction base="MoneyAmount_Type">
<xs:attribute name="currency" type="EUCurrencyIsoCode_Type" use="required"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: Header_Type

Super-types: None
Sub-types: None
Name Header_Type
Abstract no
Documentation Header of generic tax message
XML Instance Representation
<...>
<OriginatingCountry> EUCountryIsoCodeAlpha2_Type </OriginatingCountry> [1]
<DestinationCountries> EUCountryIsoCodeAlpha2List_Type </DestinationCountries> [1]
<MessageId> MsgId_Type </MessageId> [1]
<CorrelationId> MsgId_Type </CorrelationId> [0..1]
<Timestamp> xs:dateTime </Timestamp> [1]
<ResponseRequired> xs:date </ResponseRequired> [0..1]
<Language> xs:language </Language> [0..1] ?
</...>
Schema Component Representation
<xs:complexType name="Header_Type">
<xs:sequence>
<xs:element name="OriginatingCountry" type="EUCountryIsoCodeAlpha2_Type"/>
<xs:element name="DestinationCountries" type="EUCountryIsoCodeAlpha2List_Type"/>
<xs:element name="MessageId" type="MsgId_Type"/>
<xs:element name="CorrelationId" type="MsgId_Type" minOccurs="0"/>
<xs:element name="Timestamp" type="xs:dateTime"/>
<xs:element name="ResponseRequired" type="xs:date" minOccurs="0"/>
<xs:element name="Language" type="xs:language" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: I18nString_Type

Super-types: xs:string < I18nString_Type (by extension)
Sub-types: None
Name I18nString_Type
Abstract no
Documentation Internationalised string
XML Instance Representation
<...
lang="xs:language [0..1]">
xs:string
</...>
Schema Component Representation
<xs:complexType name="I18nString_Type">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="lang" type="xs:language" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: Individual_Type

Super-types: None
Sub-types:
Name Individual_Type
Abstract no
Documentation An individual
XML Instance Representation
<...
indivQlf="xs:string [0..1]">
<Name> NameFree_Type </Name> [0..1]
<BirthDate> xs:date </BirthDate> [0..1]
<Address> cm:AddressFree_Type </Address> [0..1]
</...>
Schema Component Representation
<xs:complexType name="Individual_Type">
<xs:sequence>
<xs:element name="Name" type="NameFree_Type" minOccurs="0"/>
<xs:element name="BirthDate" type="xs:date" minOccurs="0"/>
<xs:element name="Address" type="cm:AddressFree_Type" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="indivQlf" type="xs:string" use="optional"/>
</xs:complexType>
top

Complex Type: IndividualWithAddress_Type

Super-types: Individual_Type < IndividualWithAddress_Type (by restriction)
Sub-types: None
Name IndividualWithAddress_Type
Abstract no
XML Instance Representation
<...
indivQlf="xs:string [0..1]">
<Name> NameFree_Type </Name> [0..1]
<Address> cm:AddressFree_Type </Address> [0..1]
</...>
Schema Component Representation
<xs:complexType name="IndividualWithAddress_Type">
<xs:complexContent>
<xs:restriction base="Individual_Type">
<xs:sequence>
<xs:element name="Name" type="NameFree_Type" minOccurs="0"/>
<xs:element name="BirthDate" type="xs:date" minOccurs="0" maxOccurs="0"/>
<xs:element name="Address" type="cm:AddressFree_Type" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
top

Complex Type: IndividualWithBirthDate_Type

Super-types: Individual_Type < IndividualWithBirthDate_Type (by restriction)
Sub-types: None
Name IndividualWithBirthDate_Type
Abstract no
XML Instance Representation
<...
indivQlf="xs:string [0..1]">
<Name> NameFree_Type </Name> [0..1]
<BirthDate> xs:date </BirthDate> [0..1]
</...>
Schema Component Representation
<xs:complexType name="IndividualWithBirthDate_Type">
<xs:complexContent>
<xs:restriction base="Individual_Type">
<xs:sequence>
<xs:element name="Name" type="NameFree_Type" minOccurs="0"/>
<xs:element name="BirthDate" type="xs:date" minOccurs="0"/>
<xs:element name="Address" type="cm:AddressFree_Type" minOccurs="0" maxOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
top

Complex Type: IndivPersBirthData_Type

Super-types: IndivPersData_Type < IndivPersBirthData_Type (by restriction)
Sub-types: None
Name IndivPersBirthData_Type
Abstract no
Documentation A simplified version of IndivPersData_Type
XML Instance Representation
<...>
<BirthDate> xs:date </BirthDate> [0..1]
<BirthCity> xs:string </BirthCity> [0..1]
<BirthCountryCode> xs:string </BirthCountryCode> [0..1]
</...>
Schema Component Representation
<xs:complexType name="IndivPersBirthData_Type">
<xs:complexContent>
<xs:restriction base="IndivPersData_Type">
<xs:sequence>
<xs:element name="Gender" type="Gender_Type" minOccurs="0" maxOccurs="0"/>
<xs:element name="Nationality" type="CountryIsoCodeAlpha2_Type" minOccurs="0" maxOccurs="0"/>
<xs:element name="BirthDate" type="xs:date" minOccurs="0"/>
<xs:element name="BirthCity" type="xs:string" minOccurs="0"/>
<xs:element name="BirthCitySubentity" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="BirthCountryCode" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
top

Complex Type: IndivPersData_Type

Super-types: None
Sub-types:
Name IndivPersData_Type
Abstract no
Documentation Data (other than Name and Address) to describe and identify an Individual.
XML Instance Representation
<...>
<Gender> Gender_Type </Gender> [0..1]
<Nationality> CountryIsoCodeAlpha2_Type </Nationality> [0..1]
<BirthDate> xs:date </BirthDate> [0..1]
<BirthCity> xs:string </BirthCity> [0..1]
<BirthCitySubentity> xs:string </BirthCitySubentity> [0..1]
<BirthCountryCode> xs:string </BirthCountryCode> [0..1]
</...>
Schema Component Representation
<xs:complexType name="IndivPersData_Type">
<xs:sequence>
<xs:element name="Gender" type="Gender_Type" minOccurs="0"/>
<xs:element name="Nationality" type="CountryIsoCodeAlpha2_Type" minOccurs="0"/>
<xs:element name="BirthDate" type="xs:date" minOccurs="0"/>
<xs:element name="BirthCity" type="xs:string" minOccurs="0"/>
<xs:element name="BirthCitySubentity" type="xs:string" minOccurs="0"/>
<xs:element name="BirthCountryCode" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: LegalEntity_Type

Super-types: None
Sub-types: None
Name LegalEntity_Type
Abstract no
Documentation A legal entity
XML Instance Representation
<...>
<Name> NameFree_Type </Name> [1]
<LegalStatus> xs:string </LegalStatus> [1]
<Address> AddressStruct_Type </Address> [1]
</...>
Schema Component Representation
<xs:complexType name="LegalEntity_Type">
<xs:sequence>
<xs:element name="Name" type="NameFree_Type"/>
<xs:element name="LegalStatus" type="xs:string"/>
<xs:element name="Address" type="AddressStruct_Type"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: MoneyAmount_Type

Super-types: xs:decimal < AmountValue_Type (by restriction) < MoneyAmount_Type (by extension)
Sub-types: None
Name MoneyAmount_Type
Abstract no
Documentation An amount: a value with a currency attribute
XML Instance Representation
<...
currency="CurrencyIsoCode_Type [1]">
AmountValue_Type
</...>
Schema Component Representation
<xs:complexType name="MoneyAmount_Type">
<xs:simpleContent>
<xs:extension base="AmountValue_Type">
<xs:attribute name="currency" type="CurrencyIsoCode_Type" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: Name_Type

Super-types: None
Sub-types: None
Name Name_Type
Abstract no
XML Instance Representation
<...
nameType="nameType_Type [0..1]">
Start Choice [1]
<NameFree> xs:string </NameFree> [1]
<NameStruct> NameStruct_Type </NameStruct> [1]
<NameFree> xs:string </NameFree> [0..1]
End Choice
</...>
Schema Component Representation
<xs:complexType name="Name_Type">
<xs:choice>
<xs:element name="NameFree" type="xs:string"/>
<xs:sequence>
<xs:element name="NameStruct" type="NameStruct_Type"/>
<xs:element name="NameFree" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:choice>
<xs:attribute name="nameType" type="nameType_Type" use="optional"/>
</xs:complexType>
top

Complex Type: NameReducedFix_Type

Super-types: NameStruct_Type < NameReducedFix_Type (by restriction)
Sub-types: None
Name NameReducedFix_Type
Abstract no
XML Instance Representation
<...>
<FirstName> xs:string </FirstName> [1]
<LastName> xs:string </LastName> [1]
<MaidenName> xs:string </MaidenName> [0..1]
</...>
Schema Component Representation
<xs:complexType name="NameReducedFix_Type">
<xs:complexContent>
<xs:restriction base="NameStruct_Type">
<xs:sequence>
<xs:element name="PrecedingTitle" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="Title" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="FirstName" type="xs:string"/>
<xs:element name="MiddleName" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="NamePrefix" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="LastName" type="xs:string"/>
<xs:element name="GenerationIdentifier" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="Suffix" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="GeneralSuffix" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="MaidenName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
top

Complex Type: NameStruct_Type

Super-types: None
Sub-types:
Name NameStruct_Type
Abstract no
XML Instance Representation
<...>
<PrecedingTitle> xs:string </PrecedingTitle> [0..1]
<Title> xs:string </Title> [0..*]
<FirstName> xs:string </FirstName> [1]
<MiddleName> xs:string </MiddleName> [0..*]
<NamePrefix> xs:string </NamePrefix> [0..1]
<LastName> xs:string </LastName> [1]
<GenerationIdentifier> xs:string </GenerationIdentifier> [0..*]
<Suffix> xs:string </Suffix> [0..*]
<GeneralSuffix> xs:string </GeneralSuffix> [0..1]
<MaidenName> xs:string </MaidenName> [0..1]
</...>
Schema Component Representation
<xs:complexType name="NameStruct_Type">
<xs:sequence>
<xs:element name="PrecedingTitle" type="xs:string" minOccurs="0"/>
<xs:element name="Title" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FirstName" type="xs:string"/>
<xs:element name="MiddleName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="NamePrefix" type="xs:string" minOccurs="0"/>
<xs:element name="LastName" type="xs:string"/>
<xs:element name="GenerationIdentifier" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Suffix" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="GeneralSuffix" type="xs:string" minOccurs="0"/>
<xs:element name="MaidenName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: NVPair_Type

Super-types: xs:string < NVPair_Type (by extension)
Sub-types: None
Name NVPair_Type
Abstract no
Documentation A type that holds a name value pair. The name is stored in the 'name' attribute, and the value as a string in the element value itself
XML Instance Representation
<...
name="xs:token [1]">
xs:string
</...>
Schema Component Representation
<xs:complexType name="NVPair_Type">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" type="xs:token" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: OrderedString_Type

Super-types: xs:string < OrderedString_Type (by extension)
Sub-types: None
Name OrderedString_Type
Abstract no
Documentation A string with an attribute that allows ordering in a list.
XML Instance Representation
<...
order="xs:byte [1]">
xs:string
</...>
Schema Component Representation
<xs:complexType name="OrderedString_Type">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="order" type="xs:byte" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: Period_Type

Super-types: None
Sub-types: None
Name Period_Type
Abstract no
Documentation Represents a period of time specified by a start date and an end date.
XML Instance Representation
<...>
<StartDate> xs:date </StartDate> [1]
<EndDate> xs:date </EndDate> [1]
</...>
Schema Component Representation
<xs:complexType name="Period_Type">
<xs:sequence>
<xs:element name="StartDate" type="xs:date"/>
<xs:element name="EndDate" type="xs:date"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Person_Type

Super-types: None
Sub-types: None
Name Person_Type
Abstract no
Documentation A person
XML Instance Representation
<...>
<Name> NameStruct_Type </Name> [1]
<IndivPersData> IndivPersData_Type </IndivPersData> [1]
<Address> AddressStruct_Type </Address> [1]
</...>
Schema Component Representation
<xs:complexType name="Person_Type">
<xs:sequence>
<xs:element name="Name" type="NameStruct_Type"/>
<xs:element name="IndivPersData" type="IndivPersData_Type"/>
<xs:element name="Address" type="AddressStruct_Type"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ShortAddressStruct_Type

Super-types: AddressStruct_Type < ShortAddressStruct_Type (by restriction)
Sub-types: None
Name ShortAddressStruct_Type
Abstract no
Documentation A shortenedform of Address_Fix with a mandatory status attribute
XML Instance Representation
<...
status="AddressStatus_Type [1]">
<!-- 'cm:AddressStruct_Type' super type was not found in this schema. Some elements and attributes may be missing. -->
<Street> xs:string </Street> [0..1]
<BuildingIdentifier> xs:string </BuildingIdentifier> [0..1]
<SuiteIdentifier> xs:string </SuiteIdentifier> [0..1]
<PostCode> xs:string </PostCode> [0..1]
<City> xs:string </City> [1]
</...>
Schema Component Representation
<xs:complexType name="ShortAddressStruct_Type">
<xs:complexContent>
<xs:restriction base="cm:AddressStruct_Type">
<xs:sequence>
<xs:element name="Street" type="xs:string" minOccurs="0"/>
<xs:element name="BuildingIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="SuiteIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="FloorIdentifier" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="DistrictName" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="POB" type="xs:string" minOccurs="0" maxOccurs="0"/>
<xs:element name="PostCode" type="xs:string" minOccurs="0"/>
<xs:element name="City" type="xs:string"/>
<xs:element name="CountrySubentity" type="xs:string" minOccurs="0" maxOccurs="0"/>
<-- <xs:element name="Country" type="CountryIsoCodeAlpha2_Type" minOccurs="0"/> -->
</xs:sequence>
<xs:attribute name="status" type="AddressStatus_Type" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
top

Simple Type: AddressFree_Type

Super-types: xs:string < AddressFree_Type (by restriction)
Sub-types: None
Name AddressFree_Type
Content
  • Base XSD Type: string
Documentation An unstructured address
Schema Component Representation
<xs:simpleType name="AddressFree_Type">
<xs:restriction base="xs:string"/>
</xs:simpleType>
top

Simple Type: AddressStatus_Type

Super-types: xs:string < AddressStatus_Type (by restriction)
Sub-types: None
Name AddressStatus_Type
Content
  • Base XSD Type: string
  • value comes from list: {'known'|'assumed'}
Schema Component Representation
<xs:simpleType name="AddressStatus_Type">
<xs:restriction base="xs:string">
<xs:enumeration value="known"/>
<xs:enumeration value="assumed"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: AmountValue_Type

Super-types: xs:decimal < AmountValue_Type (by restriction)
Sub-types:
Name AmountValue_Type
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 2
Documentation A decimal amount, resticted to two decimal places
Schema Component Representation
<xs:simpleType name="AmountValue_Type">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: ApplicationId_Type

Super-types: xs:token < ApplicationId_Type (by restriction)
Sub-types: None
Name ApplicationId_Type
Content
  • Base XSD Type: token
  • value comes from list: {'ecommerce'}
Documentation Application Identifier
Schema Component Representation
<xs:simpleType name="ApplicationId_Type">
<xs:restriction base="xs:token">
<xs:enumeration value="ecommerce"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: CountryIsoCodeAlpha2_Type

Super-types: xs:NMTOKEN < CountryIsoCodeAlpha2_Type (by restriction)
Sub-types: None
Name CountryIsoCodeAlpha2_Type
Content
  • Base XSD Type: NMTOKEN
  • pattern = [A-Z]{2}
Documentation ISO 3166 alpha 2 country code
Schema Component Representation
<xs:simpleType name="CountryIsoCodeAlpha2_Type">
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="[A-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: CountryIsoCodeNum3_Type

Super-types: xs:integer < CountryIsoCodeNum3_Type (by restriction)
Sub-types:
Name CountryIsoCodeNum3_Type
Content
  • Base XSD Type: integer
  • total no. of digits = 3
Documentation ISO 3166 numeric country code
Schema Component Representation
<xs:simpleType name="CountryIsoCodeNum3_Type">
<xs:restriction base="xs:integer">
<xs:totalDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: CurrencyIsoCode_Type

Super-types: xs:NMTOKEN < CurrencyIsoCode_Type (by restriction)
Sub-types:
Name CurrencyIsoCode_Type
Content
  • Base XSD Type: NMTOKEN
  • pattern = [A-Z]{3}
Documentation ISO 4217 currency code
Schema Component Representation
<xs:simpleType name="CurrencyIsoCode_Type">
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="[A-Z]{3}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: EMail_Type

Super-types: xs:token < EMail_Type (by restriction)
Sub-types: None
Name EMail_Type
Content
  • Base XSD Type: token
  • pattern = ([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})
Documentation An email address
Schema Component Representation
<xs:simpleType name="EMail_Type">
<xs:restriction base="xs:token">
<xs:pattern value="([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: EUCountryIsoCodeAlpha2_Type

Super-types: MSCountryCode_Type < EUCountryIsoCodeAlpha2_Type (by restriction)
Sub-types: None
Name EUCountryIsoCodeAlpha2_Type
Content
  • 'MSCountryCode_Type' super type was not found in this schema. Its facets could not be printed out.
Documentation The set of ISO 3166 alpha 2 country code values for the EU member states, with the exception of the Hellenic Republic which is represented by a non-standard code.
Schema Component Representation
<xs:simpleType name="EUCountryIsoCodeAlpha2_Type">
<xs:restriction base="MSCountryCode_Type"/>
</xs:simpleType>
top

Simple Type: EUCountryIsoCodeAlpha2List_Type

Super-types: None
Sub-types: None
Name EUCountryIsoCodeAlpha2List_Type
Content
Documentation List of EU country codes
Schema Component Representation
<xs:simpleType name="EUCountryIsoCodeAlpha2List_Type">
<xs:list itemType="EUCountryIsoCodeAlpha2_Type"/>
</xs:simpleType>
top

Simple Type: EUCountryIsoCodeNum3_Type

Super-types: xs:integer < CountryIsoCodeNum3_Type (by restriction) < EUCountryIsoCodeNum3_Type (by restriction)
Sub-types: None
Name EUCountryIsoCodeNum3_Type
Content
  • Base XSD Type: integer
  • total no. of digits = 3
  • value comes from list: {'040'|'056'|'100'|'196'|'203'|'208'|'233'|'246'|'250'|'276'|'300'|'348'|'372'|'380'|'428'|'440'|'442'|'470'|'528'|'616'|'620'|'642'|'703'|'705'|'724'|'752'|'826'}
Documentation The set of ISO 3166 numeric country code values for the EU member states
Schema Component Representation
<xs:simpleType name="EUCountryIsoCodeNum3_Type">
<xs:restriction base="CountryIsoCodeNum3_Type">
<xs:enumeration value="040"/>
<xs:enumeration value="056"/>
<xs:enumeration value="100"/>
<xs:enumeration value="196"/>
<xs:enumeration value="203"/>
<xs:enumeration value="208"/>
<xs:enumeration value="233"/>
<xs:enumeration value="246"/>
<xs:enumeration value="250"/>
<xs:enumeration value="276"/>
<xs:enumeration value="300"/>
<xs:enumeration value="348"/>
<xs:enumeration value="372"/>
<xs:enumeration value="380"/>
<xs:enumeration value="428"/>
<xs:enumeration value="440"/>
<xs:enumeration value="442"/>
<xs:enumeration value="470"/>
<xs:enumeration value="528"/>
<xs:enumeration value="616"/>
<xs:enumeration value="620"/>
<xs:enumeration value="642"/>
<xs:enumeration value="703"/>
<xs:enumeration value="705"/>
<xs:enumeration value="724"/>
<xs:enumeration value="752"/>
<xs:enumeration value="826"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: EUCountryIsoCodeNum3List_Type

Super-types: None
Sub-types: None
Name EUCountryIsoCodeNum3List_Type
Content
Documentation List of EU country code numbers
Schema Component Representation
<xs:simpleType name="EUCountryIsoCodeNum3List_Type">
<xs:list itemType="EUCountryIsoCodeNum3_Type"/>
</xs:simpleType>
top

Simple Type: EUCurrencyIsoCode_Type

Super-types: xs:NMTOKEN < CurrencyIsoCode_Type (by restriction) < EUCurrencyIsoCode_Type (by restriction)
Sub-types: None
Name EUCurrencyIsoCode_Type
Content
  • Base XSD Type: NMTOKEN
  • pattern = [A-Z]{3}
  • value comes from list: {'BGN'|'CYP'|'CZK'|'DKK'|'EEK'|'EUR'|'GBP'|'HUF'|'LTL'|'LVL'|'MTL'|'PLN'|'ROL'|'SEK'|'SKK'|'SIT'}
Documentation The set of currency code values for the EU member states.Currencies that have been legal in recent years are included, even if replaced by the Euro.
Schema Component Representation
<xs:simpleType name="EUCurrencyIsoCode_Type">
<xs:restriction base="CurrencyIsoCode_Type">
<xs:enumeration value="BGN"/>
<xs:enumeration value="CYP"/>
<xs:enumeration value="CZK"/>
<xs:enumeration value="DKK"/>
<xs:enumeration value="EEK"/>
<xs:enumeration value="EUR"/>
<xs:enumeration value="GBP"/>
<xs:enumeration value="HUF"/>
<xs:enumeration value="LTL"/>
<xs:enumeration value="LVL"/>
<xs:enumeration value="MTL"/>
<xs:enumeration value="PLN"/>
<xs:enumeration value="ROL"/>
<xs:enumeration value="SEK"/>
<xs:enumeration value="SKK"/>
<xs:enumeration value="SIT"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: EULanguageCode_Type

Super-types: xs:string < EULanguageCode_Type (by restriction)
Sub-types: None
Name EULanguageCode_Type
Content
  • Base XSD Type: string
  • value comes from list: {'bg'|'cs'|'da'|'de'|'el'|'en'|'es'|'et'|'fi'|'fr'|'ga'|'hu'|'it'|'lt'|'lv'|'mt'|'nl'|'pl'|'pt'|'ro'|'sk'|'sl'|'sv'|'tr'}
Documentation The list of official languages of the EU.
Schema Component Representation
<xs:simpleType name="EULanguageCode_Type">
<xs:restriction base="xs:string">
<xs:enumeration value="bg"/>
<xs:enumeration value="cs"/>
<xs:enumeration value="da"/>
<xs:enumeration value="de"/>
<xs:enumeration value="el"/>
<xs:enumeration value="en"/>
<xs:enumeration value="es"/>
<xs:enumeration value="et"/>
<xs:enumeration value="fi"/>
<xs:enumeration value="fr"/>
<xs:enumeration value="ga"/>
<xs:enumeration value="hu"/>
<xs:enumeration value="it"/>
<xs:enumeration value="lt"/>
<xs:enumeration value="lv"/>
<xs:enumeration value="mt"/>
<xs:enumeration value="nl"/>
<xs:enumeration value="pl"/>
<xs:enumeration value="pt"/>
<xs:enumeration value="ro"/>
<xs:enumeration value="sk"/>
<xs:enumeration value="sl"/>
<xs:enumeration value="sv"/>
<xs:enumeration value="tr"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: EULanguageList_Type

Super-types: None
Sub-types: None
Name EULanguageList_Type
Content
Documentation List of EU Languages
Schema Component Representation
<xs:simpleType name="EULanguageList_Type">
<xs:list itemType="EULanguageCode_Type"/>
</xs:simpleType>
top

Simple Type: Gender_Type

Super-types: xs:token < Gender_Type (by restriction)
Sub-types: None
Name Gender_Type
Content
  • Base XSD Type: token
  • value comes from list: {'M'|'F'}
Documentation This element can be used to indicate Gender for individuals.
Schema Component Representation
<xs:simpleType name="Gender_Type">
<xs:restriction base="xs:token">
<xs:enumeration value="M"/>
<xs:enumeration value="F"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: IBAN_Type

Super-types: xs:string < IBAN_Type (by restriction)
Sub-types: None
Name IBAN_Type
Content
  • Base XSD Type: string
  • pattern = [A-Z]{2}[0-9]{2}[0-9,A-Z]{10,30}
Documentation The International Bank Account Number has to be given here for the account into which the payment in question has been made. Depending on the transmission type this element is optional. Its structure is: Country code, 2 letters/Check digits, 2 digits/Basic Bank Account Number (BBAN), 10 to 30 alphanumeric characters
Schema Component Representation
<xs:simpleType name="IBAN_Type">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}[0-9]{2}[0-9,A-Z]{10,30}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: MsgId_Type

Super-types: xs:string < MsgId_Type (by restriction)
Sub-types: None
Name MsgId_Type
Content
  • Base XSD Type: string
  • pattern = [a-zA-Z0-9\-_:@\.]*
  • length <= 64
Documentation Message Identifier
Schema Component Representation
<xs:simpleType name="MsgId_Type">
<xs:restriction base="xs:string">
<xs:maxLength value="64"/>
<xs:pattern value="[a-zA-Z0-9\-_:@\.]*"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: NameFree_Type

Super-types: xs:string < NameFree_Type (by restriction)
Sub-types: None
Name NameFree_Type
Content
  • Base XSD Type: string
Documentation An unstructured name
Schema Component Representation
<xs:simpleType name="NameFree_Type">
<xs:restriction base="xs:string"/>
</xs:simpleType>
top

Simple Type: nameType_Type

Super-types: xs:string < nameType_Type (by restriction)
Sub-types: None
Name nameType_Type
Content
  • Base XSD Type: string
  • value comes from list: {'indiv'|'alias'|'nick'|'aka'|'dba'|'legal'|'atbirth'}
Schema Component Representation
<xs:simpleType name="nameType_Type">
<xs:restriction base="xs:string">
<xs:enumeration value="indiv"/>
<xs:enumeration value="alias"/>
<xs:enumeration value="nick"/>
<xs:enumeration value="aka"/>
<xs:enumeration value="dba"/>
<xs:enumeration value="legal"/>
<xs:enumeration value="atbirth"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: NumberLength3_Type

Super-types: xs:integer < NumberLength3_Type (by restriction)
Sub-types: None
Name NumberLength3_Type
Content
  • Base XSD Type: integer
  • 0 <= value <= 999
Documentation A number with 3 digits
Schema Component Representation
<xs:simpleType name="NumberLength3_Type">
<xs:restriction base="xs:integer">
<xs:maxInclusive value="999"/>
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: PhoneNumber_Type

Super-types: xs:string < PhoneNumber_Type (by restriction)
Sub-types: None
Name PhoneNumber_Type
Content
  • Base XSD Type: string
  • pattern = (\+)?[0-9]{1,20}
Documentation A telephone number
Schema Component Representation
<xs:simpleType name="PhoneNumber_Type">
<xs:restriction base="xs:string">
<xs:pattern value="(\+)?[0-9]{1,20}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: Quarter_Type

Super-types: xs:integer < Quarter_Type (by restriction)
Sub-types: None
Name Quarter_Type
Content
  • Base XSD Type: integer
  • 1 <= value <= 4
Documentation A quarter (Q1, Q2, Q3, Q4)
Schema Component Representation
<xs:simpleType name="Quarter_Type">
<xs:restriction base="xs:integer">
<xs:maxInclusive value="4"/>
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: VATNumber_Type

Super-types: xs:string < VATNumber_Type (by restriction)
Sub-types: None
Name VATNumber_Type
Content
  • Base XSD Type: string
  • pattern = [A-Za-z0-9\+\*]{1,12}
Schema Component Representation
<xs:simpleType name="VATNumber_Type">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9\+\*]{1,12}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: VATNumberOrTIN_Type

Super-types: xs:string < VATNumberOrTIN_Type (by restriction)
Sub-types: None
Name VATNumberOrTIN_Type
Content
  • Base XSD Type: string
  • length <= 20
Documentation A tax identifier, VAT or other
Schema Component Representation
<xs:simpleType name="VATNumberOrTIN_Type">
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: VatRate_Type

Super-types: xs:decimal < VatRate_Type (by restriction)
Sub-types: None
Name VatRate_Type
Content
  • Base XSD Type: decimal
  • 0.00 <= value <= 100.00
  • no. of fraction digits = 2
Documentation VAT rate
Schema Component Representation
<xs:simpleType name="VatRate_Type">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0.00"/>
<xs:maxInclusive value="100.00"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base="Address">
<sequence>
<element name="state" type="AusStates"/>
<element name="postcode">
<simpleType>
<restriction base="string">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top