-
Notifications
You must be signed in to change notification settings - Fork 3
/
ie839.xsd
173 lines (173 loc) · 7.9 KB
/
ie839.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?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:IE839: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:IE839:V3.13" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.00">
<!--=========================================-->
<!--===== IE839:C_CUS_REJ -->
<!--===== CUSTOMS REJECTION OF E-AD -->
<!--=========================================-->
<!--===== 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="IE839" type="ie:IE839Type" />
<!--===== EMCS Data Groups Declarations =====-->
<xs:complexType name="IE839Type">
<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="RefusalByCustoms" type="ie:RefusalByCustomsType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RefusalByCustomsType">
<xs:sequence>
<xs:element name="Attributes" type="ie:AttributesType" />
<xs:element name="ConsigneeTrader" type="ie:ConsigneeTraderType" />
<xs:element name="ExportPlaceCustomsOffice" type="ie:ExportPlaceCustomsOfficeType" minOccurs="0" />
<xs:element name="Rejection" type="ie:RejectionType" />
<xs:element name="ExportDeclarationInformation" type="ie:ExportDeclarationInformationType" minOccurs="0" />
<xs:element name="CEadVal" type="ie:CEadValType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="NEadSub" type="ie:NEadSubType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AttributesType">
<xs:sequence>
<xs:element name="DateAndTimeOfIssuance" type="emcs:DateTimeType" />
</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="ExportPlaceCustomsOfficeType">
<xs:annotation>
<xs:documentation>
<doc:description value="(EXPORT PLACE) CUSTOMS OFFICE" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ReferenceNumber" type="emcs:ExciseOfficeCodeType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RejectionType">
<xs:annotation>
<xs:documentation>
<doc:description value="REJECTION" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="RejectionDateAndTime" type="emcs:DateTimeType" />
<xs:element name="RejectionReasonCode" type="tcl:CustomsRejectionReasonCode" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ExportDeclarationInformationType">
<xs:annotation>
<xs:documentation>
<doc:description value="EXPORT DECLARATION INFORMATION" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LocalReferenceNumber" type="emcs:LocalReferenceNumberType" minOccurs="0" />
<xs:element name="DocumentReferenceNumber" type="emcs:DocumentReferenceNumberType" minOccurs="0" />
<xs:element name="NegativeCrosscheckValidationResults" type="ie:NegativeCrosscheckValidationResultsType" minOccurs="0" maxOccurs="99" />
<xs:element name="NNonDes" type="ie:NNonDesType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="NegativeCrosscheckValidationResultsType">
<xs:annotation>
<xs:documentation>
<doc:description value="NEGATIVE CROSS-CHECK VALIDATION RESULTS" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="UbrCrosscheckResult" type="ie:UbrCrosscheckResultType" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="UbrCrosscheckResultType">
<xs:annotation>
<xs:documentation>
<doc:description value="UBR CROSS-CHECK RESULT" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="AdministrativeReferenceCode" type="emcs:AdministrativeReferenceCodeType" />
<xs:element name="BodyRecordUniqueReference" type="emcs:BodyRecordUniqueReferenceType" />
<xs:element name="DiagnosisCode" type="tcl:DiagnosisCode" />
<xs:element name="ValidationResult" type="tcl:Flag" />
<xs:element name="RejectionReason" type="emcs:RejectionReasonType" minOccurs="0" />
<xs:element name="CombinedNomenclatureCodeCrosscheckResult" type="ie:CombinedNomenclatureCodeCrosscheckResultType" minOccurs="0" />
<xs:element name="NetMassCrosscheckResult" type="ie:NetMassCrosscheckResultType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CombinedNomenclatureCodeCrosscheckResultType">
<xs:annotation>
<xs:documentation>
<doc:description value="COMBINED NOMENCLATURE CODE CROSS-CHECK RESULT" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ValidationResult" type="tcl:Flag" />
<xs:element name="RejectionReason" type="emcs:RejectionReasonType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="NetMassCrosscheckResultType">
<xs:annotation>
<xs:documentation>
<doc:description value="NET MASS CROSS-CHECK RESULT" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ValidationResult" type="tcl:Flag" />
<xs:element name="RejectionReason" type="emcs:RejectionReasonType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="NNonDesType">
<xs:annotation>
<xs:documentation>
<doc:description value="N_NON_DES" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DocumentReferenceNumber" type="emcs:DocumentReferenceNumberType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CEadValType">
<xs:annotation>
<xs:documentation>
<doc:description value="C_EAD_VAL" />
</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="NEadSubType">
<xs:annotation>
<xs:documentation>
<doc:description value="N_EAD_SUB" />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LocalReferenceNumber" type="emcs:LocalReferenceNumberType" />
</xs:sequence>
</xs:complexType>
</xs:schema>