Table of Contents
Target Namespace
urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1
Version
1.06
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 imports schema(s) from the following namespace(s):
urn:ec.europa.eu:taxud:fiscalis:message:v1 (at fiscalismessage_v1.xsd)
urn:ec.europa.eu:taxud:fiscalis:common:v1 (at commontypes_v1.xsd)
This schema includes components from the following schema document(s):
goodsdescriptiontypes_v1.xsd
decreasons_v1.xsd
adjreasons_v1.xsd
Documentation
A schema for the definition of messages to be exchanged in the VAT Refund system.
=== HISTORY===
Version 1.08 - 16/12/2010
+ The type of RequestedAmount and AcceptedAmount in the decision is SignedMoneyAmount_Type instead of PositiveMoneyAmount_Type.
Version 1.07 - 15/07/2010
- Remove non EU Member State constraint on Supplier in ImportInformation: Trader_Type uses
cm:CountryCode_Type instead of cm:CountryCodeExMS_Type
+ AccountName_Type maxLength changed from 35 to 70
- Type of element FileDescription changed from xs:token to xs:string
+ Addition of bank fees in CorrectionReason_Type
Version 1.06 - 22/07/2009
- Remove constraints PurchaseInformationReference_Unique and ImportInformationReferenceNumber_Unique
Version 1.05 - 28/05/2009
+Add application/zip to enumeration in OfficialCopyFileType_Type
Version 1.04 - 11/05/2009
+Add ReasonCode 5 to UpdateRefusalReasonCode_Type
+Correct RefundDecisionJustificationReasonCode_Type code for "Partial decision of repayment" - 87 -> 95
+Add RefundDecisionJustificationReasonCode_Type codes agreed at March workshop (codes 64 to 68 inclusive)
Version 1.03 - 25/03/2009
+ Allow two decimal places for the pro-rata rate
Version 1.02 - 20/03/2009
+ Add disclose attribute to VATREfundReceipt, VATRefundDecision, AdjustmentReceipt and AdjustmentDecision
+ Add telephone number to BaseTrader_Type
Version 1.01 - 18/12/2008
+ Add a constraint on the issuedBy attribute of the TaxReferenceNumber - it must be the same as the RefundingCountryCode
+ Fix erroneous definition of constraint applying on reference of PurchaseInformation of VATRefundApplication
+ Offer the possibility to provide multiple GoodsDescription for ImportInformation and PurchaseInformation of VATRefundApplication
Version 1.00 - first release of the schema to the Member States
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
xs
http://www.w3.org/2001/XMLSchema
cm
urn:ec.europa.eu:taxud:fiscalis:common:v1
mes
urn:ec.europa.eu:taxud:fiscalis:message:v1
vr
urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1
Schema Component Representation
<
xs:schema xml:lang ="
en "
targetNamespace ="
urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1 "
elementFormDefault ="
qualified "
version ="
1.06 ">
<xs:import namespace ="urn:ec.europa.eu:taxud:fiscalis:message:v1 " schemaLocation ="fiscalismessage_v1.xsd "/>
<xs:import namespace ="urn:ec.europa.eu:taxud:fiscalis:common:v1 " schemaLocation ="commontypes_v1.xsd "/>
<xs:include schemaLocation ="goodsdescriptiontypes_v1.xsd "/>
<xs:include schemaLocation ="decreasons_v1.xsd "/>
<xs:include schemaLocation ="adjreasons_v1.xsd "/>
...
</
xs:schema >
This element can be used wherever the following element is referenced:
This element can be used wherever the following element is referenced:
XML Instance Representation
<
vr :AdjustmentResult
disclose="vr :Disclose_Type [0..1] " >
<!--
Key Reference Constraint -
RefundingCountryToAcceptedRefundCountryCode Selector -
.//vr:AcceptedRefund Field(s) -
vr:ApplicationReference/vr:RefundingCountryCode Refers to -
vr :
RefundingCountryKey2 -->
</
vr :AdjustmentResult>
Schema Component Representation
<
xs:element name ="
AdjustmentResult "
type ="
vr :AdjustmentResultBody_Type "
substitutionGroup ="
mes:AbstractBody ">
<
xs:key name ="
RefundingCountryKey2 ">
<xs:selector xpath =". "/>
<xs:field xpath ="vr:RefundingCountryCode "/>
</
xs:key >
<
xs:keyref name ="
RefundingCountryToAcceptedRefundCountryCode "
refer ="
vr :RefundingCountryKey2 ">
<xs:selector xpath =".//vr:AcceptedRefund "/>
<xs:field xpath ="vr:ApplicationReference/vr:RefundingCountryCode "/>
</
xs:keyref >
</
xs:element >
This element can be used wherever the following element is referenced:
This element can be used wherever the following element is referenced:
This element can be used wherever the following element is referenced:
XML Instance Representation
<
vr :ProRataRateAdjustment>
</
vr :ProRataRateAdjustment>
This element can be used wherever the following element is referenced:
This element can be used wherever the following element is referenced:
XML Instance Representation
<
vr :VATRefundApplication>
<!--
Key Constraint -
RefundingCountryKey Selector -
./vr:ApplicationReference Field(s) -
vr:RefundingCountryCode -->
<!--
Key Reference Constraint -
RefundingCountryToSupplier Selector -
.//vr:PurchaseInformation Field(s) -
vr:EUSupplier/vr:EUTraderID/vr:VATIdentificationNumber/@issuedBy Refers to -
vr :
RefundingCountryKey -->
<!--
Key Reference Constraint -
RefundingCountryToSupplier2 Selector -
.//vr:PurchaseInformation Field(s) -
vr:EUSupplier/vr:EUTraderID/vr:TaxReferenceNumber/@issuedBy Refers to -
vr :
RefundingCountryKey -->
</
vr :VATRefundApplication>
Schema Component Representation
<
xs:element name ="
VATRefundApplication "
type ="
vr :VATRefundApplicationBody_Type "
substitutionGroup ="
mes:AbstractBody ">
<
xs:unique name ="
SequenceNumber_Unique ">
<xs:selector xpath =".//* "/>
<xs:field xpath ="vr:SequenceNumber "/>
</
xs:unique >
<
xs:unique name ="
BusinessActivity_Unique ">
<xs:selector xpath =".//vr:BusinessDescription/vr:BusinessActivity "/>
<xs:field xpath =". "/>
</
xs:unique >
<
xs:unique name ="
TextualDescrLanguage_Unique ">
<xs:selector xpath =".//vr:BusinessDescription/vr:TextualDescription "/>
<xs:field xpath ="./@language "/>
</
xs:unique >
<
xs:key name ="
RefundingCountryKey ">
<xs:selector xpath ="./vr:ApplicationReference "/>
<xs:field xpath ="vr:RefundingCountryCode "/>
</
xs:key >
<
xs:keyref name ="
RefundingCountryToSupplier "
refer ="
vr :RefundingCountryKey ">
<xs:selector xpath =".//vr:PurchaseInformation "/>
<xs:field xpath ="vr:EUSupplier/vr:EUTraderID/vr:VATIdentificationNumber/@issuedBy "/>
</
xs:keyref >
<
xs:keyref name ="
RefundingCountryToSupplier2 "
refer ="
vr :RefundingCountryKey ">
<xs:selector xpath =".//vr:PurchaseInformation "/>
<xs:field xpath ="vr:EUSupplier/vr:EUTraderID/vr:TaxReferenceNumber/@issuedBy "/>
</
xs:keyref >
</
xs:element >
This element can be used wherever the following element is referenced:
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
AcceptedRefund_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
Adjustment_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
AdjustmentInformation_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
AdjustmentInformation_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
AdjustmentReceiptBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
AdjustmentReceiptBody_Type ">
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
disclose "
type ="
vr :Disclose_Type "
use ="
optional "
default ="
03 "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
AdjustmentResultBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
AdjustmentResultBody_Type ">
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
disclose "
type ="
vr :Disclose_Type "
use ="
optional "
default ="
03 "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
AdjustmentResultJustification_Type
Abstract
no
XML Instance Representation
<...>
<
vr :AdditionalInformation>
xs :string </
vr :AdditionalInformation>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
AdjustmentResultJustification_Type ">
<
xs:sequence >
<
xs:element name ="
AdditionalInformation "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
BaseTrader_Type
< Applicant_Type (by extension)
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
Applicant_Type ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ApplicationReceiptBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
ApplicationReceiptBody_Type ">
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
disclose "
type ="
vr :Disclose_Type "
use ="
optional "
default ="
03 "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
BalanceCorrection_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
BankAccount_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
BaseTrader_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
BusinessDescription_Type
Abstract
no
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
BusinessDescription_Type ">
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
DebitBalance_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
Deduction_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
DetailedBankAccount_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
DetailedBankAccount_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
BaseTrader_Type
< EUSupplier_Type (by extension)
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
EUSupplier_Type ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
EUTraderID_Type ">
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
vr :FileName>
xs :token </
vr :FileName>
[1] <
vr :FileDescription>
xs :string </
vr :FileDescription>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
FileAttachment_Type ">
<
xs:sequence >
<
xs:element name ="
FileName "
type ="
xs :token"/>
<
xs:element name ="
FileDescription "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
GoodsDescription_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] <
vr :ReferenceInformation>
xs :string </
vr :ReferenceInformation>
[1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
ImportInformation_Type ">
<
xs:sequence >
<
xs:choice >
<
xs:element name ="
ReferenceInformation "
type ="
xs :string"/>
</
xs:choice >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] <
vr :ReferenceInformation>
xs :string </
vr :ReferenceInformation>
[1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
ImportReference_Type ">
<
xs:choice >
<
xs:element name ="
ReferenceInformation "
type ="
xs :string"/>
</
xs:choice >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
vr :InvoiceReferenceNumber>
xs :token </
vr :InvoiceReferenceNumber>
[1] </...>
Schema Component Representation
<
xs:complexType name ="
InvoiceReference_Type ">
<
xs:sequence >
<
xs:element name ="
InvoiceReferenceNumber "
type ="
xs :token"/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
NETPNotificationBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
NETPNotificationBody_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
BaseTrader_Type
< NonEUTrader_Type (by extension)
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
NonEUTrader_Type ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
vr :FileName>
xs :token </
vr :FileName>
[1] </...>
Schema Component Representation
<
xs:complexType name ="
OfficialCopy_Type ">
<
xs:sequence >
<
xs:element name ="
FileName "
type ="
xs :token"/>
</
xs:sequence >
</
xs:complexType >
Super-types:
xs :decimal <
Amount_Type
(by restriction) < PositiveMoneyAmount_Type (by extension)
Sub-types:
None
Name
PositiveMoneyAmount_Type
Abstract
no
Documentation
An amount: a value with a currency
attribute
Schema Component Representation
<
xs:complexType name ="
PositiveMoneyAmount_Type ">
<
xs:simpleContent >
</
xs:simpleContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ProRataRateAdjustmentBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
ProRataRateAdjustmentBody_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
PurchaseInformation_Type
Abstract
no
XML Instance Representation
<...
simplifiedInvoice="xs :boolean [1] " >
<
vr :ReferenceNumber>
xs :token </
vr :ReferenceNumber>
[1] </...>
Schema Component Representation
<
xs:complexType name ="
PurchaseInformation_Type ">
<
xs:sequence >
<
xs:element name ="
ReferenceNumber "
type ="
xs :token"/>
</
xs:sequence >
<
xs:attribute name ="
simplifiedInvoice "
type ="
xs :boolean"
use ="
required "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
RecoveryInformation_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
RecoveryInformation_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
Schema Component Representation
<
xs:complexType name ="
Reference_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
RefundDecisionJustification_Type
Abstract
no
XML Instance Representation
<...>
<
vr :AdditionalInformation>
xs :string </
vr :AdditionalInformation>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
RefundDecisionJustification_Type ">
<
xs:sequence >
<
xs:element name ="
AdditionalInformation "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
RefundInformation_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
Schema Component Representation
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
Report_Type ">
<
xs:sequence >
<
xs:element name ="
Remark "
type ="
vr :Remark_Type "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
BaseTrader_Type
< Representative_Type (by extension)
Sub-types:
None
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
Representative_Type ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
xs :token < RepresentativeID_Type (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
RepresentativeID_Type ">
<
xs:simpleContent >
<
xs:extension base ="
xs :token">
<
xs:attribute name ="
otherQlf "
type ="
xs :token"
use ="
optional "/>
</
xs:extension >
</
xs:simpleContent >
</
xs:complexType >
Super-types:
xs :decimal <
SignedAmount_Type
(by restriction) < SignedMoneyAmount_Type (by extension)
Sub-types:
None
Name
SignedMoneyAmount_Type
Abstract
no
Documentation
An amount: a value with a currency
attribute
Schema Component Representation
<
xs:complexType name ="
SignedMoneyAmount_Type ">
<
xs:simpleContent >
</
xs:simpleContent >
</
xs:complexType >
Super-types:
xs :string < TextualDescription_Type (by extension)
Sub-types:
None
Name
TextualDescription_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
TextualDescription_Type ">
<
xs:simpleContent >
<
xs:extension base ="
xs :string">
</
xs:extension >
</
xs:simpleContent >
</
xs:complexType >
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
Trader_Type ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TransactionDescription_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
TransactionDescription_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TransactionReference_Type
Abstract
no
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
TransactionReference_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
vr :AdditionalInformation>
xs :string </
vr :AdditionalInformation>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
UpdateRefusal_Type ">
<
xs:sequence >
<
xs:element name ="
AdditionalInformation "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ValidationReportBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
ValidationReportBody_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
VATNumber_Type < VATNumber_Type (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
VATNumber_Type ">
<
xs:simpleContent >
</
xs:simpleContent >
</
xs:complexType >
Super-types:
VATNumberOrTIN_Type < VATNumberOrTIN_Type (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
VATNumberOrTIN_Type ">
<
xs:simpleContent >
</
xs:simpleContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
VATRefundApplicationBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
VATRefundApplicationBody_Type ">
<
xs:sequence >
<
xs:element name ="
ImportInformation "
type ="
vr :ImportInformation_Type "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:unique name ="
ImportGoodsDescription_Unique ">
<xs:selector xpath ="./vr:GoodsDescription "/>
<xs:field xpath ="vr:Code "/>
<xs:field xpath ="vr:SubCode "/>
</
xs:unique >
</
xs:element >
<
xs:element name ="
PurchaseInformation "
type ="
vr :PurchaseInformation_Type "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:unique name ="
PurchaseGoodsDescription_Unique ">
<xs:selector xpath ="./vr:GoodsDescription "/>
<xs:field xpath ="vr:Code "/>
<xs:field xpath ="vr:SubCode "/>
</
xs:unique >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
VATRefundDecisionBody_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
VATRefundDecisionBody_Type ">
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
disclose "
type ="
vr :Disclose_Type "
use ="
optional "
default ="
03 "/>
</
xs:complexType >
Super-types:
Reference_Type
< VersionedReference_Type (by extension)
Sub-types:
None
Name
VersionedReference_Type
Abstract
no
Schema Component Representation
<
xs:complexType name ="
VersionedReference_Type ">
<
xs:complexContent >
<
xs:extension base ="
vr :Reference_Type ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
xs :string < AccountName_Type (by restriction)
Sub-types:
None
Name
AccountName_Type
Content
pattern = [A-Za-z0-9/\-?:().,'+ ]*
length >= 1
Schema Component Representation
<
xs:simpleType name ="
AccountName_Type ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="70 "/>
<xs:minLength value ="1 "/>
<xs:pattern value ="[A-Za-z0-9/\-?:().,'+ ]* "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < AdjustmentDecision_Type (by restriction)
Sub-types:
None
Name
AdjustmentDecision_Type
Content
value comes from list: {'Accepted'|'Refused'}
Schema Component Representation
<
xs:simpleType name ="
AdjustmentDecision_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="Accepted "/>
<xs:enumeration value ="Refused "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :decimal < Amount_Type (by restriction)
Sub-types:
Name
Amount_Type
Content
value >= 0
no. of fraction digits = 2
Documentation
A positive decimal amount, resticted to two decimal
places
Schema Component Representation
<
xs:simpleType name ="
Amount_Type ">
<
xs:restriction base ="
xs :decimal">
<xs:fractionDigits value ="2 "/>
<xs:minInclusive value ="0 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < ApplicationNumber_Type (by restriction)
Sub-types:
None
Name
ApplicationNumber_Type
Content
pattern = (AT|BE|BG|CY|CZ|DE|DK|EE|EL|ES|FI|FR|GB|HU|IE|IT|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK){1}\p{IsBasicLatin}{0,16}
Schema Component Representation
<
xs:simpleType name ="
ApplicationNumber_Type ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="(AT|BE|BG|CY|CZ|DE|DK|EE|EL|ES|FI|FR|GB|HU|IE|IT|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK){1}\p{IsBasicLatin}{0,16} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < BankAccountOwnerType_Type (by restriction)
Sub-types:
None
Name
BankAccountOwnerType_Type
Content
value comes from list: {'applicant'|'representative'}
Schema Component Representation
<
xs:simpleType name ="
BankAccountOwnerType_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="applicant "/>
<xs:enumeration value ="representative "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < BIC_Type (by restriction)
Sub-types:
None
Name
BIC_Type
Content
pattern = [A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3}){0,1}
Documentation
Bank Identifer Code
Schema Component Representation
<
xs:simpleType name ="
BIC_Type ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3}){0,1} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < BusinessActivity_Type (by restriction)
Sub-types:
None
Name
BusinessActivity_Type
Content
Schema Component Representation
<
xs:simpleType name ="
BusinessActivity_Type ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="\d{4} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < CorrectionReason_Type (by restriction)
Sub-types:
None
Name
CorrectionReason_Type
Content
value comes from list: {'previous payment'|'penalty'|'NETP interest'|'MSREF interest'|'recovery'|'transfer of balance'|'bank fees'}
Schema Component Representation
<
xs:simpleType name ="
CorrectionReason_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="previous payment "/>
<xs:enumeration value ="penalty "/>
<xs:enumeration value ="NETP interest "/>
<xs:enumeration value ="MSREF interest "/>
<xs:enumeration value ="recovery "/>
<xs:enumeration value ="transfer of balance "/>
<xs:enumeration value ="bank fees "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < Disclose_Type (by restriction)
Sub-types:
None
Name
Disclose_Type
Content
value comes from list: {'01'|'02'|'03'}
Schema Component Representation
<
xs:simpleType name ="
Disclose_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="01 "/>
<xs:enumeration value ="02 "/>
<xs:enumeration value ="03 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < FileType_Type (by restriction)
Sub-types:
None
Name
FileType_Type
Content
value comes from list: {'application/pdf'|'image/jpeg'|'image/tiff'|'application/zip'}
Schema Component Representation
<
xs:simpleType name ="
FileType_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="application/pdf "/>
<xs:enumeration value ="image/jpeg "/>
<xs:enumeration value ="image/tiff "/>
<xs:enumeration value ="application/zip "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < MessageType_Type (by restriction)
Sub-types:
Name
MessageType_Type
Content
value comes from list: {'VATRefundApplication'|'ApplicationReceipt'|'VATRefundDecision'|'ProRataRateAdjustment'|'AdjustmentReceipt'|'AdjustmentResult'|'NETPNotification'}
Schema Component Representation
<
xs:simpleType name ="
MessageType_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="VATRefundApplication "/>
<xs:enumeration value ="ApplicationReceipt "/>
<xs:enumeration value ="VATRefundDecision "/>
<xs:enumeration value ="ProRataRateAdjustment "/>
<xs:enumeration value ="AdjustmentReceipt "/>
<xs:enumeration value ="AdjustmentResult "/>
<xs:enumeration value ="NETPNotification "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
cm :IBAN_Type
< MSIBAN_Type (by restriction)
Sub-types:
None
Name
MSIBAN_Type
Content
'IBAN_Type' super type was not found in this schema. Its facets could not be printed out.
pattern = (AT|BE|BG|CY|CZ|DE|DK|EE|GR|ES|FI|FR|GB|HU|IE|IT|LT|LU|LV|MC|MT|NL|PL|PT|RO|SE|SI|SK){1}.*
Schema Component Representation
<
xs:simpleType name ="
MSIBAN_Type ">
<
xs:restriction base ="
cm :IBAN_Type ">
<xs:pattern value ="(AT|BE|BG|CY|CZ|DE|DK|EE|GR|ES|FI|FR|GB|HU|IE|IT|LT|LU|LV|MC|MT|NL|PL|PT|RO|SE|SI|SK){1}.* "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string <
MessageType_Type
(by restriction) < NETPNotificationType_Type (by restriction)
Sub-types:
None
Name
NETPNotificationType_Type
Content
value comes from list: {'VATRefundApplication'|'ApplicationReceipt'|'VATRefundDecision'|'ProRataRateAdjustment'|'AdjustmentReceipt'|'AdjustmentResult'|'NETPNotification'}
value comes from list: {'ApplicationReceipt'|'VATRefundDecision'|'AdjustmentReceipt'|'AdjustmentResult'}
Schema Component Representation
<
xs:simpleType name ="
NETPNotificationType_Type ">
<
xs:restriction base ="
vr :MessageType_Type ">
<xs:enumeration value ="ApplicationReceipt "/>
<xs:enumeration value ="VATRefundDecision "/>
<xs:enumeration value ="AdjustmentReceipt "/>
<xs:enumeration value ="AdjustmentResult "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < OfficialCopyFileType_Type (by restriction)
Sub-types:
None
Name
OfficialCopyFileType_Type
Content
value comes from list: {'application/pdf'|'image/jpeg'|'image/tiff'|'application/zip'}
Schema Component Representation
<
xs:simpleType name ="
OfficialCopyFileType_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="application/pdf "/>
<xs:enumeration value ="image/jpeg "/>
<xs:enumeration value ="image/tiff "/>
<xs:enumeration value ="application/zip "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < PaymentInfo_Type (by restriction)
Sub-types:
None
Name
PaymentInfo_Type
Content
pattern = [A-Za-z0-9+\-\*/\s]{1,140}
length <= 140
Schema Component Representation
<
xs:simpleType name ="
PaymentInfo_Type ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="140 "/>
<xs:pattern value ="[A-Za-z0-9+\-\*/\s]{1,140} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < PaymentType_Type (by restriction)
Sub-types:
None
Name
PaymentType_Type
Content
value comes from list: {'Payment'|'Reimbursement'}
Schema Component Representation
<
xs:simpleType name ="
PaymentType_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="Payment "/>
<xs:enumeration value ="Reimbursement "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :decimal < ProRataRate_Type (by restriction)
Sub-types:
None
Name
ProRataRate_Type
Content
0.01 <= value <= 99.99
no. of fraction digits = 2
Schema Component Representation
<
xs:simpleType name ="
ProRataRate_Type ">
<
xs:restriction base ="
xs :decimal">
<xs:fractionDigits value ="2 "/>
<xs:minInclusive value ="0.01 "/>
<xs:maxInclusive value ="99.99 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < ProRataRateCorrection_Type (by restriction)
Sub-types:
None
Name
ProRataRateCorrection_Type
Content
Schema Component Representation
<
xs:simpleType name ="
ProRataRateCorrection_Type ">
<
xs:restriction base ="
xs :integer">
<xs:minInclusive value ="1 "/>
<xs:maxInclusive value ="100 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :token < ReferenceNumber_Type (by restriction)
Sub-types:
Name
ReferenceNumber_Type
Content
pattern = \p{IsBasicLatin}*
Schema Component Representation
<
xs:simpleType name ="
ReferenceNumber_Type ">
<
xs:restriction base ="
xs :token">
<xs:pattern value ="\p{IsBasicLatin}* "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :token <
ReferenceNumber_Type
(by restriction) < ReferenceNumber18_Type (by restriction)
Sub-types:
None
Name
ReferenceNumber18_Type
Content
pattern = \p{IsBasicLatin}*
Schema Component Representation
<
xs:simpleType name ="
ReferenceNumber18_Type ">
</
xs:simpleType >
Super-types:
xs :string < RefundDecision_Type (by restriction)
Sub-types:
None
Name
RefundDecision_Type
Content
value comes from list: {'Accepted'|'PartiallyAccepted'|'Refused'}
Schema Component Representation
<
xs:simpleType name ="
RefundDecision_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="Accepted "/>
<xs:enumeration value ="PartiallyAccepted "/>
<xs:enumeration value ="Refused "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < RepresentativeIDType_Type (by restriction)
Sub-types:
None
Name
RepresentativeIDType_Type
Content
value comes from list: {'NVAT'|'TIN'|'other'}
Schema Component Representation
<
xs:simpleType name ="
RepresentativeIDType_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="NVAT "/>
<xs:enumeration value ="TIN "/>
<xs:enumeration value ="other "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :date < RestrictedDate_Type (by restriction)
Sub-types:
None
Name
RestrictedDate_Type
Content
pattern = \d{4}-\d{2}-\d{2}
Schema Component Representation
<
xs:simpleType name ="
RestrictedDate_Type ">
<
xs:restriction base ="
xs :date">
<xs:pattern value ="\d{4}-\d{2}-\d{2} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :dateTime < RestrictedDateTime_Type (by restriction)
Sub-types:
None
Name
RestrictedDateTime_Type
Content
pattern = \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}
Schema Component Representation
<
xs:simpleType name ="
RestrictedDateTime_Type ">
<
xs:restriction base ="
xs :dateTime">
<xs:pattern value ="\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < SequenceNumber_Type (by restriction)
Sub-types:
None
Name
SequenceNumber_Type
Content
Schema Component Representation
<
xs:simpleType name ="
SequenceNumber_Type ">
<
xs:restriction base ="
xs :integer">
<xs:minInclusive value ="1 "/>
<xs:maxInclusive value ="999999 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :decimal < SignedAmount_Type (by restriction)
Sub-types:
Name
SignedAmount_Type
Content
no. of fraction digits = 2
Documentation
A decimal amount, resticted to two decimal
places
Schema Component Representation
<
xs:simpleType name ="
SignedAmount_Type ">
<
xs:restriction base ="
xs :decimal">
<xs:fractionDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < Status_Type (by restriction)
Sub-types:
None
Name
Status_Type
Content
value comes from list: {'accepted'|'rejected'|'warning'}
Schema Component Representation
<
xs:simpleType name ="
Status_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="accepted "/>
<xs:enumeration value ="rejected "/>
<xs:enumeration value ="warning "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < UpdateRefusalReasonCode_Type (by restriction)
Sub-types:
None
Name
UpdateRefusalReasonCode_Type
Content
value comes from list: {'01'|'02'|'03'|'04'|'05'|'99'}
Schema Component Representation
<
xs:simpleType name ="
UpdateRefusalReasonCode_Type ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="01 "/>
<xs:enumeration value ="02 "/>
<xs:enumeration value ="03 "/>
<xs:enumeration value ="04 "/>
<xs:enumeration value ="05 "/>
<xs:enumeration value ="99 "/>
</
xs:restriction >
</
xs:simpleType >
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.
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.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
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.)
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 .