<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2021 rel. 3 (x64) (http://www.altova.com) by Wieslaw Wozniak (Asseco Poland SA) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://www.mf.gov.pl/xsd/STATUS" xmlns:xml="http://www.w3.org/XML/1998/namespace" targetNamespace="http://www.mf.gov.pl/xsd/STATUS" elementFormDefault="unqualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
	<!--============================================================================-->
	<!--============================================================================-->
	<!--===== complexTypes e-STATUS                                                 -->
	<!--============================================================================-->
	<!--============================================================================-->
	<!--===== CentralProofInformationForT2LT2LFType                                 -->
	<!--============================================================================-->
	<xs:complexType name="EndorsementRegistrationRequestType">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer określony na poziomie krajowym i nadany przez zgłaszającego w porozumieniu z właściwymi organami w celu identyfikacji każdego dokumentu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number. Message number defined at national level to identify each electronic document. Number is assigned by the Declarant.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="ProofInformationT2LT2LF" type="ProofInformationT2LT2LFType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o wniosku T2L/T2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--==============================================================-->
	<!--============= Message Header Definition for polish CC messeges-->
	<!--==============================================================-->
	<xs:group name="MESSAGE_PL">
		<xs:annotation>
			<xs:documentation>Used by polish messages</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="messageSender">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="messageSender" value="Message sender"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Nadawca komunikatu. W przypadku, gdy nadawcą komunikatu jest system AES/PoUS atrybut "messageSender" zawierać będzie wartość „NECA.PL”. W przypadku, gdy nadawcą komunikatu jest Podmiot, należy podać nr EORI Podmiotu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Message sender. If the sender of the message is AES/PoUS system, the messageSender attribute will contain the value "NECA.PL". If the sender of the message is an Entity, the EORI number of the Entity should be provided.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="messageSenderContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="messageRecipient">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="messageRecipient" value="Message recipient"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Odbiorca komunikatu. W przypadku, gdy odbiorcą komunikatu jest system AES/PoUS atrybut messageRecipient zawierać będzie wartość „NECA.PL”. W przypadku, gdy odbiorcą komunikatu jest Podmiot, podawany będzie nr EORI Podmiotu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Message recipient. If the recipient of the message is the AES/PoUS system, the messageRecipient attribute should contain the value "NECA.PL". If the recipient of the message is an Entity, the Entity's EORI number will be provided.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="messageRecipientContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="preparationDateAndTime" type="preparationDateAndTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="preparationDateAndTime" value="Preparation date and time"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Data i czas utworzenia komunikatu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Preparation date and time</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="messageIdentification">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="messageIdentification" value="Message identification"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator komunikatu - numer własny komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Message identifier - the message's own number</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="messageIdentificationContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="messageType" minOccurs="1">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="" value="Message type"/>
						<codeList code="CL060POUS" type="business" name="messageType"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Typ komunikatu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Message type</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="messageType">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="correlationIdentifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="" value="Correlation identifier"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator korelacji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Correlation identifier</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="CorrelationIdentifierContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<!--xs:element name="MessageExpirationTimestamp" type="MessageExpirationTimestampType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="MessageExpirationTimestamp" value="Message Expiration Timestamp"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Znacznik czasu wygaśnięcia komunikatu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Message Expiration Timestamp</xs:documentation>
				</xs:annotation>
			</xs:element-->
			<!--xs:element name="RequestCoD" type="xs:boolean" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="RequestCoD" value="Request CoD"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Znacznik zapytania z Urzędu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Message Expiration Timestamp</xs:documentation>
				</xs:annotation>
			</xs:element-->
			<xs:element name="operatorEmail" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="operatorEmail" value="OperatorEmail"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Adres poczty elektronicznej.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Electronic mail address. See „Distribution list of messages” chapter.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="operatorEmailContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="256"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="officeIdentifier" type="officeIdentifierContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description xmlns="officeIdentifier" value="office identifier"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator placówki podmiotu. Atrybut używany jest do identyfikacji placówki
podmiotu przy wysyłaniu i odbieraniu komunikatów poprzez interfejs niewizualny.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader's office identification. Attribute is used to identify the trader to send and
receive messages by non-visual interface.
</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:group>
	<!--============================================================================-->
	<!--===== CentralProofInformationForT2LT2LFType                                 -->
	<!--============================================================================-->
	<xs:complexType name="CentralProofInformationForT2LT2LFType">
		<xs:annotation>
			<xs:documentation>Definiuje szczegółowe informacje o potwierdzeniu unijnego statusu w zakresie danych dla T2L(F).</xs:documentation>
			<xs:documentation source="name" xml:lang="pl">Centralne informacje o dowodzie dla T2LT2LF</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Central proof information for T2LT2LF.</xs:documentation>
			<xs:documentation>
				<usedBy>Used by IEP01</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Boolean" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Results control code.</xs:documentation>
					<xs:documentation>
						<description value="Code"/>
						<codeList code="CL391" type="business" name="Controlresultcoderel"/>
						<format value="an2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CountryCode" type="CountryCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod kraju.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Country code.</xs:documentation>
					<xs:documentation>
						<description value="Code"/>
						<codeList code="CL008" type="business" name="CountryCode"/>
						<format value="a2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
						<xsdBaseType value="MRNType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--============================================================================-->
	<!--===== ProofInformationT2LT2LFType                                 -->
	<!--============================================================================-->
	<xs:complexType name="ProofInformationT2LT2LFType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje o dowodzie T2LT2LF</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<!--xs:element name="RetrospectiveIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy wniosek jest złożony retrospektywnie. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Indicator indicating whether the application is submitted retrospectively. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
			<xs:element name="DeclarationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation source="deno">1101001000</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="DeclarationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<!--
			<xs:element name="RequestedValidityOfTheProof" type="RequestedValidityOfTheProofType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wnioskowany termin ważności dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested Validity of the proof.</xs:documentation>
					<xs:documentation>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element> -->
			<xs:element name="RequestType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Request type</xs:documentation>
					<xs:documentation>
						<format value="n2"/>
						<optionality value="R"/>
						<codeList code="CL621POUS" type="business" name="RequestType"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="RequestTypeContentType">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DeclarationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data deklaracji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration date.</xs:documentation>
					<xs:documentation source="deno">1506001000</xs:documentation>
					<xs:documentation>
						<description value="Declaration acceptance date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGrossMassKg" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1803001000</xs:documentation>
					<xs:documentation>
						<description value="Total gross mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="MassContentType">
						<xs:fractionDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<!--
			<xs:element name="TotalNumberOfItems" type="TotalNumberOfItemsContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba pozycji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total numbers od items.</xs:documentation>
					<xs:documentation source="deno">1/9</xs:documentation>
					<xs:documentation>
						<description value="Total numbers od items"/>
						<format value="n..5"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="TotalPackages" type="TotalPackagesContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Całkowita liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total number of packages.</xs:documentation>
					<xs:documentation source="deno">1806004000</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny złożenia wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Competent customs office.</xs:documentation>
					<xs:documentation source="deno">1615047000</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE"/>
						<optionality value="D"/>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOffices"/>
						<format value="an8"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumberOfDays" type="NumberOfDaysContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba dni ważności dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of days of validity of the endorsement.</xs:documentation>
					<xs:documentation source="deno">1507001000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uzasadnienie. Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Justification. Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
					<xs:documentation source="deno">1212000000</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podmiot wnioskujący o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting Proof.</xs:documentation>
					<xs:documentation source="deno">1318000000</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingGoodsToCustoms" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="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:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<!--xs:element name="AssignedTo" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego są przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaskDueDate" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RequestedValidityOfTheProofType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Wnioskowany termin ważności dowodu</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Requested Validity of the proof.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="NumberOfDays" type="NumberOfDaysContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba dni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of days.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wymagane uzasadnienie w przypadku, przedłużenia wnioskowanego okresu ważności.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">This defines the required justification in case of extended requested validity period.</xs:documentation>
					<xs:documentation>
                        This defines the required justification in case of extended requested validity period (i.e. >90 days).
                    </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AuthorisationType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
			<xs:documentation source="deno">1212000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TypeOfAuthorisation">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj pozwolenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation type.</xs:documentation>
					<xs:documentation source="deno">1212002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL605POUS" type="business" name="Authorisationtype"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TypeOfAuthorisationContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DecisionReferenceNumber" type="AuthorisationNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozwolenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of authorisation.</xs:documentation>
					<xs:documentation source="deno">1212077000</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<format value="an..35"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HolderOfAuthorisationIdentificationNumber" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ContactPersonType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Osoba do kontaktu</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Contact person</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="IdentificationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj identyfikatora Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader identification type.</xs:documentation>
					<xs:documentation source="deno">1615074000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<format value="an5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TraderIdentificationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="IdentificationNumber" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1318017000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EoNameAndAddress" type="EoNameAndAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba do kontaktu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Contact person information.</xs:documentation>
					<xs:documentation source="deno">1615074000</xs:documentation>
					<xs:documentation>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EoNameAndAddressType">
		<xs:sequence>
			<xs:element name="Name" type="TraderNameContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Imię i nazwisko osoby do kontaktu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Name</xs:documentation>
					<xs:documentation source="deno">1312074016</xs:documentation>
					<xs:documentation>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Adres</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Address</xs:documentation>
					<xs:documentation>
						<description value="ADDRESS"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EoContactPerson" type="EoContactPersonType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Szczegóły dotyczące komunikacji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Communication details</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EoContactPersonType">
		<xs:sequence>
			<xs:element name="Name" type="NameContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Imię i nazwisko</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Name</xs:documentation>
					<xs:documentation source="deno">1312074016</xs:documentation>
					<xs:documentation>
						<description value="Name"/>
						<format value="an..70"/>
						<optionality value="R"/>
						<xsdBaseType value="NameType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Email" type="operatorEmailContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Adres e-mail</xs:documentation>
					<xs:documentation source="name" xml:lang="en">E-mail</xs:documentation>
					<xs:documentation source="deno">1312074076</xs:documentation>
					<xs:documentation>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="phoneNumber" type="PhoneNumberType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer telefonu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Phone number.</xs:documentation>
					<xs:documentation source="deno">1312074075</xs:documentation>
					<xs:documentation>
						<description value="Phone number"/>
						<format value="an..35"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RepresentativeNameAndAddressType">
		<xs:sequence>
			<xs:element name="Name" type="TraderNameContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Imię i nazwisko osoby do kontaktu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Name</xs:documentation>
					<xs:documentation>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Adres</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Address</xs:documentation>
					<xs:documentation>
						<description value="ADDRESS"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeContactPerson" type="EoContactPersonType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Szczegóły dotyczące komunikacji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Communication details</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ContactPersonTypeAEO">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Osoba do kontaktu</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Contact person</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="IdentificationType" type="TraderIdentificationTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj identyfikatora Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader identification type.</xs:documentation>
					<xs:documentation source="deno">1615074000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<!--
						<codeList code="CL358" type="business" name="identyfikationType"/>
						-->
						<format value="an5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IdentificationNumber" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EoNameAndAddress" type="EoNameAndAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba do kontaktu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Contact person information.</xs:documentation>
					<xs:documentation source="deno">1615074000</xs:documentation>
					<xs:documentation>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Aeo" type="AeoType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Numer AEO.</xs:documentation>
					<xs:documentation source="doc" xml:lang="en">AEO number.</xs:documentation>
					<xs:documentation source="box"/>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RepresentativeDataType">
		<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:annotation>
		<xs:sequence>
			<xs:element name="IdentificationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj identyfikatora Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader identification type.</xs:documentation>
					<xs:documentation source="deno">1615074000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<format value="an5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TraderIdentificationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="IdentificationNumber" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1306017000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="status">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod statusu przedstawicielstwa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Status code.</xs:documentation>
					<xs:documentation source="deno">1306030000</xs:documentation>
					<xs:documentation>
						<description value="Status"/>
						<codeList code="CL094POUS" type="business" name="RepresentativeStatusCode"/>
						<format value="n1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="StatusContentType02">
						<xs:length value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RepresentativeNameAndAddress" type="RepresentativeNameAndAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o Podmiocie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Representative name and address</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RepresentativeDataTypeAEO">
		<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:annotation>
		<xs:sequence>
			<xs:element name="IdentificationNumber" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="status">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod statusu przedstawicielstwa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Status code.</xs:documentation>
					<xs:documentation source="deno">1306030000</xs:documentation>
					<xs:documentation>
						<description value="Status"/>
						<codeList code="CL094" type="business" name="RepresentativeStatusCode"/>
						<format value="n1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="StatusContentType02">
						<xs:length value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RepresentativeNameAndAddress" type="RepresentativeNameAndAddressType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o Podmiocie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">"Economic operator information"</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Aeo" type="AeoType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Numer AEO.</xs:documentation>
					<xs:documentation source="doc" xml:lang="en">AEO number.</xs:documentation>
					<xs:documentation source="box"/>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsShipmentForT2LT2LFType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ContainerIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kontener</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Container indicator.</xs:documentation>
					<xs:documentation source="deno">1901001000</xs:documentation>
					<xs:documentation>
						<description value="Container indicator"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
						<format value="n1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportEquipment" type="TransportEquipmentType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Transport szczegóły</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport equipment.</xs:documentation>
					<xs:documentation source="deno">1907000000</xs:documentation>
					<xs:documentation>
						<description value="TRANSPORT EQUIPMENT"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument poprzedni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Previous document</xs:documentation>
					<xs:documentation source="deno">1201000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL214" type="business" name="PreviousDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213" type="business" name="SupportingDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument transportowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport document</xs:documentation>
					<xs:documentation source="deno">1205000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL014" type="business" name="SupportingDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalReference" type="AdditionalReferenceType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
					<xs:documentation source="deno">1204000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalInformation" type="AdditionalInformationType" minOccurs="0" maxOccurs="2">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information.</xs:documentation>
					<xs:documentation source="deno">1202000000</xs:documentation>
					<xs:documentation>
						<description value="ADDITIONAL INFORMATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalInformationPL" type="AdditionalInformationPLType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa, zawierająca kody krajowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information including country codes</xs:documentation>
					<xs:documentation source="deno">1202000000</xs:documentation>
					<xs:documentation>
						<description value="ADDITIONAL INFORMATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation>
						<description value="LOCATION OF GOODS"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsItemForT2LT2LF" type="GoodsItemForT2LT2LFType" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozycja towarowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item.</xs:documentation>
					<xs:documentation source="deno">1103000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="JustificationFreeTextType">
		<xs:sequence>
			<xs:element name="FreeText" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Language" type="LanguageCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Język</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Language</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TransportEquipmentType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Transport szczegóły</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Transport equipment.</xs:documentation>
			<xs:documentation source="deno">1907000000</xs:documentation>
			<xs:documentation>
				<description value="TRANSPORT EQUIPMENT"/>
				<optionality value="D"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ContainerIdentificationNumber" type="ContainerIdentificationNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer kontenera</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Container identification number. </xs:documentation>
					<xs:documentation source="deno">1907063000</xs:documentation>
					<xs:documentation>
						<description value="Container identification number"/>
						<format value="an..17"/>
						<optionality value="R"/>
						<xsdBaseType value="ContainerIdentificationNumber"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsReference" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskazanie na pozycję towarową</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods reference.</xs:documentation>
					<xs:documentation source="deno">1907044000</xs:documentation>
					<xs:documentation>
						<description value="GOODS REFERENCE"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DocumentType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Rodzaj dokumentu</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
			<xs:documentation>
				<description value="Type"/>
				<!--<codeList code="CL213, CL214, CL754" type="business" name="SupportingDocumentType"/>-->
				<format value="an4"/>
				<optionality value="R"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<!--
			<xs:element name="DocumentId" type="UUIDContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document Id</xs:documentation>
					<xs:documentation source="deno">1204002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="ReferenceNumber" type="DocumentReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Reference number.</xs:documentation>
					<xs:documentation source="deno">1201001000</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<format value="an..70"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Type">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaju dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213POUS, CL214POUS, CL754POUS" type="business" name="DocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="DocumentTypeContentType">
						<xs:length value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<!--			
			<xs:element name="Date" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IsApplicable" type="BooleanContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Ma zastosowanie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Is applicable</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uzasadnienie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Justification</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomsOfficer" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego jest przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Attachment" type="AttachmentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Załączniki</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Attachment</xs:documentation>
				</xs:annotation>
			</xs:element> 
-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AdditionalReferenceType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
			<xs:documentation source="deno">1204000000</xs:documentation>
			<xs:documentation>
				<description value="Type"/>
				<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
				<format value="an4"/>
				<optionality value="R"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ReferenceNumber" type="DocumentReferenceContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Reference number.</xs:documentation>
					<xs:documentation source="deno">1204001000</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<format value="an..70"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Type" type="DocumentTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaju dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation source="deno">1204002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380POUS" type="business" name="DocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AdditionalInformationType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Additional information</xs:documentation>
			<xs:documentation source="deno">1202000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba porządkowa służąca do określenia pozycji w danej kolekcji danych.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The number used to identify the position in a given data collection.</xs:documentation>
					<xs:documentation>
						<description value="Sequence number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="SequenceNumberContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="code">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information code.</xs:documentation>
					<xs:documentation source="deno">1202008000</xs:documentation>
					<xs:documentation>
						<description value="Code"/>
						<codeList code="CL239POUS" type="business" name="Additionalinformation"/>
						<format value="an5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="CodeContentType02">
						<xs:length value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Tekst</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text detailing the code of additional information.</xs:documentation>
					<xs:documentation source="deno">1202009000</xs:documentation>
					<xs:documentation>
						<description value="Text"/>
						<format value="an..512"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AdditionalInformationPLType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Additional information</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Kod">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information code.</xs:documentation>
					<xs:documentation>
						<description value="Code"/>
						<codeList code="CL239POUS" type="business" name="Additionalinformation"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="CodeContentType04">
						<xs:minLength value="4"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Opis" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Tekst</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text detailing the code of additional information.</xs:documentation>
					<xs:documentation>
						<description value="Text"/>
						<format value="an..512"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>	
	
	<xs:complexType name="LocationOfGoodsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TypeOfLocation">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation source="deno">1615045000</xs:documentation>
					<xs:documentation>
						<description value="Type of location"/>
						<codeList code="CL347POUS" type="business" name="TypeOfLocation"/>
						<format value="an1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TypeOfLocationContentType">
						<xs:length value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="QualifierOfIdentification">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ lokalizacji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Qualifier of identification.</xs:documentation>
					<xs:documentation source="deno">1615046000</xs:documentation>
					<xs:documentation>
						<description value="Qualifier of identification"/>
						<codeList code="CL326POUS" type="business" name="QualifierOfTheIdentification"/>
						<format value="an1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="QualifierOfIdentificationContentType">
						<xs:length value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PostcodeAddress" type="PostcodeAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
                        This defines the postcode address where the presented goods are located in case the qualifier of identification of the location is "T – Postcode address".
                    </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UNLocode" type="UNLocodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">UN/LOCODE</xs:documentation>
					<xs:documentation source="name" xml:lang="en">UN/LOCODE</xs:documentation>
					<xs:documentation source="deno">1615036000</xs:documentation>
					<xs:documentation>
						<description value="UN LOCODE"/>
						<codeList code="CL144POUS" type="business" name="Unlocodeextended"/>
						<format value="an..17"/>
						<optionality value="D"/>
					</xs:documentation>
					<xs:documentation>
                        This defines the UN/LOCODE where the presented goods are located, in case the qualifier of identification of the location is "U – UN/LOCODE".
                    </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomsOffice" type="CustomsOfficeReferenceNumberContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Customs office.</xs:documentation>
					<xs:documentation source="deno">1615047000</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE"/>
						<optionality value="D"/>
					</xs:documentation>
					<xs:documentation>
                        This defines the Customs Office where the presented goods are located, in case the qualifier of identification of the location is "V – Customs office".
                    </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GNSSCoordinates" type="GNSSCoordinatesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
                        This defines the GNSS coordinates where the presented goods are located, in case the qualifier of identification of the location is "W – GNSS coordination".
                    </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EconomicOperator" type="TraderIdentificationContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu. Określa Podmiot związany z lokalizacją przedstawionego towaru, w przypadku, gdy kwalifikatorem identyfikacji lokalizacji jest „X – numer EORI”.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier - defines the EO related to the location of the presented goods, in case the qualifier of identification of the location is "X – EORI number".
</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AuthorisationNumber" type="AuthorisationNumberContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozwolenia związany z lokalizacją prezentowanego towaru, w przypadku, gdy kwalifikatorem identyfikacji lokalizacji jest „Y – Numer Autoryzacji”.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation Number. This number defines the Authorisation number related to the location of the presented goods, in case the qualifier of identification of the location is "Y – Authorisation number".</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalIdentifier" type="LocationOfGoodsAdditionalIdentifierContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowy identyfikator związany z lokalizacją prezentowanego towaru, w przypadku, gdy kwalifikatorem identyfikacji lokalizacji jest „X – numer EORI” lub „Y – numer autoryzacji”.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional identifier related to the location of the presented goods,
                        in case the qualifier of identification of the location is "X – EORI number" or "Y – Authorisation number".
</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Adres, pod którym znajduje się prezentowany towar, w przypadku, gdy kwalifikatorem identyfikacji lokalizacji jest „Z – Adres”.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Address where the presented goods are located, in case the qualifier of identification of the location is "Z – Address".</xs:documentation>
					<xs:documentation>
                        This defines the address where the presented goods are located, in case the qualifier of identification of the location is "Z – Address".
                    </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsItemForT2LT2LFType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Pozycja towarowa</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods item.</xs:documentation>
			<xs:documentation>
				<description value="Declaration goods item number"/>
				<format value="n..5"/>
				<optionality value="R"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodsItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number.</xs:documentation>
					<xs:documentation source="deno">1103001000</xs:documentation>
					<xs:documentation>
						<description value="Declaration goods item number"/>
						<format value="n..3"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DescriptionOfGoods" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text</xs:documentation>
					<xs:documentation source="deno">1805000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CusCode" type="CUSCodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod CUS</xs:documentation>
					<xs:documentation source="name" xml:lang="en">CUS code.</xs:documentation>
					<xs:documentation source="deno">1808001000</xs:documentation>
					<xs:documentation>
						<description value="CUS code"/>
						<codeList code="CL016POUS" type="business" name="CusCode"/>
						<format value="an9"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Commodity" type="CommodityCodeType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod towarowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Commodity code.</xs:documentation>
					<xs:documentation source="deno">1809000000</xs:documentation>
					<xs:documentation>
						<description value="COMMODITY CODE"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsMeasure" type="GoodsMeasureType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Towar - szczegóły dot. ilości</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods measure.</xs:documentation>
					<xs:documentation>
						<description value="GOODS MEASURE"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Packaging" type="PackagingType" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opakowanie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Packaging.</xs:documentation>
					<xs:documentation source="deno">1806000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument poprzedni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Previous document</xs:documentation>
					<xs:documentation source="deno">1201000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL214" type="business" name="PreviousDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213" type="business" name="SupportingDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalReference" type="AdditionalReferenceType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
					<xs:documentation source="deno">1204002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalInformation" type="AdditionalInformationType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information.</xs:documentation>
					<xs:documentation source="deno">1202000000</xs:documentation>
					<xs:documentation>
						<description value="ADDITIONAL INFORMATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AddressType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Adres nadawcy</xs:documentation>
			<xs:documentation source="name" xml:lang="en">The consignor's address</xs:documentation>
			<xs:documentation>
				<description value="ADDRESS"/>
				<optionality value="R"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="StreetAndNumber" type="StreetAndNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Ulica, numer budynku i lokalu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Street and number</xs:documentation>
					<xs:documentation>
						<description value="Street and number"/>
						<format value="an..70"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Country" type="CountryCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod kraju</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Country code</xs:documentation>
					<xs:documentation>
						<description value="Country"/>
						<codeList code="CL008POUS" type="business" name="CountryCodesWithAddress"/>
						<format value="a2"/>
						<optionality value="R"/>
						<xsdBaseType value="CountryCodeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Postcode" type="PostcodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod pocztowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Post code</xs:documentation>
					<xs:documentation>
						<description value="Postcode"/>
						<format value="an..17"/>
						<optionality value="R"/>
						<xsdBaseType value="PostalCodeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="City" type="CityContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Miejscowość</xs:documentation>
					<xs:documentation source="name" xml:lang="en">City</xs:documentation>
					<xs:documentation>
						<description value="City"/>
						<format value="an..35"/>
						<optionality value="R"/>
						<xsdBaseType value="CityType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CommunicationDetailsType">
		<xs:sequence>
			<xs:element name="Identifier" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Szczegóły dotyczące kontaktu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Identifier</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Type">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj komunikacji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Type</xs:documentation>
					<xs:documentation>
						<codeList code="CL358" type="business" name="ClTypeofidentificationofmeansoftransport"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="CommunicationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AttachmentType">
		<xs:sequence>
			<xs:element name="Identification" type="BinaryFileIdentificationContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Id</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Filename" type="FreeText256ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Nazwa pliku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">File name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FileMimeType" type="MimeContentType" minOccurs="0"/>
			<xs:element name="Description" type="FreeText256ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opis.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Description. Text</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PostcodeAddressType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Adres pocztowy</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Post code address</xs:documentation>
			<xs:documentation source="deno">1615081000</xs:documentation>
			<xs:documentation>
				<description value="POSTCODE ADDRESS"/>
				<optionality value="D"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Postcode" type="PostcodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod pocztowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Post code</xs:documentation>
					<xs:documentation source="deno">1615081021</xs:documentation>
					<xs:documentation>
						<description value="Postcode"/>
						<format value="an..17"/>
						<optionality value="R"/>
						<xsdBaseType value="PostalCodeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HouseNumber" type="HouseNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer budynku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">House number.</xs:documentation>
					<xs:documentation source="deno">1615081025</xs:documentation>
					<xs:documentation>
						<description value="House number"/>
						<format value="an..17"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Country" type="CountryCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod kraju</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Country code.</xs:documentation>
					<xs:documentation source="deno">1615081020</xs:documentation>
					<xs:documentation>
						<description value="Country"/>
						<codeList code="CL190POUS" type="business" name="Countryaddresspostcodebased"/>
						<format value="a2"/>
						<optionality value="R"/>
						<xsdBaseType value="CountryCodeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GNSSCoordinatesType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">GPS</xs:documentation>
			<xs:documentation source="name" xml:lang="en">GPS.</xs:documentation>
			<xs:documentation source="deno">1615048000</xs:documentation>
			<xs:documentation>
				<description value="GNSS"/>
				<optionality value="D"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Latitude" type="CoordinateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Szerokość geograficzna. Należy podać współrzędne GPS wyrażone w stopniach dziesiętnych. Dla półkuli południowej należy podać wartości ujemne.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Latitude.</xs:documentation>
					<xs:documentation source="deno">1615048049</xs:documentation>
					<xs:documentation>
						<description value="Latitude"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Longitude" type="CoordinateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Długość geograficzna. Należy podać współrzędne GPS wyrażone w stopniach dziesiętnych. Dla półkuli zachodniej należy podać wartości ujemne.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Longitude.</xs:documentation>
					<xs:documentation source="deno">1615048050</xs:documentation>
					<xs:documentation>
						<description value="Longitude"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CommodityCodeType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Kod towarowy</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Commodity code.</xs:documentation>
			<xs:documentation source="deno">1809056000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="HarmonizedSystemSubHeadingCode" type="HarmonizedSystemSubHeadingCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod towarowy HS</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Harmonized System sub-heading code.</xs:documentation>
					<xs:documentation source="deno">1809056000</xs:documentation>
					<xs:documentation>
						<description value="Harmonized System sub-heading code"/>
						<format value="an6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CombinedNomenclatureCode" type="CombinedNomenclatureCodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rozszerzenie kodu HS o Nomenklaturę Scaloną.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Extension of the Harmonized System code with the Combined Nomenclature code.</xs:documentation>
					<xs:documentation source="deno">1809057000</xs:documentation>
					<xs:documentation>
						<description value="Combined nomenclature code"/>
						<format value="an2"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsMeasureType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Towar - szczegóły dot. ilości</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods measure.</xs:documentation>
			<xs:documentation>
				<description value="GOODS MEASURE"/>
				<optionality value="R"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GrossMass" type="MassContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Gross mass.</xs:documentation>
					<xs:documentation source="deno">1804001000</xs:documentation>
					<xs:documentation>
						<description value="Gross mass"/>
						<format value="n..16,6"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NetMass" type="MassContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa netto</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Net mass.</xs:documentation>
					<xs:documentation source="deno">1801001000</xs:documentation>
					<xs:documentation>
						<description value="Net mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PackagingType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Opakowanie</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Packaging.</xs:documentation>
			<xs:documentation source="deno">1806000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ShippingMarks" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Oznaczenia przesyłek. Należy podać numery i znaki opakowań.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Package numbers and marks should be provided.</xs:documentation>
					<xs:documentation source="deno">1806054000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumberOfPackages" type="NumberOfPackagesContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of packages.</xs:documentation>
					<xs:documentation source="deno">1806054000</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TypeOfPackages">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Type of packages.</xs:documentation>
					<xs:documentation>
						<description value="Type of packages"/>
						<codeList code="CL017POUS" type="business" name="KindOfPackages"/>
						<format value="an2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TypeOfPackagesContentType">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RiskAnalysisConsultationType">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofInformationForRiskAnalysis" type="ProofInformationForRiskAnalysisType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje dotyczące analizy ryzyka dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof iInformation for risk analysis.</xs:documentation>
					<xs:documentation>
						<description value="Type of packages"/>
						<codeList code="CL017" type="business" name="KindOfPackages"/>
						<format value="an2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProofInformationForRiskAnalysisType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje dotyczące analizy ryzyka dowodu.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Proof iInformation for risk analysis.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RetrospectiveIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy wniosek jest złożony retrospektywnie. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Indicator indicating whether the application is submitted retrospectively. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeclarationType" type="DeclarationTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestedValidityOfTheProof" type="RequestedValidityOfTheProofType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wnioskowany termin ważności dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested Validity of the proof.</xs:documentation>
					<xs:documentation>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1804000000</xs:documentation>
					<xs:documentation>
						<description value="RequestType"/>
						<codeList code="CL621" type="business" name="RequestType"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="RequestTypeContentType">
						<xs:maxInclusive value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DeclarationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGrossMassKg" type="MassContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1804000000</xs:documentation>
					<xs:documentation>
						<description value="Total gross mass"/>
						<format value="n..16,6"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalNumberOfItems" type="TotalNumberOfItemsContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba pozycji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total numbers od items.</xs:documentation>
					<xs:documentation source="deno">1/9</xs:documentation>
					<xs:documentation>
						<description value="Total numbers od items"/>
						<format value="n..5"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalPackages" type="TotalPackagesContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of packages.</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
					<xs:documentation source="deno">1212000000</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba do kontaktu po stronie osoby wnioskującej o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Contact person from person requesting proof side.</xs:documentation>
					<xs:documentation source="deno">3/43</xs:documentation>
					<xs:documentation>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingGoodsToCustoms" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer identyfikacyjny osoby przedstawiającej towar w urzędzie przedstawienia.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Identification number of person presenting goods to Customs.</xs:documentation>
					<xs:documentation source="deno">1702001000</xs:documentation>
					<xs:documentation>
						<description value="PersonPresentingGoodsToCustoms"/>
						<codeList code="CL141" type="business" name="PersonPresentingGoodsToCustoms"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="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:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod urzędu celnego</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of customs office.</xs:documentation>
					<xs:documentation source="deno">1702001000</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOffices"/>
						<format value="an8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFForRiskAnalysisType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status..</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsShipmentForT2LT2LFForRiskAnalysisType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ContainerIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kontener</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Container indicator.</xs:documentation>
					<xs:documentation source="deno">1901000000</xs:documentation>
					<xs:documentation>
						<description value="Container indicator"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
						<format value="n1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportEquipment" type="TransportEquipmentType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Transport szczegóły</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport equipment.</xs:documentation>
					<xs:documentation source="deno">1907000000</xs:documentation>
					<xs:documentation>
						<description value="TRANSPORT EQUIPMENT"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalReference" type="AdditionalReferenceType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
					<xs:documentation source="deno">1204002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation>
						<description value="LOCATION OF GOODS"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsItemForT2LT2LF" type="GoodsItemForT2LT2LFForRiskAnalysisType" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozycja towarowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsItemForT2LT2LFForRiskAnalysisType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Pozycja towarowa</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods item.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodsItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number.</xs:documentation>
					<xs:documentation>
						<description value="Declaration goods item number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DescriptionOfGoods" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CusCode" type="CUSCodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod CUS</xs:documentation>
					<xs:documentation source="name" xml:lang="en">CUS code.</xs:documentation>
					<xs:documentation source="deno">1808001000</xs:documentation>
					<xs:documentation>
						<description value="CUS code"/>
						<codeList code="CL016POUS" type="business" name="CusCode"/>
						<format value="an9"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Commodity" type="CommodityCodeType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod towarowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Commodity code.</xs:documentation>
					<xs:documentation>
						<description value="COMMODITY CODE"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsMeasure" type="GoodsMeasureType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Towar - szczegóły dot. ilości</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods measure.</xs:documentation>
					<xs:documentation>
						<description value="GOODS MEASURE"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Packaging" type="PackagingType" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opakowanie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Packaging.</xs:documentation>
					<xs:documentation source="deno">1806000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalReference" type="AdditionalReferenceType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
					<xs:documentation source="deno">1204002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RiskAnalysisResultType">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RiskAnalysisDetails" type="RiskAnalysisResultDetailsType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RiskAnalysisResultDetailsType">
		<xs:sequence>
			<xs:element name="MemberState" type="CountryCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Państwo Członkowskie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Member State.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DateAndTimeOfRiskAnalysis" type="DateTimeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RiskAnalysisResultCode" type="RiskAnalysisResultCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku analizy ryzyka.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Risk analysis result code.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RiskAnalysisResultDescription" type="RiskAnalysisResultDescriptionContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opis wyniku analizy ryzyka.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Risk analysis result description.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementRegistrationRequestResultsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Wynik obsługi wniosku o rejestrację potwierdzenia.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Endorsement registration request results</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TotalResults" type="xs:nonNegativeInteger">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Całkowity wynik obsługi wniosku o rejestrację potwierdzenia.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total endorsement registration request results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndorsementRegistrationRequestResult" type="EndorsementRegistrationRequestResultType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wynik obsługi wniosku o rejestrację potwierdzenia.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Endorsement registration request results</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementRegistrationRequestResultType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Wynik obsługi wniosku o rejestrację potwierdzenia.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Endorsement registration request results</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RequestDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zapytania</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Request date.</xs:documentation>
					<xs:documentation>
						<description value="Validity date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaskDueDate" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zadania</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Task due date.</xs:documentation>
					<xs:documentation>
						<description value="Validity date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeclarationType" type="DeclarationTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EconomicOperator" type="TraderNameContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podmiot</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Economic operator.</xs:documentation>
					<xs:documentation source="deno">1615051000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CCODeparture" type="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>
						<description value="Reference number"/>
						<codeList code="CL171" type="business" name="CustomsOfficeDeparture"/>
						<format value="an8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndorsementRiskAnalysisStatus" type="RiskAnalysisFilterResultContentType"/>
			<xs:element name="EndorsementRequestApplicableActions" type="ProofApplicableActionsType"/>
			<xs:element name="EndorsementMethod" type="EndorsementMethodContentType"/>
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status..</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AssignedTo" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego jest przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProofApplicableActionsType">
		<xs:sequence>
			<xs:element name="View" type="BooleanContentType"/>
			<xs:element name="Pending" type="BooleanContentType"/>
			<xs:element name="Locked" type="BooleanContentType"/>
			<xs:element name="PendingSupplementaryDocuments" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Oczekujące dokumenty uzupełniające.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Pending Supplementary Documents.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification - IEP04                                  -->
	<!--=========================================================================-->
	<xs:complexType name="ProofPresentedByOtherNationalSystemType">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny przedstawienia.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Customs office of presentation.</xs:documentation>
					<xs:documentation>
						<description value="Urząd celny przedstawienia"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingTheGoodsToCustoms" type="ContactPersonType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeAtArrival" type="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:annotation>
			</xs:element>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation>
						<description value="LOCATION OF GOODS"/>
						<optionality value="0"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PNDocumentsForT2LT2LF" type="PresentationDocumentsType" minOccurs="0" maxOccurs="1">
				<xs:annotation>	
					<xs:documentation source="name" xml:lang="pl">Dokumenty dla przedstawienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Documents for presentation</xs:documentation>			
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification - STPZISAR                               -->
	<!--=========================================================================-->
	<xs:complexType name="ProofPresentedByOtherNationalSystemTypeAEO">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation>
						<description value="Urząd celny przedstawienia"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingTheGoodsToCustoms" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeAtArrival" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation>
						<description value="LOCATION OF GOODS"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PNDocumentsForT2LT2LF" type="PresentationDocumentsType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProofPresentedByOtherNationalSystemTypeAEOSTP">
		<xs:sequence>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation>
						<description value="Urząd celny przedstawienia"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingTheGoodsToCustoms" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeAtArrival" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation>
						<description value="LOCATION OF GOODS"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProofPresentedByOtherNationalSystemTypeSTP">
		<xs:sequence>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation>
						<description value="Urząd celny przedstawienia"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingTheGoodsToCustoms" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeAtArrival" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Lokalizacja towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Location of goods.</xs:documentation>
					<xs:documentation>
						<description value="LOCATION OF GOODS"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
						<xs:element name="TimeToControlOfProof" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Termin na przeprowadzenie kontroli.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Time to control of the endorsement request</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TimeToRiskAnalysis" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Termin na przeprowadzenie analizy ryzyka.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Time to risk analisis</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--<xs:complexType name="PresentationNotificationType">
		<xs:sequence>
			<xs:element name="PresentationNotificationReference" type="UUIDContentType"/>
			<xs:element name="PresentationNumber" type="PresentationNumberContentType"/>
			<xs:element name="PresentationDate" type="DateContentType"/>
			<xs:element name="NationalSystemIndication" type="BooleanContentType"/>
			<xs:element name="NationalSystem" type="CountryCodeContentType" minOccurs="0"/>
			<xs:element name="MRN" type="MRNContentType"/>
			<xs:element name="PersonPresentingTheGoodsToCustoms" type="ContactPersonType"/>
			<xs:element name="PresentationCustomsOffice" type="CustomsOfficeReferenceNumberContentType"/>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType"/>
			<xs:element name="PresentationDocuments" type="PresentationDocumentsType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType> -->
	<xs:complexType name="PresentationDocumentsType">
		<xs:sequence>
			<xs:element name="GoodsShipmentDocuments" type="GoodsShipmentPresentationDocumentsType" minOccurs="0"/>
			<!--			
			<xs:element name="GoodsItemDocument" type="GoodsItemPresentationDocumentsType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozycja towarowa przedstawionego dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document item ppresented document.</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsShipmentPresentationDocumentsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Przesyłka przedstawionego dokumentu</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Document item presented document.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<!--
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213" type="business" name="SupportingDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument transportowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport document</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL754" type="business" name="TransportDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="AdditionalInformation" type="AdditionalInformationType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information.</xs:documentation>
					<xs:documentation source="deno">1202000000</xs:documentation>
					<xs:documentation>
						<description value="ADDITIONAL INFORMATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsItemPresentationDocumentsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Pozycja towarowa przedstawionego dokumentu.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods item presented document.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="DocumentType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213" type="business" name="SupportingDocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP19                                 -->
	<!--=========================================================================-->
	<xs:complexType name="UseOfProofInformationType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje o użyciu dowodu</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Use of proof information.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UsageDecision" type="BooleanContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Decyzja dotycząca użycia dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Endorsement decision.</xs:documentation>
					<xs:documentation>
						<codeList code="CL027POUS" type="UsageDecision" name="ProofStatus"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofStatusContent" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofPresentationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data przedstawienia dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">="Proof presentation date"</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofUsageDecisionDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data decyzji o wykorzystania dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof usage decision date</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofUsageDecisionJustification" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Uzasadnienie decyzji o użyciu dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Proof usage decision justification.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod Urzędu celnego przedstawienia dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Customs office of presentation.</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingGoodsCustoms" type="ContactPersonType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeAtArrival" type="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:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--================================================================================-->
	<!--=====                                                                           -->
	<!--================================================================================-->
	<xs:complexType name="TypeOfControlsType01_UE">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Rodzaj kontroli</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Type of controls.</xs:documentation>
			<xs:documentation>
				<usedBy>Used by 1/82 messages: CC560C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" type="SequenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba porządkowa służąca do określenia pozycji w danej kolekcji danych.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The number used to identify the position in a given data collection.</xs:documentation>
					<xs:documentation>
						<description value="Sequence number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="type" type="ContentType03">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod rekomendacji do kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control recommendation.</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL716POUS" type="business" name="ClControlRecommendationCode"/>
						<format value="an..3"/>
						<optionality value="R"/>
						<xsdBaseType value="Alphanumeric_Max3"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Tekst</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text detailing the code.</xs:documentation>
					<xs:documentation>
						<description value="Text"/>
						<format value="an..512"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP17                               -->
	<!--=========================================================================-->
	<xs:complexType name="SubmitPresentationNotificationType">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
			 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
			 </xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingGoodsToCustoms" type="ContactPersonType"/>
			<xs:element name="PresentationCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Urząd celny przedstawienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Custom office of presentation.</xs:documentation>
										<xs:documentation>
						<description value="Urząd celny przedstawienia"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
			 </xs:annotation>
			</xs:element>
			
			<xs:element name="LocationOfGoods" type="LocationOfGoodsType" minOccurs="0" maxOccurs="1"/>
			<xs:element name="PresentationDocuments" type="PresentationDocumentsType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FunctionalErrorType">
		<xs:sequence>
			<xs:element name="ErrorType" type="ErrorContentType">
			 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Rodzaj błędu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Error type</xs:documentation>
			 </xs:annotation>		
			</xs:element>
			<xs:element name="ErrorPointer" type="ErrorPointerContentType">
			 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Miejsce wystąpienia błędu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Error pointer</xs:documentation>
			 </xs:annotation>				
			</xs:element>
			<xs:element name="ErrorReason" type="ErrorReasonContentType" minOccurs="0" maxOccurs="1">
			 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Przyczyna błędu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Error reason</xs:documentation>
			 </xs:annotation>				
			</xs:element>
			<xs:element name="OriginalAttributeValue" type="OriginalAttributeValueContentType" minOccurs="0" maxOccurs="1">
						 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Atrybut, dla którego wystąpił błąd</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Original attribute value</xs:documentation>
			 </xs:annotation>	
			 </xs:element>
			<xs:element name="Date" type="DateContentType">
			 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Data wystąpienia błędu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Error date</xs:documentation>
			 </xs:annotation>				
			</xs:element>
			<xs:element name="TimeContent" type="DateTimeContentType">
			 <xs:annotation>
				 	<xs:documentation source="name" xml:lang="pl">Czas wystąpienia błędu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Error time</xs:documentation>
			 </xs:annotation>				
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP30                                 -->
	<!--=========================================================================-->
	<xs:complexType name="EndorsementRegistrationRequestReferenceType">
		<xs:sequence>
			<!--
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RetrieveFullDataIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy jest to wniosek o pełne dane dowodu czy jest to zapytanie tylko o status dowodu. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">indicator indicating whether it is a request for full proof data or whether it is a request for the status of the proof only. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP32                                -->
	<!--=========================================================================-->
	<xs:complexType name="ProofQueryNationalSystemResponseType">
		<xs:sequence>
			<xs:element name="MemberState" type="CountryCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Państwo Członkowskie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Member State.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation>
						<description value="Reference number"/>
						<codeList code="CL171POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="QueryResponseInformation" type="QueryResponseInformationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja o odpowiedzi na zapytanie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Query response information.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofOperationInformationForT2LT2LF" type="CentralProofInformationForT2LT2LFType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Definiuje szczegółowe informacje o potwierdzeniu unijnego statusu w zakresie danych dla T2L(F).</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Centralne informacje o dowodzie dla T2LT2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Central proof information for T2LT2LF.</xs:documentation>
					<xs:documentation>
						<usedBy>Used by IEP01</usedBy>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozwolenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of authorisation.</xs:documentation>
					<xs:documentation source="deno">1615052000</xs:documentation>
					<xs:documentation>
						<description value="Authorisation number"/>
						<format value="an..35"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba wnioskująca o potwierdzenie unijnego statusu towaru. </xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting a proof.</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingGoodsCustoms" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RepresentativeAtDeparture" type="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:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description value="Reference number"/>
						<codeList code="CL171POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="O"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UseOfProofInformation" type="UseOfProofInformationType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SRDDataType">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AccessToProof" type="BooleanContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dostęp do danych.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Access to a proof.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FullDataRequested" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Znacznik określający, czy wnioskowano o pełne dane dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">A tag indicating whether full proof data was requested.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Właściwy urząd celny</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Competent customs office</xs:documentation>
					<xs:documentation>
						<description value="Właściwy urząd celny"/>
						<codeList code="CL141POUS" type="business" name="CustomsOfficeOfPresentation"/>
						<format value="an8"/>
						<optionality value="O"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="QueryResponseInformation" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o odpowiedzi na zapytanie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Query response information.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="QueryResponseInformationContentType">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ProofStatusContent" type="ProofStatusContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeclarationType" type="DeclarationTypeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegistrationDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data rejestracji dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Registration date.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="D"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValidityEndDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zakończenia terminu ważności dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Validity end date.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalNumberOfItems" type="TotalNumberOfItemsContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba pozycji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total numbers od items.</xs:documentation>
					<xs:documentation>
						<description value="Total numbers of items"/>
						<format value="n..5"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AuthorisationNumber" type="AuthorisationNumberContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozwolenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of authorisation.</xs:documentation>
					<xs:documentation source="deno">1615052000</xs:documentation>
					<xs:documentation>
						<description value="Authorisation number"/>
						<format value="an..35"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingAProof" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba wnioskująca o potwierdzenie unijnego statusu towaru. </xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting a proof.</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="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:annotation>
			</xs:element>
			<xs:element name="TransportEquipment" type="TransportEquipmentType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Transport szczegóły</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport equipment.</xs:documentation>
					<xs:documentation source="deno">1907000000</xs:documentation>
					<xs:documentation>
						<description value="TRANSPORT EQUIPMENT"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousDocument" type="SRDDataDocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument poprzedni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Previous document</xs:documentation>
					<xs:documentation source="deno">1201000000</xs:documentation>
					<xs:documentation>
						<description value="PREVIOUS DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="SRDDataDocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document.</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="SUPPORTING DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportDocument" type="SRDDataDocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument transportowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport document.</xs:documentation>
					<xs:documentation source="deno">1205000000</xs:documentation>
					<xs:documentation>
						<description value="TRANSPORT DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalReference" type="AdditionalReferenceType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
					<xs:documentation source="deno">1204001000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalInformation" type="AdditionalInformationType" minOccurs="0" maxOccurs="2">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information.</xs:documentation>
					<xs:documentation source="deno">1202000000</xs:documentation>
					<xs:documentation>
						<description value="ADDITIONAL INFORMATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsItem" type="GoodsItemForSRDType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozycja towarowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SRDDataDocumentType">
		<xs:sequence>
			<xs:element name="ReferenceNumber" type="DocumentReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Reference number.</xs:documentation>
					<xs:documentation source="deno">1201001000</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<format value="an..70"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Type" type="DocumentTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaju dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213POUS, CL214POUS, CL754POUS" type="business" name="DocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsItemForSRDType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Pozycja towarowa</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods item.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodsItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number.</xs:documentation>
					<xs:documentation>
						<description value="Declaration goods item number"/>
						<format value="n..3"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HarmonizedSystemSubHeadingCode" type="HarmonizedSystemSubHeadingCodeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod towarowy HS</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Harmonized System sub-heading code.</xs:documentation>
					<xs:documentation source="deno">1809056000</xs:documentation>
					<xs:documentation>
						<description value="Harmonized System sub-heading code"/>
						<format value="an6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CombinedNomenclatureCode" type="CombinedNomenclatureCodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rozszerzenie kodu HS o Nomenklaturę Scaloną.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Extension of the Harmonized System code with the Combined Nomenclature code.</xs:documentation>
					<xs:documentation source="deno">1809057000</xs:documentation>
					<xs:documentation>
						<description value="Combined nomenclature code"/>
						<format value="an2"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CusCode" type="CUSCodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod CUS</xs:documentation>
					<xs:documentation source="name" xml:lang="en">CUS code.</xs:documentation>
					<xs:documentation source="deno">1808001000</xs:documentation>
					<xs:documentation>
						<description value="CUS code"/>
						<codeList code="CL016POUS" type="business" name="CusCode"/>
						<format value="an9"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DescriptionOfGoods" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrossMass" type="MassContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Gross mass.</xs:documentation>
					<xs:documentation source="deno">1804001000</xs:documentation>
					<xs:documentation>
						<description value="Gross mass"/>
						<format value="n..16,6"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NetMass" type="MassContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa netto</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Net mass.</xs:documentation>
					<xs:documentation source="deno">1801001000</xs:documentation>
					<xs:documentation>
						<description value="Net mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Packaging" type="PackagingType" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opakowanie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Packaging.</xs:documentation>
					<xs:documentation>
						<description value="PACKAGING"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousDocument" type="SRDDataDocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument poprzedni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Previous document.</xs:documentation>
					<xs:documentation source="deno">1201002000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="SRDDataDocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document.</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="SUPPORTING DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalReference" type="AdditionalReferenceType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dodatkowe odniesienia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional reference.</xs:documentation>
					<xs:documentation source="deno">1204000000</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL380" type="business" name="AdditionalReferenceType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalInformation" type="AdditionalInformationType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacja dodatkowa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Additional information.</xs:documentation>
					<xs:documentation source="deno">1202000000</xs:documentation>
					<xs:documentation>
						<description value="ADDITIONAL INFORMATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP38                                 -->
	<!--=========================================================================-->
	<xs:complexType name="ProofExpirationNotificationType_PL">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofExpirationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data ważności dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof expiration date.</xs:documentation>
					<xs:documentation>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--xsd:element name="expiredDateFrom" type="ns3:DateContentType" minOccurs="0"/>
			<xsd:element name="expiredDateTo" type="ns3:DateContentType" minOccurs="0"/-->
			<xs:element name="ProofStatusContent" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingAProof" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba wnioskująca o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting Proof.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="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:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP22                                 -->
	<!--=========================================================================-->
	<xs:complexType name="EndorsementDecisionForSupplementaryDocumentsType">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestedSupplementaryDocuments" type="RequestedSupplementaryDocumentsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Żądane dokumenty uzupełniające</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested supplementary documents</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RequestedSupplementaryDocumentsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Żądane dokumenty uzupełniające.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Requested supplementary documents.</xs:documentation>
			<xs:documentation>
				<description value="PREVIOUS DOCUMENT"/>
				<optionality value="O"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RequestedGoodsShipmentSupplementaryDocument" type="SupplementaryDocumentGSType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Żądane dokumenty uzupełniające do przesyłki</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested goods shipment supplementary documents</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestedGoodsItemSupplementaryDocument" type="GoodsItemSupplementaryDocumentType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Żądane dokumenty uzupełniające dla pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested goods item supplementary documents</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CommentsForTraders" type="JustificationFreeTextType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz dla Podmiotu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CommentsForCOs" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz dla urzędu celnego</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Comment for customs office</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupplementaryDocumentGSType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Dokument uzupełniający dla przesyłki.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Supplementary document at goods shipment level.</xs:documentation>
			<xs:documentation>
				<description value="PREVIOUS DOCUMENT"/>
				<optionality value="O"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentCategory" type="DocumentCategoryGSContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj dokumentu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document Category.</xs:documentation>
					<xs:documentation>
						<description value="PREVIOUS DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DocumentType" type="DocumentTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaju dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213POUS, CL214POUS, CL754POUS" type="business" name="DocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsItemSupplementaryDocumentType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Pozycja towarowa dotycząca dokuemntu uzupełniającego.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Goods item number supplementary document.</xs:documentation>
			<xs:documentation>
				<description value="Declaration goods item number"/>
				<format value="n..5"/>
				<optionality value="R"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodsItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number.</xs:documentation>
					<xs:documentation>
						<description value="Declaration goods item number"/>
						<format value="n..3"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestedSupplementaryDocument" type="SupplementaryDocumentGIType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wnioskowany dokument uzupełniający</xs:documentation>
					<xs:documentation source="name" xml:lang="en">rqueested supplementary document</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupplementaryDocumentGIType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Dokument uzupełniający na pozycji towarowej.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Supplementary document at goods item level.</xs:documentation>
			<xs:documentation>
				<description value="PREVIOUS DOCUMENT"/>
				<optionality value="O"/>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentCategory" type="DocumentCategoryGIContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj dokumentu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">DocumentCategory.</xs:documentation>
					<xs:documentation>
						<description value="PREVIOUS DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DocumentType" type="DocumentTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaju dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation>
						<description value="Type"/>
						<codeList code="CL213POUS, CL214POUS, CL754POUS" type="business" name="DocumentType"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP45                                 -->
	<!--=========================================================================-->
	<xs:complexType name="PresentationDecisionForSupplementaryDocumentsType">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value=""/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestedSupplementaryDocuments" type="RequestedSupplementaryDocumentsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Żądane dokumenty uzupełniające</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested supplementary documents</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Presentation Notification  - IEP23/IEP46                           -->
	<!--=========================================================================-->
	<xs:complexType name="EndorsementRecordSupplementaryDocumentsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Żądane dokumenty uzupełniające do wniosku</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Endorsement requested supplementary documents</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer określony na poziomie krajowym i nadany przez zgłaszającego w porozumieniu z właściwymi organami w celu identyfikacji każdego dokumentu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number. Message number defined at national level to identify each electronic document. Number is assigned by the Declarant.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="SupplementaryDocuments" type="SupplementaryDocumentsForGoodsShipmentResponseType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające do odpowiedzi na wysyłkę towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested supplementary documents</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupplementaryDocumentsForGoodsShipmentResponseType">
		<xs:sequence>
			<xs:element name="PreviousDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument poprzedni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Previous document.</xs:documentation>
					<xs:documentation source="deno">1201000000</xs:documentation>
					<xs:documentation>
						<description value="PREVIOUS DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document.</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="SUPPORTING DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument transportowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport document.</xs:documentation>
					<xs:documentation source="deno">1205000000</xs:documentation>
					<xs:documentation>
						<description value="TRANSPORT DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupplementaryDocumentsGoodsItem" type="SupplementaryDocumentsForGoodsItemResponseType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające dla pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supplementary documents for goods item.</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupplementaryDocumentsForGoodsItemResponseType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające dla pozycji towarowej</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Supplementary documents for goods item.</xs:documentation>
			<xs:documentation source="deno">1305000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodsItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number.</xs:documentation>
					<xs:documentation>
						<description value="Goods item number"/>
						<format value="n..3"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument poprzedni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Previous document.</xs:documentation>
					<xs:documentation source="deno">1201000000</xs:documentation>
					<xs:documentation>
						<description value="PREVIOUS DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document.</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="SUPPORTING DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupplementaryDocumentsForGoodsShipmentResponseSTPType">
		<xs:sequence>
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document.</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="SUPPORTING DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument transportowy</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Transport document.</xs:documentation>
					<xs:documentation source="deno">1205000000</xs:documentation>
					<xs:documentation>
						<description value="TRANSPORT DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupplementaryDocumentsGoodsItem" type="SupplementaryDocumentsForGoodsItemResponseSTPType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające dla pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supplementary documents for goods item.</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupplementaryDocumentsForGoodsItemResponseSTPType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające dla pozycji towarowej</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Supplementary documents for goods item.</xs:documentation>
			<xs:documentation source="deno">1305000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="GoodsItemNumber" type="GoodItemNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer pozycji towarowej</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods item number.</xs:documentation>
					<xs:documentation>
						<description value="Goods item number"/>
						<format value="n..3"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupportingDocument" type="DocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokument wymagany</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supporting document.</xs:documentation>
					<xs:documentation source="deno">1203000000</xs:documentation>
					<xs:documentation>
						<description value="SUPPORTING DOCUMENT"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== PresentationRecordSupplementaryDocumentsType - IEP46               -->
	<!--=========================================================================-->
	<xs:complexType name="PresentationRecordSupplementaryDocumentsType">
		<xs:sequence>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
						<xsdBaseType value="MRNType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupplementaryDocuments" type="SupplementaryDocumentsForGoodsShipmentResponseSTPType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające do odpowiedzi na wysyłkę towarów</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested supplementary documents</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== EndorsementRecordSupplementaryDocumentsType_PL  - IEP68            -->
	<!--=========================================================================-->
	<xs:complexType name="EndorsementRecordSupplementaryDocumentsType_PL">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupplementaryDocuments" type="SupplementaryDocumentsForGoodsShipmentResponseType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Dokumenty uzupełniające dla przesyłki</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Supplementary documents for goods shipment</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== Endorsement Response  - IEP03                          	         -->
	<!--=========================================================================-->
	<xs:complexType name="EndorsementResponseType_PL">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer określony na poziomie krajowym i nadany przez zgłaszającego w porozumieniu z właściwymi organami w celu identyfikacji każdego dokumentu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number. Message number defined at national level to identify each electronic document. Number is assigned by the Declarant.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndorsementStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Endorsement status.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--xs:element name="MRN" type="MRNContentType" minOccurs="0"/-->
			<xs:element name="EndorsementDecision" type="BooleanContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Decyzja dotycząca wniosku.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Endorsement decision.</xs:documentation>
					<xs:documentation>
						<codeList code="CL027POUS" type="EndorsementDecision" name="ProofStatus"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndorsementDecisionDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data Decyzji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Endorsement decision date.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndorsementDecisionJustification" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Uzasadnienie decyzji dotyczącej wniosku.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Endorsement decision justification.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ControlResultCode" type="EndorsementControlResultsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control result code.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL622" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProofInformationT2LT2LF" type="ProofInformationT2LT2LFType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o dowodzie T2LT2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementControlResultsType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Wyniki kontroli wniosku.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Endorsement control results</xs:documentation>
			<xs:documentation source="deno">1305000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RelevantControlsPerformed" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control result code.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL027POUS" type="BooleanContentType" name="BooleanContentType"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RelevantControlsDecisionJustification" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Uzasadnienie decyzji o kontroli.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Relevant control decision justification.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DocumentaryControlDetails" type="EndorsementControlResultsDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Szczegóły dotyczące kontroli dokumentów.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Documentary control details.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PhysicalControlsPerformed" type="BooleanContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przeprowadzono kontrole fizyczne</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Physical controls performed.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL027POUS" type="BooleanContentType" name="BooleanContentType"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PhysicalControlsDecisionJustification" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Uzasadnienie decyzji o kontroli fizycznej.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Relevant physical control decision justification.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PhysicalControlDetails" type="EndorsementControlResultsDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Comment</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementControlResultsDetailsType">
		<xs:sequence>
			<xs:element name="ControlDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data Decyzji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Endorsement decision date.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ControlResultCode" type="EndorsementControlResultContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control result code.</xs:documentation>
					<xs:documentation>
						<description value="ControlResultCode"/>
						<codeList code="CL622POUS" type="ProofStatus" name="ControlResultCode"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Remarks" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Comment</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DocumentaryControlResultType">
		<xs:sequence>
			<xs:element name="ControlResultCode" type="EndorsementControlResultContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control result code.</xs:documentation>
					<xs:documentation>
						<description value="ControlResultCode"/>
						<codeList code="CL622POUS" type="ProofStatus" name="ControlResultCode"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Comment</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
		<xs:complexType name="PhysicalControlResultType">
		<xs:sequence>
			<xs:element name="ControlResultCode" type="EndorsementControlResultContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control result code.</xs:documentation>
					<xs:documentation>
						<description value="ControlResultCode"/>
						<codeList code="CL622POUS" type="ProofStatus" name="ControlResultCode"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Comment</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementControlResultType">
		<xs:sequence>
			<xs:element name="ControlResultCode" type="EndorsementControlResultContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control result code.</xs:documentation>
					<xs:documentation>
						<description value="ControlResultCode"/>
						<codeList code="CL622POUS" type="ProofStatus" name="ControlResultCode"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Remarks" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Komentarz.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Comment</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RelevantControlsDecisionJustification" type="JustificationFreeTextType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pole tekstowe. Uzasadnienie decyzji o kontroli.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text. Relevant control decision justification.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementResultType">
		<xs:sequence>
			<xs:element name="EndorsementStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Endorsement status.</xs:documentation>
					<xs:documentation>
						<description value="ProofStatus"/>
						<codeList code="CL620POUS" type="ProofStatus" name="ProofStatus"/>
						<format value="n2"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== CC560C                                                             -->
	<!--=========================================================================-->
	<!--	
	<xs:complexType name="ExportOperationType22_UE">
		<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>
				<usedBy>Used by 1/82 messages: CC560C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu..</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny zgłoszenia.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="D"/>
						<xsdBaseType value="MRNType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="controlNotificationDateAndTime" type="ControlNotificationDateAndTimeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data powiadomienia o kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control notification date and time.</xs:documentation>
					<xs:documentation>
						<description value="Control notification date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="notificationType" type="NotificationTypeContentType">
				<xs:annotation>
					<xs:documentation>
						<description value="Notification type"/>
						<codeList code="CL384" type="business" name="NotificationType"/>
						<format value="n1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="anticipatedControlDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przewidywana data kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Anticipated control date.</xs:documentation>
					<xs:documentation>
						<description value="Anticipated control date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Tekst</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text detailing the control notification.</xs:documentation>
					<xs:documentation>
						<description value="Text"/>
						<format value="an..512"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CustomsOfficeOfExportType01_UE">
		<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>
				<usedBy>Used by 13/82 messages: CC504C, CC509C, CC513C, CC514C, CC515C, CC528C, CC529C, CC551C, CC556C, CC560C, CC582C, CC583C, CC599C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="referenceNumber" type="ReferenceNumberContentType04">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod urzędu celnego</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of customs office.</xs:documentation>
					<xs:documentation source="deno">1702001000</xs:documentation>
					<xs:documentation>
						<description value="Reference number"/>
						<codeList code="CL293" type="business" name="Customsofficeexported"/>
						<format value="an8"/>
						<optionality value="R"/>
						<xsdBaseType value="CORefNumType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType> -->
	<!--
	<xs:complexType name="DeclarantType06_PL">
		<xs:annotation>
			<xs:documentation>
				<usedBy>Used by 14/82 messages: CC509C, CC511C, CC513C, CC514C, CC515C, CC529C, CC531C, CC551C, 
CC560C, CC582C, CC583C, CC599C</usedBy>
			</xs:documentation>
			<xs:documentation source="name" xml:lang="pl">Zgłaszający</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Declarant.</xs:documentation>
			<xs:documentation source="deno">1305000000</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="identificationNumber" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation>
						<description value="Identification number"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Numer identyfikacyjny</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Identification number. </xs:documentation>
					<xs:documentation source="deno">1305017000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="name" type="NameContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description value="Name"/>
						<format value="an..70"/>
						<optionality value="D"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Nazwa</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Company name or first name and second name.</xs:documentation>
					<xs:documentation source="deno">1305016000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IdentificationDataPL" type="IdentificationDataPLType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description value="Identification data PL"/>
						<optionality value="D"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Polskie dane identyfikujące podmiot/osobę</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Polish data identifying the entity/person.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						<description value="ADDRESS"/>
						<optionality value="D"/>
					</xs:documentation>
					<xs:documentation source="name" xml:lang="pl">Adres zgłaszającego</xs:documentation>
					<xs:documentation source="doc" xml:lang="en">The declarant's address</xs:documentation>
					<xs:documentation source="deno">1305018000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ContactPerson" type="ContactPersonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba do kontaktu po stronie zgłaszającego</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Contact person.</xs:documentation>
					<xs:documentation source="deno">1305074000</xs:documentation>
					<xs:documentation>
						<description value="CONTACT PERSON"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
-->
	<!--==========================================================-->
	<!--===== IdentificationDataPLType                            -->
	<!--==========================================================-->
	<xs:complexType name="IdentificationDataPLType">
		<xs:annotation>
			<xs:documentation>
				<usedBy>Used by 24/82 messages: CC513C,CC515C, C528C, CC529C, CC531C, CC534C, CC535C, CC551C, CC556C, CC557C, CC560C, CC582C, CC583C, CC599C, CC613C, 
CC615C</usedBy>
			</xs:documentation>
			<xs:documentation source="name" xml:lang="pl">Polskie dane identyfikujące podmiot/osobę</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Polish data identifying the entity/person.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nip" type="PersonNIPType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">NIP</xs:documentation>
					<xs:documentation source="name" xml:lang="en">NIP</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="regon" type="PersonREGONType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">REGON</xs:documentation>
					<xs:documentation source="name" xml:lang="en">REGON</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="pesel" type="PersonPESELType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">PESEL</xs:documentation>
					<xs:documentation source="name" xml:lang="en">PESEL</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--================================================================================-->
	<!--===== RequestedDocument                                                         -->
	<!--================================================================================-->
	<xs:complexType name="RequestedDocumentType01_UE">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="en">Żądane dokumenty.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Requested document.</xs:documentation>
			<xs:documentation>
				<usedBy>Used by 1/82 messages: CC560C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" type="SequenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba porządkowa służąca do określenia pozycji w danej kolekcji danych.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The number used to identify the position in a given data collection.</xs:documentation>
					<xs:documentation>
						<description value="Sequence number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="documentType" type="DocumentTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation>
						<description value="Document type"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="description" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opis</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Description.</xs:documentation>
					<xs:documentation>
						<description value="Description"/>
						<format value="an..512"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RequestedDocumentType01_STWSTP">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="en">Żądane dokumenty.</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Requested document.</xs:documentation>
			<xs:documentation>
				<usedBy>Used by 1/82 messages: CC560C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" type="SequenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba porządkowa służąca do określenia pozycji w danej kolekcji danych.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The number used to identify the position in a given data collection.</xs:documentation>
					<xs:documentation>
						<description value="Sequence number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="documentType" type="DocumentTypeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj dokumentu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Document type.</xs:documentation>
					<xs:documentation>
						<description value="Document type"/>
						<format value="an4"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="description" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Opis</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Description.</xs:documentation>
					<xs:documentation>
						<description value="Description"/>
						<format value="an..512"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SendingDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Termin na przeprowadzenie kontroli.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Time to control of the endorsement request</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>		
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NotificationOfDiscrepanciesDetectedType">
		<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:sequence>
			<xs:element name="Discrepancies" type="DiscrepanciesType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rozbieżności</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Discrepances</xs:documentation>
					<xs:documentation>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DiscrepanciesType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="en">Rozbieżności</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Discrepancies</xs:documentation>
		</xs:annotation>
		<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" type="AttributeInTheDocumentType" 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:documentation>
						<description value="Attribute"/>
						<format value="an..1024"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValueBeforeChange" type="ValueBeforeChangeType" 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:documentation>
						<description value="Value"/>
						<format value="an..1024"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValueAfterChange" type="ValueAfterChangeType" 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:documentation>
						<description value="Value"/>
						<format value="an..1024"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</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:documentation>
						<description value="Additional"/>
						<format value="an..350"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="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>
				<usedBy>Used by 1/82 messages: IEP560</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer określony na poziomie krajowym i nadany przez zgłaszającego w porozumieniu z właściwymi organami w celu identyfikacji każdego dokumentu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number. Message number defined at national level to identify each electronic document. Number is assigned by the Declarant.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny zgłoszenia.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="D"/>
						<xsdBaseType value="MRNType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="controlNotificationDateAndTime" type="ControlNotificationDateAndTimeContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data powiadomienia o kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Control notification date and time.</xs:documentation>
					<xs:documentation>
						<description value="Control notification date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--<xs:element name="anticipatedControlDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przewidywana data kontroli</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Anticipated control date.</xs:documentation>
					<xs:documentation>
						<description value="Anticipated control date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element> -->
			<xs:element name="text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Tekst</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Text detailing the control notification.</xs:documentation>
					<xs:documentation>
						<description value="Text"/>
						<format value="an..512"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--============================================================================-->
	<!--===== CentralProofInformationForT2LT2LFType ZISAR                           -->
	<!--============================================================================-->
	<xs:complexType name="EndorsementRegistrationRequestTypeAEO">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<!--
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="ProofInformationT2LT2LF" type="ProofInformationT2LT2LFTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o wniosku T2L/T2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EndorsementRegistrationRequestTypeAEOSTP">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="ProofInformationT2LT2LF" type="ProofInformationT2LT2LFTypeAEOSTP">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o wniosku T2L/T2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="EndorsementRegistrationRequestTypeSTP">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="ProofInformationT2LT2LF" type="ProofInformationT2LT2LFTypeSTP">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o wniosku T2L/T2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="EndorsementRegistrationRequestTypeSTW">
		<xs:sequence>
			<xs:element name="LRN" type="LRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer LRN (Local Reference Number). Numer własny tego komunikatu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">LRN - Local Reference Number of the message.</xs:documentation>
					<xs:documentation source="deno">1209001000</xs:documentation>
					<xs:documentation>
						<description value="LRN"/>
						<format value="an..22"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MRN" type="MRNContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Numer ewidencyjny wniosku o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">MRN - Registration number of the application.</xs:documentation>
					<xs:documentation>
						<description value="MRN"/>
						<format value="an18"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--
			<xs:element name="TraderIdentification" type="TraderIdentificationContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Identyfikator Podmiotu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Trader Identifier</xs:documentation>
					<xs:documentation source="deno">1305000000</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="ProofInformationT2LT2LF" type="ProofInformationT2LT2LFTypeSTW">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Informacje o wniosku T2L/T2LF</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<!--============================================================================-->
	<!--===== ProofInformationT2LT2LFTypeAEO                                        -->
	<!--============================================================================-->
	<xs:complexType name="ProofInformationT2LT2LFTypeAEO">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje o dowodzie T2LT2LF</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<!--xs:element name="RetrospectiveIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy wniosek jest złożony retrospektywnie. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Indicator indicating whether the application is submitted retrospectively. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
			<xs:element name="DeclarationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="DeclarationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<!--
			<xs:element name="RequestedValidityOfTheProof" type="RequestedValidityOfTheProofType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wnioskowany termin ważności dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Requested Validity of the proof.</xs:documentation>
					<xs:documentation>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element> -->
			<xs:element name="RequestType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Request type</xs:documentation>
					<xs:documentation>
						<format value="n2"/>
						<optionality value="R"/>
						<codeList code="CL621" type="business" name="RequestType"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="RequestTypeContentType">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DeclarationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data deklaracji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration date.</xs:documentation>
					<xs:documentation>
						<description value="Declaration acceptance date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--
			<xs:element name="RegistrationDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data rejestracji dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Registration date.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValidityEndDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zakończenia terminu ważności dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Validity end dateDate.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="TotalGrossMassKg" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1804000000</xs:documentation>
					<xs:documentation>
						<description value="Total gross mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="MassContentType">
						<xs:fractionDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<!--
			<xs:element name="TotalNumberOfItems" type="TotalNumberOfItemsContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba pozycji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total numbers od items.</xs:documentation>
					<xs:documentation source="deno">1/9</xs:documentation>
					<xs:documentation>
						<description value="Total numbers od items"/>
						<format value="n..5"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<xs:element name="TotalPackages" type="TotalPackagesContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Całkowita liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total number of packages.</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny złożenia wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Competent customs office.</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE"/>
						<optionality value="D"/>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOffices"/>
						<format value="an8"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumberOfDays" type="NumberOfDaysContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba dni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of days.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uzasadnienie. Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Justification. Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
					<xs:documentation source="deno">1212000000</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podmiot wnioskujący o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting Proof.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonPresentingGoodsToCustoms" type="ContactPersonTypeAEO" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba przedstawiająca towar w urzędzie celnym</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person presenting goods to customs.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<!--xs:element name="AssignedTo" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego są przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaskDueDate" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProofInformationT2LT2LFTypeAEOSTP">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje o dowodzie T2LT2LF</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RetrospectiveIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy wniosek jest złożony retrospektywnie. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Indicator indicating whether the application is submitted retrospectively. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeclarationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="DeclarationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RequestType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Request type</xs:documentation>
					<xs:documentation>
						<format value="n2"/>
						<optionality value="R"/>
						<codeList code="CL621" type="business" name="RequestType"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="RequestTypeContentType">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DeclarationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data deklaracji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration date.</xs:documentation>
					<xs:documentation>
						<description value="Declaration acceptance date"/>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegistrationDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data rejestracji dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Registration date.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValidityEndDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zakończenia terminu ważności dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Validity end dateDate.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGrossMassKg" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1804000000</xs:documentation>
					<xs:documentation>
						<description value="Total gross mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="MassContentType">
						<xs:fractionDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TotalPackages" type="TotalPackagesContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Całkowita liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total number of packages.</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny złożenia wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Competent customs office.</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE"/>
						<optionality value="D"/>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOffices"/>
						<format value="an8"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumberOfDays" type="NumberOfDaysContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba dni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of days.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uzasadnienie. Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Justification. Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
					<xs:documentation source="deno">1212000000</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podmiot wnioskujący o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting Proof.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<!--xs:element name="AssignedTo" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego są przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaskDueDate" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="ProofInformationT2LT2LFTypeSTP">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje o dowodzie T2LT2LF</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RetrospectiveIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy wniosek jest złożony retrospektywnie. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Indicator indicating whether the application is submitted retrospectively. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeclarationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="DeclarationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RequestType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Request type</xs:documentation>
					<xs:documentation>
						<format value="n2"/>
						<optionality value="R"/>
						<codeList code="CL621" type="business" name="RequestType"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="RequestTypeContentType">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DeclarationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data deklaracji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration date.</xs:documentation>
					<xs:documentation>
						<description value="Declaration acceptance date"/>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegistrationDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data rejestracji dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Registration date.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValidityEndDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zakończenia terminu ważności dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Validity end dateDate.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGrossMassKg" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1804000000</xs:documentation>
					<xs:documentation>
						<description value="Total gross mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="MassContentType">
						<xs:fractionDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TotalPackages" type="TotalPackagesContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Całkowita liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total number of packages.</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny złożenia wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Competent customs office.</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE"/>
						<optionality value="D"/>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOffices"/>
						<format value="an8"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumberOfDays" type="NumberOfDaysContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba dni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of days.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uzasadnienie. Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Justification. Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
					<xs:documentation source="deno">1212000000</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podmiot wnioskujący o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting Proof.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<!--xs:element name="AssignedTo" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego są przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaskDueDate" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProofInformationT2LT2LFTypeSTW">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Informacje o dowodzie T2LT2LF</xs:documentation>
			<xs:documentation source="name" xml:lang="en">Proof Information T2LT2LF</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RetrospectiveIndication" type="BooleanContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wskaźnik wskazujący czy wniosek jest złożony retrospektywnie. Wartość "1" - Tak, wartość "0" - Nie.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Indicator indicating whether the application is submitted retrospectively. Value "1" - Yes, value "0" - No.</xs:documentation>
					<xs:documentation>
						<format value="n1"/>
						<optionality value="R"/>
						<codeList code="CL027POUS" type="technical" name="Flag"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeclarationType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration type.</xs:documentation>
					<xs:documentation>
						<description value="Declaration type"/>
						<codeList code="CL231POUS" type="business" name="Declarationtype"/>
						<format value="an..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="DeclarationTypeContentType">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RequestType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Rodzaj wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Request type</xs:documentation>
					<xs:documentation>
						<format value="n2"/>
						<optionality value="R"/>
						<codeList code="CL621" type="business" name="RequestType"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="RequestTypeContentType">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DeclarationDate" type="DateContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data deklaracji</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Declaration date.</xs:documentation>
					<xs:documentation>
						<description value="Declaration acceptance date"/>
						<format value="n8"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegistrationDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data rejestracji dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Registration date.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ValidityEndDate" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data zakończenia terminu ważności dowodu.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Validity end dateDate.</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="R"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TimeToControlOfProof" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Termin na przeprowadzenie kontroli.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Time to control of the endorsement request</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TimeToRiskAnalysis" type="DateContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Termin na przeprowadzenie analizy ryzyka.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Time to risk analisis</xs:documentation>
					<xs:documentation>
						<description value="Date"/>
						<format value="an10"/>
						<optionality value="O"/>
						<xsdBaseType value="DateType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGrossMassKg" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Masa brutto w kilogramach łącznie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total gross mass in kilo.</xs:documentation>
					<xs:documentation source="deno">1804000000</xs:documentation>
					<xs:documentation>
						<description value="Total gross mass"/>
						<format value="n..16,6"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="MassContentType">
						<xs:fractionDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TotalPackages" type="TotalPackagesContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Całkowita liczba opakowań</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Total number of packages.</xs:documentation>
					<xs:documentation>
						<description value="Number of packages"/>
						<format value="n..8"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CompetentCustomsOffice" type="CustomsOfficeReferenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Urząd celny złożenia wniosku</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Competent customs office.</xs:documentation>
					<xs:documentation>
						<description value="CUSTOMS OFFICE"/>
						<optionality value="D"/>
						<description value="Reference number"/>
						<codeList code="CL141POUS" type="business" name="CustomsOffices"/>
						<format value="an8"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumberOfDays" type="NumberOfDaysContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba dni</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Number of days.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Justification" type="FreeText512ContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uzasadnienie. Pole tekstowe</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Justification. Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Authorisation" type="AuthorisationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Pozwolenie</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Authorisation.</xs:documentation>
					<xs:documentation source="deno">1212000000</xs:documentation>
					<xs:documentation>
						<description value="AUTHORISATION"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonRequestingProof" type="ContactPersonTypeAEO">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Podmiot wnioskujący o potwierdzenie unijnego statusu towaru.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Person requesting Proof.</xs:documentation>
					<xs:documentation>
						<description value="Person requesting Proof"/>
						<format value="an..17"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Representative" type="RepresentativeDataTypeAEO" 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:annotation>
			</xs:element>
			<xs:element name="GoodsShipmentForT2LT2LF" type="GoodsShipmentForT2LT2LFType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przesyłka</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Goods shipment.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--			
			<xs:element name="ProofStatus" type="ProofStatusContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Status dowodu</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Proof status.</xs:documentation>
				</xs:annotation>
			</xs:element>
-->
			<!--xs:element name="AssignedTo" type="CustomsOfficerContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Funkcjonariusz celno-skarbowy, do którego są przypisany dokument.</xs:documentation>
					<xs:documentation source="name" xml:lang="en">The customs officer to which the document is assigned.</xs:documentation>
					<xs:documentation>
						<description value="CustomsOfficer"/>
						<format value="an..17"/>
						<optionality value="O"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaskDueDate" type="DateTimeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Data i godzina</xs:documentation>
					<xs:documentation source="name" xml:lang="en">Date and time.</xs:documentation>
					<xs:documentation>
						<description value="Date and time"/>
						<format value="an19"/>
						<optionality value="R"/>
						<xsdBaseType value="DateTimeContentType"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AeoType">
		<xs:sequence>
			<xs:annotation>
				<xs:documentation source="doc" xml:lang="pl">Numer AEO.</xs:documentation>
				<xs:documentation source="doc" xml:lang="en">AEO number.</xs:documentation>
				<xs:documentation source="box"/>
			</xs:annotation>
			<xs:element name="NumerAEO">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="RiskAnalysisIdentificationType02">
		<xs:annotation>
			<xs:documentation>
				<usedBy>Used by 4/82 messages: ZWU</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="code" type="RiskAnalysisResultCodeContentType">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Wskaźnik analizy ryzyka.</xs:documentation>
					<xs:documentation>
						<description value="Code"/>
						<codeList code="CL107" type="business" name="RiskAnalysisIndicator"/>
						<format value="a1"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RiskAnalysis" type="RiskAnalysisType" minOccurs="0" maxOccurs="999">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Analiza ryzyka.</xs:documentation>
					<xs:documentation>
						<description value="RISK ANALYSIS"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="RiskAnalysisType">
		<xs:annotation>
			<xs:documentation source="doc" xml:lang="pl">Analiza ryzyka.</xs:documentation>
			<xs:documentation>
				<usedBy>Used by 6/82 messages: CD501C, CD503C, CD538C, CD540C, CD543C, CD563C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" type="SequenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba porządkowa służąca do określenia pozycji w danej kolekcji danych.</xs:documentation>
					<xs:documentation>
						<description value="Sequence number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="declarationGoodsItemNumber" type="GoodItemNumberContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Numer pozycji towarowej, do której przypisane zostało ryzyko.</xs:documentation>
					<xs:documentation>
						<description value="Declaration goods item number"/>
						<format value="n..3"/>
						<optionality value="O"/>
						<xsdBaseType value="DeclarationGoodsItemNumberType_WithZero"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RiskAnalysisResult" type="RiskAnalysisResultType_UE" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Wynik analizy ryzyka.</xs:documentation>
					<xs:documentation>
						<description value="RISK ANALYSIS RESULT"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="RiskAnalysisResultType_UE">
		<xs:annotation>
			<xs:documentation>
				<usedBy>Used by 6/82 messages: CD501C, CD503C, CD538C, CD540C, CD543C, CD563C</usedBy>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" type="SequenceNumberContentType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Liczba porządkowa służąca do określenia pozycji w danej kolekcji danych.</xs:documentation>
					<xs:documentation>
						<description value="Sequence number"/>
						<format value="n..5"/>
						<optionality value="R"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="code" type="CodeContentType03" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod wyniku analizy ryzyka - WAR.</xs:documentation>
					<xs:documentation>
						<description value="Code"/>
						<format value="an..17"/>
						<optionality value="D"/>
						<xsdBaseType value="RiskAnalysisResultCode"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="riskAreaCode" type="RiskAreaCodeContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Unijny obszar ryzyka.</xs:documentation>
					<xs:documentation>
						<description value="Risk area code"/>
						<codeList code="CL740" type="business" name="RiskAreaCode"/>
						<format value="an..7"/>
						<optionality value="D"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="text" type="FreeText512ContentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Uwagi dotyczące ryzyka.</xs:documentation>
					<xs:documentation>
						<description value="Text"/>
						<format value="an..512"/>
						<optionality value="O"/>
						<xsdBaseType value="AlphaNumeric_MAX512"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--=========================================================================-->
	<!--===== simpleTypes e-STATUS                                               -->
	<!--=========================================================================-->
	<!--=========================================================================-->
	<!--===== simpleTypes MESSAGE_STATUS                                         -->
	<!--=========================================================================-->
	<xs:simpleType name="VersionType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="3"/>
			<xs:pattern value="1\.0"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="messageSenderContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="messageRecipientContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="messageIdentificationContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="preparationDateAndTimeContentType">
		<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>
	<!--xs:simpleType name="messageType">
		<xs:restriction base="xs:string">
			<xs:minLength value="4"/>
			<xs:maxLength value="5"/>
		</xs:restriction>
	</xs:simpleType-->
	<xs:simpleType name="messageType">
		<xs:restriction base="xs:token">
			<xs:enumeration value="IEP01"/>
			<xs:enumeration value="IEP03"/>
			<xs:enumeration value="IEP04"/>
			<xs:enumeration value="IEP17"/>
			<xs:enumeration value="IEP19"/>
			<xs:enumeration value="IEP23"/>
			<xs:enumeration value="IEP29"/>
			<xs:enumeration value="IEP46"/>
			<xs:enumeration value="IEP26"/>
			<xs:enumeration value="IEP28"/>
			<xs:enumeration value="IEP560"/>
			<xs:enumeration value="IEP40"/>
			<xs:enumeration value="IEP41"/>
			<xs:enumeration value="IEP30"/>
			<xs:enumeration value="IEP32"/>
			<xs:enumeration value="IEP35"/>
			<xs:enumeration value="IEP36"/>
			<xs:enumeration value="IEP38"/>
			<xs:enumeration value="IEP69"/>
			<xs:enumeration value="IEP70"/>
			<xs:enumeration value="IEP25"/>
			<xs:enumeration value="IEP27"/>
			<xs:enumeration value="XXXX">
				<xs:annotation>
					<xs:documentation>DESTINATION CONTROL RESULTS TO AES</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CorrelationIdentifierContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MessageExpirationTimestampType">
		<xs:restriction base="xs:dateTime"/>
	</xs:simpleType>
	<xs:simpleType name="operatorEmailContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="320"/>
			<xs:pattern value="[A-Za-z0-9]+((\.|-|_)[A-Za-z0-9]+)*@[A-Za-z0-9]+((\.|-|_)[A-Za-z0-9]+)*\.[A-Za-z]{2,}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="officeIdentifierContentType">
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[A-Z0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<!--=========================================================================-->
	<!--===== BooleanContentType                                                 -->
	<!--=========================================================================-->
	<!--CL111-->
	<xs:simpleType name="BooleanContentType">
		<xs:restriction base="xs:string">
			<xs:length value="1"/>
			<xs:enumeration value="0">
				<xs:annotation>
					<xs:documentation>No</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="1">
				<xs:annotation>
					<xs:documentation>Yes</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<!--=========================================================================-->
	<!--===== CountryCodeContentType                                               -->
	<!--=========================================================================-->
	<xs:simpleType name="CountryCodeContentType">
		<xs:annotation>
			<xs:documentation>
                CL008
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<!--=========================================================================-->
	<!--===== MRNContentType                                                     -->
	<!--=========================================================================-->
	<xs:simpleType name="MRNContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="18"/>
		</xs:restriction>
	</xs:simpleType>
	<!--=========================================================================-->
	<!--===== MRNContentType                                                     -->
	<!--=========================================================================-->
	<xs:simpleType name="LRNContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="22"/>
		</xs:restriction>
	</xs:simpleType>
	<!--========================================================================-->
	<!--===== NameContentType                                                    -->
	<!--=========================================================================-->
	<xs:simpleType name="NameContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<!--========================================================================-->
	<!--===== NameContentType                                                    -->
	<!--=========================================================================-->
	<xs:simpleType name="TraderIdentificationContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DeclarationTypeContentType">
		<xs:annotation>
			<xs:documentation>
                CL231
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="5"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RequestTypeContentType">
		<xs:annotation>
			<xs:documentation>
                Code List numbering is defined in ARIS Platform. The final number of the CL once created in CS/RD2 may be different.
                CL621
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DateContentType">
		<xs:annotation>
			<xs:documentation>Date format</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:date">
			<xs:pattern value="\d{4}-\d{2}-\d{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MassContentType">
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="16"/>
			<xs:fractionDigits value="6"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TotalNumberOfItemsContentType">
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="5"/>
		</xs:restriction>
		<!--xs:restriction base="xs:nonNegativeInteger"-->
	</xs:simpleType>
	<xs:simpleType name="TotalPackagesContentType">
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="8"/>
		</xs:restriction>
		<!--xs:restriction base="xs:nonNegativeInteger"-->
	</xs:simpleType>
	
	
	<!--================================================================================-->
	<!--===== nonNegativeInteger                                                                 -->
	<!--================================================================================-->
	<xs:simpleType name="nonNegativeInteger">
		<xs:annotation>
			<xs:documentation>Calendar dates are represented yyyy-mm-dd format, following ISO 8601. This is a W3C XML Schema date type, but without the optional timezone data.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:pattern value="[0-9]{1}"/>
		</xs:restriction>
		<!-- Updated -->
	</xs:simpleType>
	<xs:simpleType name="CustomsOfficeReferenceNumberContentType">
		<xs:restriction base="xs:string">
			<xs:length value="8"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ProofStatusContentType">
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[0-9]{2}"/>
		</xs:restriction>
		<!--xs:restriction base="xs:string"-->
		<!--xs:enumeration value="E-Waiting RA Results"/>
			<xs:enumeration value="E-Waiting Control Decision"/>
			<xs:enumeration value="E-Waiting for Documentary Control Result"/>
			<xs:enumeration value="E-Waiting for Supplementary Documents"/>
			<xs:enumeration value="E-Waiting for Physical Control Decision"/>
			<xs:enumeration value="E-Waiting for Physical Control Result"/>
			<xs:enumeration value="E-Waiting for Endorsement Decision"/>
			<xs:enumeration value="E-Waiting for Extended Validity Period Decision"/>
			<xs:enumeration value="E-Registered"/>
			<xs:enumeration value="E-Rejected"/>
			<xs:enumeration value="P-Waiting RA Results"/>
			<xs:enumeration value="P-Waiting Control Decision"/>
			<xs:enumeration value="P-Waiting for Documentary Control Result"/>
			<xs:enumeration value="P-Waiting for Supplementary Documents"/>
			<xs:enumeration value="P-Waiting for Physical Control Decision"/>
			<xs:enumeration value="P-Waiting for Physical Control Result"/>
			<xs:enumeration value="Waiting Proof Usage Decision"/>
			<xs:enumeration value="P-Used"/>
			<xs:enumeration value="E-Expired"/-->
		<!--xs:restriction base="xs:integer"-->
	</xs:simpleType>
	<xs:simpleType name="CustomsOfficerContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DateTimeContentType">
		<xs:annotation>
			<xs:documentation>Date time format</xs:documentation>
		</xs:annotation>
		<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>
	<xs:simpleType name="NumberOfDaysContentType">
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="3"/>
		</xs:restriction>
		<!--xs:restriction base="xs:nonNegativeInteger"-->
	</xs:simpleType>
	<xs:simpleType name="TypeOfAuthorisationContentType">
		<xs:annotation>
			<xs:documentation>
                CL605
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="AuthorisationNumberContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TraderIdentificationTypeContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="5"/>
			<xs:enumeration value="EORI"/>
			<xs:enumeration value="VAT"/>
			<xs:enumeration value="NATID"/>
			<xs:enumeration value="ECAS"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FreeText512ContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="512"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LanguageCodeContentType">
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TraderNameContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ContainerIdentificationNumberContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="GoodItemNumberContentType">
		<xs:annotation>
			<xs:documentation>
                This defines the incremental Good Item Number numeric simple type.
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="5"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="UUIDContentType">
		<xs:restriction base="xs:string">
			<xs:length value="36"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DocumentReferenceNumberContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DocumentTypeContentType">
		<xs:annotation>
			<xs:documentation>
                In case of the DocumentCategory is "Previous Documents" then the validation will be according to CL214POUS;
                In case of the DocumentCategory is "Supporting Documents" then the validation will be according to CL213POUS;
                In case of the DocumentCategory is "Transport Documents" then the validation will be according to CL754POUS.
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DocumentReferenceContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TypeOfLocationContentType">
		<xs:annotation>
			<xs:documentation>
                CL347
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="QualifierOfIdentificationContentType">
		<xs:annotation>
			<xs:documentation>
                CL157
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="LocationOfGoodsAdditionalIdentifierContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CUSCodeContentType">
		<xs:restriction base="xs:string">
			<xs:length value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StreetAndNumberContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PostcodeContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>			
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CityContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CommunicationTypeContentType">
		<xs:annotation>
			<xs:documentation>
                CL132
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="BinaryFileIdentificationContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>			
			<xs:maxLength value="256"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FreeText256ContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>			
			<xs:maxLength value="256"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MimeContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="HouseNumberContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<!--xs:simpleType name="CoordinateContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType-->
	<xs:simpleType name="CoordinateContentType">
        <xs:restriction base="xs:string">
            <xs:pattern value="[+-]?((0?[0-9]?|1[0-7])[0-9]\.[0-9]{5,7}|180.000000?0?)" />
        </xs:restriction>
    </xs:simpleType>
	<xs:simpleType name="HarmonizedSystemSubHeadingCodeContentType">
		<xs:restriction base="xs:string">
			<xs:length value="6"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CombinedNomenclatureCodeContentType">
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NumberOfPackagesContentType">
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="8"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TypeOfPackagesContentType">
		<xs:annotation>
			<xs:documentation>
                CL017POUS
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="UNLocodeContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RiskAnalysisResultCodeContentType">
		<xs:annotation>
			<xs:documentation>
                CL107
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
		<xs:simpleType name="RiskAreaCodeContentType">
		<xs:annotation>
			<xs:documentation>
                CL740
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="7"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RiskAnalysisResultDescriptionContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="350"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RiskAnalysisFilterResultContentType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Risk Identified"/>
			<xs:enumeration value="Risk not Identified"/>
			<xs:enumeration value="Risk Analysis N/A"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EndorsementMethodContentType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Manually"/>
			<xs:enumeration value="Automatically"/>
			<xs:enumeration value="NATL System"/>
			<xs:enumeration value="NULL"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PresentationNumberContentType">
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="QueryResponseInformationContentType">
		<xs:annotation>
			<xs:documentation>
                CL124
                Code List numbering is defined in ARIS Platform. The final number of the CL once created in CS/RD2 may be different
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer"/>
	</xs:simpleType>
	<xs:simpleType name="DocumentCategoryGSContentType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Previous Document"/>
			<xs:enumeration value="Supporting Document"/>
			<xs:enumeration value="Transport Document"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DocumentCategoryGIContentType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Previous Document"/>
			<xs:enumeration value="Supporting Document"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EndorsementControlResultContentType">
		<xs:annotation>
			<xs:documentation>
                CL047
            </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="SequenceNumberContentType">
		<xs:annotation/>
		<xs:restriction base="xs:token">
			<xs:pattern value="[0-9]{1,5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodeContentType02">
		<xs:restriction base="xs:token">
			<xs:pattern value=".{5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StatusContentType02">
		<xs:restriction base="xs:token">
			<xs:pattern value="[0-9]{1}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ErrorContentType">
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[0-9][0-9]"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ErrorPointerContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="210"/>
			<xs:pattern value=".{1,210}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ErrorReasonContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="200"/>
			<xs:pattern value=".{1,200}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OriginalAttributeValueContentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="140"/>
			<xs:pattern value=".{1,140}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ControlNotificationDateAndTimeContentType">
		<xs:restriction base="DateTimeType"/>
	</xs:simpleType>
	<xs:simpleType name="NotificationTypeContentType">
		<xs:restriction base="xs:token">
			<xs:pattern value="[0-9]{1}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DateTimeType">
		<xs:annotation>
			<xs:documentation>The date is in the Common Era (minus sign in years is not permitted) and time zone although not included UTC is implied</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:dateTime">
			<xs:pattern value="\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonNIPType">
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonPESELType">
		<xs:restriction base="xs:string">
			<xs:length value="11"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonREGONType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="14"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ContentType03">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AttributeInTheDocumentType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1024"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ValueBeforeChangeType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1024"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ValueAfterChangeType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1024"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PhoneNumberType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
		<xs:simpleType name="CodeContentType03">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>	
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodeContentType04">
		<xs:restriction base="xs:string">
			<xs:minLength value="4"/>	
			<xs:maxLength value="5"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>