<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
  <!--=========================================-->
  <!--===== IE13:I_IMP_E_AMD  -->
  <!--===== E-Commerce Declaration Amendment  -->
  <!--===== ICS_P1 Phase Definition  -->
  <!--===== Message Specifications for IMPORT v1.00  -->
  <!--===== XSD version v1.22  -->
  <!--=========================================-->
  <!--===== Includes =====-->
  <xs:include schemaLocation="doc.xsd" />
  <xs:include schemaLocation="complex_types_ics.xsd" />
  <xs:include schemaLocation="simple_types_ics.xsd" />
  <xs:include schemaLocation="tcl_ics.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="IE13A" type="IE13A" />
  <!--===== Root Element Content =====-->
  <xs:complexType name="IE13A">
    <xs:sequence>
      <xs:element name="MesSenMES3" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesRecMES6" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message recipient" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfPreMES9" type="DatePrepType">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimOfPreMES10" type="TimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PriMES15" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Priority" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TesIndMES18" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Test indicator" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesIdeMES19" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Message identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesTypMES20" type="MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CorIdeMES25" type="Alphanumeric_Max14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Correlation identifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HEAHEA" type="IE13_HEAHEAType">
        <xs:annotation>
          <xs:documentation>
            <description value="HEADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONEXPMES" type="IE13_CONEXPMESType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNOR) EXPORTER" />
            <rule name="R920" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONIMPMES" type="IE13_CONIMPMESType">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNEE) IMPORTER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REPREP" type="IE13_REPREPType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="REPRESENTATIVE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDFISREF" type="IE13_ADDFISREFType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDITIONAL FISCAL REFERENCE" />
            <rule name="C909" />
            <condition name="C909" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GOOITEGDS" type="IE13_GOOITEGDSType" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="GOODS ITEM" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRADAT" type="IE13_TRADATType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(DATA) TRANSACTION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMPCUSOFF" type="IMPCUSOFFType">
        <xs:annotation>
          <xs:documentation>
            <description value="(IMPORT) CUSTOMS OFFICE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESDECL" type="IE13_MESDECLType">
        <xs:annotation>
          <xs:documentation>
            <description value="DECLARANT" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== MESSAGE Content =====-->
  <!--===== HEADER =====-->
  <xs:complexType name="IE13_HEAHEAType">
    <xs:annotation>
      <xs:documentation>
        <description value="HEADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocNumHEA5" type="MRNType">
        <xs:annotation>
          <xs:documentation>
            <description value="Document/reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TypOfDecHEA24" type="Alphanumeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of declaration" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecFor" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration Form" />
            <codeList name="ΤύποςΔιασάφησηςΒάσειΑξίαςΕμπορευμάτων" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOfDesCodHEA30" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of destination code" />
            <rule name="R918" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AgrLocOfGooCodHEA38" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Agreed location of goods, code" />
            <rule name="C939" />
            <rule name="CN0034" />
            <rule name="CN0040" />
            <condition name="C939" />
            <condition name="CN0034" />
            <condition name="CN0040" />
            <codeList name="AgreedLocationOfGoodsCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AgrLocOfGooHEA39" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Agreed location of goods" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOfDisCodHEA55" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of dispatch/export code" />
            <rule name="R914" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InlTraModHEA75" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Inland transport mode" />
            <rule name="R921" />
            <codeList name="TransportMode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraModAtBorHEA76" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport mode at border" />
            <rule name="R914" />
            <codeList name="TransportMode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooIteNum" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods item number" />
            <rule name="R939" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeOfMeaOfTraCroHEA85" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border" />
            <rule name="C910" />
            <condition name="C910" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ConIndHEA96" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Containerised indicator" />
            <rule name="R914" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AccDatHEA158" type="DateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Acceptance date" />
            <rule name="C938" />
            <condition name="C938" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdPlaHEA598" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amendment place" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdDatHEA599" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of amendment" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecDatHEA383" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TypOfDecBx12HEA651" type="Alpha_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of declaration (Box 1.2)" />
            <codeList name="TypeOfDeclarationBox" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ManEntNumHEA1028" type="Alphanumeric_Max6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Manual Entry Number" />
            <rule name="C936" />
            <condition name="C936" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ManEntYeaHEA1029" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Manual Entry Year" />
            <rule name="C936" />
            <rule name="R912" />
            <condition name="C936" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LRNHEA01" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="LRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MetOfPayHEA590" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Method of payment" />
            <rule name="C925" />
            <condition name="C925" />
            <codeList name="MethodOfPayment" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DefPay" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Deferred payment" />
            <rule name="C921" />
            <rule name="C937" />
            <condition name="C921" />
            <condition name="C937" />
            <codeList name="PostponedPaymentCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumUCR" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number/UCR" />
            <rule name="R913" />
            <rule name="R925" />
            <rule name="R925" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNOR) EXPORTER =====-->
  <xs:complexType name="IE13_CONEXPMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNOR) EXPORTER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONEXPMES" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IDETYPCONEXP" type="Numeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity Type" />
            <codeList name="IdentityType" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdNumCONEXPMES2" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identification number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDCONEXPMES" type="ADDCONEXPMESType">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDRESS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNEE) IMPORTER =====-->
  <xs:complexType name="IE13_CONIMPMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNEE) IMPORTER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONIMPMES" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IDETYPCONIMP" type="Numeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity Type" />
            <codeList name="IdentityType" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdNumCONIMPMES2" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identification number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDCONIMPMES" type="IE13_ADDCONIMPMESType">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDRESS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ADDRESS =====-->
  <xs:complexType name="IE13_ADDCONIMPMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="ADDRESS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConCouADDIMPMES1" type="Alpha_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Consignee Country" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumADDIMPMES2" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PostcodADDIMPMES3" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitADDIMPMES4" type="CityType">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNum" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmaAdd" type="Alphanumeric_Max256">
        <xs:annotation>
          <xs:documentation>
            <description value="e-mail address" />
            <rule name="R916" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== REPRESENTATIVE =====-->
  <xs:complexType name="IE13_REPREPType">
    <xs:annotation>
      <xs:documentation>
        <description value="REPRESENTATIVE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IdNumREPMES" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identification number" />
            <rule name="R915" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REPSTACO" type="Numeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Representative Status Code" />
            <rule name="C908" />
            <condition name="C908" />
            <codeList name="RepresentativeStatusCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONPERREPMES" type="IE13_CONPERREPMESType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="CONTACT PERSON" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CONTACT PERSON =====-->
  <xs:complexType name="IE13_CONPERREPMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTACT PERSON" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONPERREPMES" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <rule name="R945" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNumCONPERREPMES" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
            <rule name="R945" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmaAddCONPERREPMES" type="Alphanumeric_Max256">
        <xs:annotation>
          <xs:documentation>
            <description value="e-mail address" />
            <rule name="R916" />
            <rule name="R945" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ADDITIONAL FISCAL REFERENCE =====-->
  <xs:complexType name="IE13_ADDFISREFType">
    <xs:annotation>
      <xs:documentation>
        <description value="ADDITIONAL FISCAL REFERENCE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Rol" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Role" />
            <rule name="C920" />
            <rule name="R943" />
            <condition name="C920" />
            <codeList name="ΚωδικόςΡόλουRoleCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VatIdeNum" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="VAT identification number" />
            <rule name="C919" />
            <condition name="C919" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== GOODS ITEM =====-->
  <xs:complexType name="IE13_GOOITEGDSType">
    <xs:annotation>
      <xs:documentation>
        <description value="GOODS ITEM" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumGDS7" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number" />
            <rule name="R005" />
            <rule name="R007" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DesOfGooGOOITEMES" type="Alphanumeric_Max512">
        <xs:annotation>
          <xs:documentation>
            <description value="Description of goods" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumUcrGOOITEMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number/UCR" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GroMasGOOITEMES" type="Decimal_16_6">
        <xs:annotation>
          <xs:documentation>
            <description value="Gross mass" />
            <rule name="TR0021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NetMasGOOITEMES" type="Decimal_16_6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Net mass" />
            <rule name="TR0021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProReqGDI1" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Procedure requested" />
            <rule name="R914" />
            <rule name="R917" />
            <rule name="R942" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreProGDI1" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous Procedure" />
            <rule name="R942" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOfOriGDI1" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of Origin" />
            <rule name="C913" />
            <rule name="C913" />
            <condition name="C913" />
            <condition name="C913" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Pre4046" type="Numeric_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Preference" />
            <rule name="C914" />
            <condition name="C914" />
            <codeList name="Κατασταση" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SupUniGOOITEMES" type="Decimal_16_6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Supplementary units" />
            <rule name="C922" />
            <condition name="C922" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IteAmoInvGOOITEMES" type="Decimal_16_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Item amount invoiced" />
            <rule name="R914" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IntrValGOOITEMES" type="Decimal_16_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Intrinsic value" />
            <rule name="C923" />
            <condition name="C923" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurGOOITEMES" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Currency" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDPROGOOITEMES" type="IE13_ADDPROGOOITEMESType" maxOccurs="9">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDITIONAL PROCEDURE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PREADMREFAR2" type="IE13_PREADMREFAR2Type" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="PREVIOUS ADMINISTRATIVE REFERENCES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PRODOCDC2" type="IE13_PRODOCDC2Type" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="PRODUCED DOCUMENTS/CERTIFICATES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SPEMENMT2" type="IE13_SPEMENMT2Type" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="SPECIAL MENTIONS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EXP" type="IE13_EXPType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNOR) EXPORTER" />
            <rule name="R920" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COMCODGODITM" type="IE13_COMCODGODITMType">
        <xs:annotation>
          <xs:documentation>
            <description value="(CODE) COMMODITY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONNR2" type="IE13_CONNR2Type" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="CONTAINERS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PACGS2" type="IE13_PACGS2Type" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="PACKAGES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TAXADDELE100" type="TAXADDELE100Type" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="(TAXES) ADDITIONAL ELEMENTS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDREFGOOITEMES" type="ADDREFGOOITEMESType" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDITIONAL REFERENCE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRADOCGOOITEMES" type="IE13_TRADOCGOOITEMESType" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="TRANSPORT DOCUMENT" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRAANDINSCOSDES" type="TRAANDINSCOSDESType" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="TRANSPORT AND INSURANCE COSTS TO THE DESTINATION" />
            <rule name="C924" />
            <condition name="C924" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REL800" type="IE13_REL800Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="RELIEFS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ADDITIONAL PROCEDURE =====-->
  <xs:complexType name="IE13_ADDPROGOOITEMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="ADDITIONAL PROCEDURE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AddProADDPROGOOITEMES" type="Alphanumeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional procedure" />
            <rule name="C916" />
            <rule name="C918" />
            <rule name="R922" />
            <rule name="R924" />
            <rule name="R926" />
            <rule name="R927" />
            <rule name="R936" />
            <rule name="R940" />
            <rule name="R941" />
            <condition name="C916" />
            <condition name="C918" />
            <codeList name="ΠρόσθετοςΚωδικόςΚαθεστώτος" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== PREVIOUS ADMINISTRATIVE REFERENCES =====-->
  <xs:complexType name="IE13_PREADMREFAR2Type">
    <xs:annotation>
      <xs:documentation>
        <description value="PREVIOUS ADMINISTRATIVE REFERENCES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PreDocTypAR21" type="Alphanumeric_Max6">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocRefAR26" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocCatPREADMREF21" type="Alpha_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous Document Category" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocMrnAR1004" type="Alphanumeric_Max18" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document MRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocIteAR1005" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document item number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocQuaAR1006" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== PRODUCED DOCUMENTS/CERTIFICATES =====-->
  <xs:complexType name="IE13_PRODOCDC2Type">
    <xs:annotation>
      <xs:documentation>
        <description value="PRODUCED DOCUMENTS/CERTIFICATES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocTypDC21" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Document type" />
            <rule name="R944" />
            <codeList name="DocumentTypeCommon" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRef" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== SPECIAL MENTIONS =====-->
  <xs:complexType name="IE13_SPEMENMT2Type">
    <xs:annotation>
      <xs:documentation>
        <description value="SPECIAL MENTIONS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AddInfCodMT23" type="Alphanumeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional information coded" />
            <codeList name="AdditionalInformationIdCommon" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AddInfTex" type="Alphanumeric_Max512" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional information text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNOR) EXPORTER =====-->
  <xs:complexType name="IE13_EXPType">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNOR) EXPORTER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Nam" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IDETYPGOOCONEXP" type="Numeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity Type" />
            <codeList name="ΕCommerceIdentityTypes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeNum" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identification number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Add" type="AddType">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDRESS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CODE) COMMODITY =====-->
  <xs:complexType name="IE13_COMCODGODITMType">
    <xs:annotation>
      <xs:documentation>
        <description value="(CODE) COMMODITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ComNomCOMCODGODITM" type="Alphanumeric_10">
        <xs:annotation>
          <xs:documentation>
            <description value="Combined Nomenclature" />
            <rule name="R0032" />
            <rule name="R928" />
            <rule name="R930" />
            <rule name="R931" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARCodCMD1" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARFirAddCodCMD1" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC first additional code" />
            <rule name="R929" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARSecAddCodCMD1" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC second additional code" />
            <rule name="R929" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NAtAddCodCMD1" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="National additional code" />
            <rule name="R929" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CONTAINERS =====-->
  <xs:complexType name="IE13_CONNR2Type">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConNumNR21" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
            <rule name="R919" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== PACKAGES =====-->
  <xs:complexType name="IE13_PACGS2Type">
    <xs:annotation>
      <xs:documentation>
        <description value="PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NumOfPac" type="Numeric_Max8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
            <rule name="C912" />
            <rule name="TR0022" />
            <condition name="C912" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="KinOfPacGS23" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
            <rule name="R914" />
            <codeList name="KindOfPackages" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumOfPac" type="Alphanumeric_Max512" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== TRANSPORT DOCUMENT =====-->
  <xs:complexType name="IE13_TRADOCGOOITEMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="TRANSPORT DOCUMENT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TypTRADOC" type="Alphanumeric_Max4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Type" />
            <rule name="R932" />
            <codeList name="DocumentTypeCommon" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumTRADOC" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== RELIEFS =====-->
  <xs:complexType name="IE13_REL800Type">
    <xs:annotation>
      <xs:documentation>
        <description value="RELIEFS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RelRelCod02" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Relief Code" />
            <rule name="R918" />
            <codeList name="ReliefCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (DATA) TRANSACTION =====-->
  <xs:complexType name="IE13_TRADATType">
    <xs:annotation>
      <xs:documentation>
        <description value="(DATA) TRANSACTION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CurTRD1" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Currency" />
            <rule name="R914" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotAmoInvTRD1" type="Decimal_15_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Total amount invoiced" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ExcRatTRD1" type="Decimal_6_5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Exchange rate" />
            <rule name="C556" />
            <condition name="C556" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== DECLARANT =====-->
  <xs:complexType name="IE13_MESDECLType">
    <xs:annotation>
      <xs:documentation>
        <description value="DECLARANT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Spm" type="Alphanumeric_5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Special Mention" />
            <rule name="C906" />
            <condition name="C906" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NamDECMES" type="Alphanumeric_Max70">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdNumDECMES" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Identification number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDDECMES" type="ADDDECMESType">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDRESS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONPERDECMES" type="IE13_CONPERDECMESType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="CONTACT PERSON" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CONTACT PERSON =====-->
  <xs:complexType name="IE13_CONPERDECMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTACT PERSON" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONPERDECMES" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <rule name="R945" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNumCONPERDECMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
            <rule name="R945" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmaAddCONPERDECMES" type="Alphanumeric_Max256" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="e-mail address" />
            <rule name="R916" />
            <rule name="R945" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

