<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceListRQ" xmlns:cns="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceCommonTypes" elementFormDefault="qualified" targetNamespace="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceListRQ" version="2.000">
  <xs:import namespace="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceCommonTypes" schemaLocation="IATA_PaymentClearanceListRQ_CommonTypes.xsd"/>
  <xs:element name="IATA_PaymentClearanceListRQ">
    <xs:annotation>
      <xs:documentation>The ClearanceListRQ retrieves one or a list of Clearances that match one or more search criteria.
Search criteria may include any supported Clearance Reference information, which may be the ClearanceID, Remittance Date, Settlement Date, AgreementID, CommitmentID or other supported Clearance reference , or combination of supported Clearance references.
This clearance related message is about the flow of money and it cannot, under any circumstances, be used, treated or considered as legal invoice.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice maxOccurs="1" minOccurs="1">
          <xs:annotation>
            <xs:documentation>choice of filtering criteria (i.e. filter by ..., choice)</xs:documentation>
          </xs:annotation>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="ClearanceFilterCriteria" type="cns:ClearanceFilterCriteriaType">
            <xs:annotation>
              <xs:documentation>Filters based on various dimensions of the clearance.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="ClearanceID" type="cns:ClearanceID_Type">
            <xs:annotation>
              <xs:documentation>this is an identifier generated by the party requesting the clearance that uniquely identifies the clearance transaction. It provides the necessary link for financial audit connecting the sale to the financial records. This field is required because no other existing data elements could be used by the financial systems or could provide unique identification. The identifier is globally unique for the settlement by design.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="OtherID" type="cns:OtherID_Type">
            <xs:annotation>
              <xs:documentation>Agreement and Commitment identifiers with possibility to filter by either one or both.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
        <xs:element maxOccurs="1" minOccurs="0" name="PayloadStandardAttributes" type="cns:IATA_PayloadStandardAttributesType">
          <xs:annotation>
            <xs:documentation>The IATA_PayloadStdAttributes defines the standard attributes that appear on the root element for all IATA payloads.</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>