<?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/xr98/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/xr98/ie" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.03">
  <!--=========================================-->
  <!--===== XR98:N_RFN_GEN -->
  <!--===== Γενικό μήνυμα Επιστροφής ΕΦΚ -->
  <!--=========================================-->
  <!--===== 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="XR98A" type="ie:XR98AType" />
  <!--===== EMCS Data Groups Declarations =====-->
  <xs:complexType name="XR98AType">
    <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="RefundsRequestStatusInformation" type="ie:RefundsRequestStatusInformationType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RefundsRequestStatusInformationType">
    <xs:sequence>
      <xs:element name="RefundsRequest" type="ie:RefundsRequestType" />
      <xs:element name="Comments" type="ie:CommentsType" minOccurs="0" />
      <xs:element name="OffsetDetails" type="ie:OffsetDetailsType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RefundsRequestType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="REFUNDS REQUEST" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DeclarationReferenceNumber" type="emcs:DeclarationReferenceNumberType" />
      <xs:element name="LocalReferenceNumber" type="emcs:LocalReferenceNumberType" />
      <xs:element name="RefundsRequestStatusCode" type="tcl:RefundsRequestStatusCodes" minOccurs="0" />
      <xs:element name="RefundAmountToBeneficiary" type="emcs:AmountType" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CommentsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="COMMENTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Comments" type="emcs:CommentsType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OffsetDetailsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="OFFSET DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PublicService" type="emcs:PublicServiceType" />
      <xs:element name="OffsetAmount" type="emcs:AmountType" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

