<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="dgtaxud:ics:messages" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="dgtaxud:ics:messages" version="1.191">
  <!--=========================================-->
  <!--===== IE05:I_IMP_E_AMR  -->
  <!--===== E-Commerce Declaration Amendment Rejection  -->
  <!--===== 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="IE05A" type="tns:IE05AType" />
  <!--===== Root Element Content =====-->
  <xs:complexType name="IE05AType">
    <xs:sequence>
      <xs:element name="MesSenMES3" type="tns:Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesRecMES6" type="tns:Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message recipient" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfPreMES9" type="tns:DatePrepType">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimOfPreMES10" type="tns:TimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PriMES15" type="tns:Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Priority" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TesIndMES18" type="tns: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="tns:Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Message identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesTypMES20" type="tns:MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CorIdeMES25" type="tns:Alphanumeric_Max14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Correlation identifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HEAHEA" type="tns:IE05_HEAHEAType">
        <xs:annotation>
          <xs:documentation>
            <description value="HEADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FUNERRER1" type="tns:FUNERRER1Type" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="FUNCTIONAL ERROR" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== MESSAGE Content =====-->
  <!--===== HEADER =====-->
  <xs:complexType name="IE05_HEAHEAType">
    <xs:annotation>
      <xs:documentation>
        <description value="HEADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocNumHEA5" type="tns:MRNType">
        <xs:annotation>
          <xs:documentation>
            <description value="Document/reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdDatHEA599" type="tns:Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of amendment" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmeRejDatHEA603" type="tns:DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Amendment rejection date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmeRejMotCodHEA604" type="tns:Numeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amendment rejection motivation code" />
            <codeList name="AmendmentRejectionMotivationCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmeRejMotTexHEA605" type="tns:Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amendment rejection motivation text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LRNHEA01" type="tns:Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="LRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

