<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.mf.gov.pl/xsd/STATUS/IEP560.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ns1="http://www.mf.gov.pl/xsd/STATUS" targetNamespace="http://www.mf.gov.pl/xsd/STATUS/IEP560.xsd" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="1.00.000" vc:minVersion="1.1">
	<!--================================================================================-->
	<!--===== IE560: E_EXP_CTR                                                          -->
	<!--===== EXPORT CONTROL DECISION NOTIFICATION                                      -->
	<!--===== AES P1 Phase Definition                                                   -->
	<!--===== XSD Version 51.6.0                                                        -->
	<!--================================================================================-->
	<!--================================================================================-->
	<!--===== Imports                                                                   -->
	<!--================================================================================-->
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../xmldsig-core-schema.xsd"/>
	<xs:import namespace="http://www.mf.gov.pl/xsd/STATUS" schemaLocation="typeSTATUS.xsd"/>
	<xs:annotation>
		<xs:documentation source="doc" xml:lang="pl">Komunikat zawiera informacje o podjęciu przez funkcjonariusza celno-skarbowego decyzji o kontroli lub ponownej kontroli wniosku w urzędzie złożenia lub podczas przedstawienia towaru. Jest przekazywany zwrotnie podmiotowi zgłaszającemu. Powiadomienie o rozbieżnościach. Komunikat zawiera informacje o skorygowanych danych dokumentu podczas operacji edycji dokumentów.</xs:documentation>
		<xs:documentation source="doc" xml:lang="en">The message contains information about the decision on control by the customs officer
or the verification of the declaration at the office of departure. It is passed back the declaring entity.
Notification of discrepancies.
The message contains information about the corrected document data during document editing operations.</xs:documentation>
	</xs:annotation>
	<!--================================================================================-->
	<!--===== Root Element                                                              -->
	<!--================================================================================-->
	<xs:element name="IEP560" type="IEP560Type">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Komunikat zawiera informacje o podjęciu przez funkcjonariusza celno-skarbowego decyzji o kontroli lub ponownej kontroli wniosku w urzędzie złożenia lub podczas przedstawienia towaru. Jest przekazywany zwrotnie podmiotowi zgłaszającemu. Powiadomienie o rozbieżnościach. Komunikat zawiera informacje o skorygowanych danych dokumentu podczas operacji edycji dokumentów. </xs:documentation>
			<xs:documentation source="name" xml:lang="en">The message contains information about the decision on control by the customs officer
or the verification of the declaration at the office of departure. It is passed back
the declaring entity.
Notification of discrepancies.
The message contains information about the corrected document data during document editing operations.</xs:documentation>
		</xs:annotation>
	</xs:element>
	<!--================================================================================-->
	<!--===== Root Element Content                                                      -->
	<!--================================================================================-->
	<xs:complexType name="IEP560Type">
		<xs:sequence>
			<xs:group ref="ns1:MESSAGE_PL"/>
			
			<xs:element name="ProofInformationT2LT2LF" type="ns1:ExportOperationTypePOUS">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Operacja wywozowa.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Export operation.</xs:documentation>
					<xs:documentation>
						<description value="EXPORT OPERATION"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>

			<xs:element name="CustomsOfficeOfExport" type="ns1:CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny wywozu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Customs office of export.</xs:documentation>
					<xs:documentation source="deno">1702000000</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE OF EXPORT"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Declarant" type="ns1:ContactPersonType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Jeżeli kontrola dotyczy STW informacje dotyczą PersonRequestingProof. Jeżeli kontrola dotyczy STP informacje dotyczą PersonPresentingTheGoodsToCustoms.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">If the control concerns STW, the information concerns PersonRequestingProof. If the control concerns STP, the information concerns PersonPresentingTheGoodsToCustoms.</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
					<xs:documentation>
						<description value="DECLARANT"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="ns1:RepresentativeDataType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przedstawiciel</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Representative</xs:documentation>
					<xs:documentation source="deno">1306000000</xs:documentation>
					<xs:documentation>
						<description value="REPRESENTATIVE"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TypeOfControls" type="ns1:TypeOfControlsType01_UE" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Type of control</xs:documentation>
					<xs:documentation>
						<description value="TYPE OF CONTROLS"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestedDocument" type="ns1:RequestedDocumentType01_UE" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Prośba o dokumenty</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested document</xs:documentation>
					<xs:documentation>
						<description value="REQUESTED DOCUMENT"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NotificationOfDiscrepanciesDetected" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Powiadomienie o wykrytych rozbieżnościach. </xs:documentation>
					<xs:documentation source="name" xml:lang="en">Notification of discrepancies detected. </xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Discrepancies" type="ns1:DiscrepanciesType" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Rozbieżności</xs:documentation>
							</xs:annotation>
							<!--
							<xs:complexType>
								<xs:sequence>
									<xs:element name="DateAndTime-RregisterOfDdifference" type="xs:date" minOccurs="1">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Data i czas zarejestrowania rozbieżności. </xs:documentation>
											<xs:documentation source="doc" xml:lang="en">Date and time register of difference. </xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="AttributeInTheDocument" minOccurs="0">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Atrybut w dokumencie</xs:documentation>
											<xs:documentation source="doc" xml:lang="en">Attribute in the document.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="1024"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="ValueBeforeChange" minOccurs="1">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Wartość pola przed zmianą.</xs:documentation>
											<xs:documentation source="doc" xml:lang="en">The value of the field before the change.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="1024"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="ValueAfterChange" minOccurs="1">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Wartość pola po zmianie.</xs:documentation>
											<xs:documentation source="doc" xml:lang="en">The value of the field after the change.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="1024"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="AdditionalInformation" minOccurs="0">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Dodatkowe uwagi dla podmiotu zgłaszającego dotyczące rozbieżności </xs:documentation>
											<xs:documentation source="doc" xml:lang="en">Additional information.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="350"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
-->
						</xs:element> 
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="ds:Signature" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podpis</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Signature</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
