-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathie871.xsd
125 lines (125 loc) · 6 KB
/
ie871.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ie="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:IE871:V3.13" xmlns:emcs="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:EMCS:V3.13" xmlns:tms="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:TMS:V3.13" xmlns:tcl="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:TCL:V3.13" xmlns:doc="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:DOC:V3.13" targetNamespace="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:IE871:V3.13" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.00">
<!--=========================================-->
<!--===== IE871:C_SHR_EXP -->
<!--===== EXPLANATION ON REASON FOR SHORTAGE -->
<!--=========================================-->
<!--===== Imports =====-->
<xs:import namespace="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:EMCS:V3.13" schemaLocation="types.xsd" />
<xs:import namespace="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:TMS:V3.13" schemaLocation="tms.xsd" />
<xs:import namespace="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:TCL:V3.13" schemaLocation="tcl.xsd" />
<xs:import namespace="urn:publicid:-:EC:DGTAXUD:EMCS:PHASE4:DOC:V3.13" schemaLocation="doc.xsd" />
<!--===== Root Element =====-->
<xs:element name="IE871" type="ie:IE871Type" />
<!--===== EMCS Data Groups Declarations =====-->
<xs:complexType name="IE871Type">
<xs:sequence>
<xs:element name="Header" type="tms:HeaderType" />
<xs:element name="Body" type="ie:BodyType" />
</xs:sequence>
</xs:complexType>
<!--===== IE Specific Data Groups Declarations =====-->
<xs:complexType name="BodyType">
<xs:sequence>
<xs:element name="ExplanationOnReasonForShortage" type="ie:ExplanationOnReasonForShortageType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ExplanationOnReasonForShortageType">
<xs:sequence>
<xs:element name="Attributes" type="ie:AttributesType" />
<xs:element name="ConsigneeTrader" type="ie:ConsigneeTraderType" minOccurs="0" />
<xs:element name="ExciseMovement" type="ie:ExciseMovementType" />
<xs:element name="ConsignorTrader" type="ie:ConsignorTraderType" minOccurs="0" />
<xs:element name="Analysis" type="ie:AnalysisType" minOccurs="0" />
<xs:element name="BodyAnalysis" type="ie:BodyAnalysisType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AttributesType">
<xs:sequence>
<xs:element name="SubmitterType" type="tcl:SubmitterType" />
<xs:element name="DateAndTimeOfValidationOfExplanationOnShortage" type="emcs:DateTimeType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ConsigneeTraderType">
<xs:annotation>
<xs:documentation>
<doc:description value="(CONSIGNEE) TRADER" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Traderid" type="emcs:TraderidType" minOccurs="0" />
<xs:element name="TraderName" type="emcs:TraderNameType" />
<xs:element name="StreetName" type="emcs:StreetNameType" />
<xs:element name="StreetNumber" type="emcs:StreetNumberType" minOccurs="0" />
<xs:element name="Postcode" type="emcs:PostcodeType" />
<xs:element name="City" type="emcs:CityType" />
<xs:element name="EoriNumber" type="emcs:EoriNumberType" minOccurs="0" />
</xs:sequence>
<xs:attribute name="language" type="emcs:LanguageCodeType" use="required" />
</xs:complexType>
<xs:complexType name="ExciseMovementType">
<xs:annotation>
<xs:documentation>
<doc:description value="EXCISE MOVEMENT" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="AdministrativeReferenceCode" type="emcs:AdministrativeReferenceCodeType" />
<xs:element name="SequenceNumber" type="emcs:SequenceNumberType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ConsignorTraderType">
<xs:annotation>
<xs:documentation>
<doc:description value="(CONSIGNOR) TRADER" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TraderExciseNumber" type="emcs:ExciseNumberType" />
<xs:element name="TraderName" type="emcs:TraderNameType" />
<xs:element name="StreetName" type="emcs:StreetNameType" />
<xs:element name="StreetNumber" type="emcs:StreetNumberType" minOccurs="0" />
<xs:element name="Postcode" type="emcs:PostcodeType" />
<xs:element name="City" type="emcs:CityType" />
</xs:sequence>
<xs:attribute name="language" type="emcs:LanguageCodeType" use="required" />
</xs:complexType>
<xs:complexType name="AnalysisType">
<xs:annotation>
<xs:documentation>
<doc:description value="ANALYSIS" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DateOfAnalysis" type="emcs:DateType" />
<xs:element name="GlobalExplanation" type="ie:LSDGlobalExplanationType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="BodyAnalysisType">
<xs:annotation>
<xs:documentation>
<doc:description value="(BODY) ANALYSIS" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ExciseProductCode" type="emcs:ExciseProductCodeType" />
<xs:element name="BodyRecordUniqueReference" type="emcs:BodyRecordUniqueReferenceType" />
<xs:element name="Explanation" type="ie:LSDExplanationType" />
<xs:element name="ActualQuantity" type="emcs:ActualQuantityType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="LSDExplanationType">
<xs:simpleContent>
<xs:extension base="emcs:ExplanationType">
<xs:attribute name="language" type="emcs:LanguageCodeType" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LSDGlobalExplanationType">
<xs:simpleContent>
<xs:extension base="emcs:GlobalExplanationType">
<xs:attribute name="language" type="emcs:LanguageCodeType" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>