<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ie="http://www.icisnet.gr/emcs/v1.03/ep04/ie" xmlns:emcs="http://www.icisnet.gr/emcs/v1.03/types" xmlns:tms="http://www.icisnet.gr/emcs/v1.03/tms" xmlns:tcl="http://www.icisnet.gr/emcs/v1.03/tcl" xmlns:doc="http://www.icisnet.gr/emcs/v1.03/doc" targetNamespace="http://www.icisnet.gr/emcs/v1.03/ep04/ie" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.03">
  <!--=========================================-->
  <!--===== EP04:N_PRD_REF -->
  <!--===== Λάθη Δελτίου Παραγωγής -->
  <!--=========================================-->
  <!--===== Imports =====-->
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/types" schemaLocation="types.xsd" />
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/tms" schemaLocation="tms.xsd" />
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/tcl" schemaLocation="tcl.xsd" />
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/doc" schemaLocation="doc.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="EP04A" type="ie:EP04AType" />
  <!--===== EMCS Data Groups Declarations =====-->
  <xs:complexType name="EP04AType">
    <xs:sequence>
      <xs:element name="Header" type="tms:HeaderType" />
      <xs:element name="Body" type="ie:BodyType" />
    </xs:sequence>
  </xs:complexType>
  <!--===== IE Specific Data Groups Declarations =====-->
  <xs:complexType name="BodyType">
    <xs:sequence>
      <xs:element name="ProductionVoucherRefusal" type="ie:ProductionVoucherRefusalType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ProductionVoucherRefusalType">
    <xs:sequence>
      <xs:element name="Attributes" type="ie:AttributesType" />
      <xs:element name="NationalError" type="ie:NationalErrorType" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AttributesType">
    <xs:sequence>
      <xs:element name="DeclarationReferenceNumber" type="emcs:DeclarationReferenceNumberType" minOccurs="0" />
      <xs:element name="LocalReferenceNumber" type="emcs:LocalReferenceNumberType" />
      <xs:element name="RejectionDateAndTime" type="emcs:DateTimeType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NationalErrorType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="NATIONAL ERROR" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NationalErrorMessage" type="emcs:NationalErrorMessageType" />
      <xs:element name="NationalErrorPointer" type="emcs:NationalErrorPointerType" minOccurs="0" />
      <xs:element name="NationalOriginalAttributeValue" type="emcs:NationalOriginalAttributeValueType" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

