<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:pain.007.001.09"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:iso:std:iso:20022:tech:xsd:pain.007.001.09"
    elementFormDefault="qualified">
  <xs:element name="Document" type="Document_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
  <xs:complexType name="AccountIdentification4Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Account Identification 4Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the unique identification of an account as assigned by the account servicer.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="IBAN" type="IBAN2007Identifier">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">IBAN</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">International Bank Account Number (IBAN) - identifier used internationally by financial institutions to uniquely identify the account of a customer. Further specifications of the format and content of the IBAN can be found in the standard ISO 13616 "Banking and related financial services - International Bank Account Number (IBAN)" version 1997-10-01, or later revisions.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Othr" type="GenericAccountIdentification1">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Other</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification of an account, as assigned by the account servicer, using an identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="AccountIdentification4Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="AccountIdentification4Choice">
        <xs:choice>
          <xs:element name="IBAN" type="IBAN2007Identifier"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ActiveOrHistoricCurrencyAndAmount">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Active Or Historic Currency And Amount</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">A number of monetary units specified in an active or a historic currency where the unit of currency is explicit and compliant with ISO 4217.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="ActiveOrHistoricCurrencyAndAmount_SimpleType">
        <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCode" use="required">
          <xs:annotation>
            <xs:documentation xml:lang="EN" source="Name">Currency</xs:documentation>
            <xs:documentation xml:lang="EN" source="Definition">A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 "Codes for the representation of currencies and funds".</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="ActiveOrHistoricCurrencyAndAmount_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:simpleContent>
      <xs:restriction base="ActiveOrHistoricCurrencyAndAmount">
        <xs:maxInclusive value="999999999.99"/>
        <xs:minInclusive value="0.01"/>
        <xs:fractionDigits value="2"/>
        <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCode_EPC130-08_2023_V1.0_SDD_Core_C2PSP" use="required"/>
      </xs:restriction>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="ActiveOrHistoricCurrencyAndAmount_SimpleType">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Active Or Historic Currency And Amount _Simple Type</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">A number of monetary units specified in an active or a historic currency where the unit of currency is explicit and compliant with ISO 4217.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
      <xs:totalDigits value="18"/>
      <xs:fractionDigits value="5"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ActiveOrHistoricCurrencyCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Active Or Historic Currency Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 "Codes for the representation of currencies and funds".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[A-Z]{3,3}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ActiveOrHistoricCurrencyCode_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:restriction base="ActiveOrHistoricCurrencyCode">
      <xs:enumeration value="EUR">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Euro</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:pattern value="[A-Z]{3,3}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AmendmentInformationDetails13">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Amendment Information Details 13</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details on the list of direct debit mandate elements that have been modified when the amendment indicator has been set.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="OrgnlMndtId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Mandate Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification, as assigned by the creditor, to unambiguously identify the original mandate.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlCdtrSchmeId" type="PartyIdentification135" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Creditor Scheme Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Original creditor scheme identification that has been modified.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlDbtrAcct" type="CashAccount38" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Debtor Account</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Original debtor account that has been modified.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlDbtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Debtor Agent</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Original debtor agent that has been modified.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AmendmentInformationDetails13_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="AmendmentInformationDetails13">
        <xs:sequence>
          <xs:element name="OrgnlMndtId" type="Max35Text" minOccurs="0"/>
          <xs:element name="OrgnlCdtrSchmeId" type="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3" minOccurs="0"/>
          <xs:element name="OrgnlDbtrAcct" type="CashAccount38_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
          <xs:element name="OrgnlDbtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="AnyBICDec2014Identifier">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Any BICDec 2014Identifier</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority, as described in ISO 9362: 2014 - "Banking - Banking telecommunication messages - Business identifier code (BIC)".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="BatchBookingIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Batch Booking Indicator</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Identifies whether the sending party requests a single debit or credit entry per individual transaction or a batch entry for the sum of the amounts of all transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:boolean"/>
  </xs:simpleType>
  <xs:simpleType name="BICFIDec2014Identifier">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">BICFIDec 2014Identifier</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Code allocated to a financial institution by the ISO 9362 Registration Authority as described in ISO 9362: 2014 - "Banking - Banking telecommunication messages - Business identifier code (BIC)".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="BranchAndFinancialInstitutionIdentification6">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Branch And Financial Institution Identification 6</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification of a financial institution or a branch of a financial institution.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FinInstnId" type="FinancialInstitutionIdentification18">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Financial Institution Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification of a financial institution, as assigned under an internationally recognised or proprietary identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BranchAndFinancialInstitutionIdentification6_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="BranchAndFinancialInstitutionIdentification6">
        <xs:sequence>
          <xs:element name="FinInstnId" type="FinancialInstitutionIdentification18_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CashAccount38">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Cash Account 38</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides the details to identify an account.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Id" type="AccountIdentification4Choice">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification for the account between the account owner and the account servicer.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Ccy" type="ActiveOrHistoricCurrencyCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Currency</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Identification of the currency in which the account is held. 

Usage: Currency should only be used in case one and the same account number covers several currencies
and the initiating party needs to identify which currency needs to be used for settlement on the account.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CashAccount38_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CashAccount38">
        <xs:sequence>
          <xs:element name="Id" type="AccountIdentification4Choice"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CashAccount38_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="CashAccount38">
        <xs:sequence>
          <xs:element name="Id" type="AccountIdentification4Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CashAccount38_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3">
    <xs:complexContent>
      <xs:restriction base="CashAccount38">
        <xs:sequence>
          <xs:element name="Id" type="AccountIdentification4Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
          <xs:element name="Ccy" type="ActiveOrHistoricCurrencyCode" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CategoryPurpose1Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Category Purpose 1Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the high level purpose of the instruction based on a set of pre-defined categories.
Usage: This is used by the initiating party to provide information concerning the processing of the payment. It is likely to trigger special processing by any of the agents involved in the payment chain.
      </xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalCategoryPurpose1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Category purpose, as published in an external category purpose code list.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Prtry" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Proprietary</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Category purpose, in a proprietary form.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:simpleType name="ChargeBearerType1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Charge Bearer Type 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies which party(ies) will pay charges due for processing of the instruction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="SLEV">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">FollowingServiceLevel</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Charges are to be applied following the rules agreed in the service level and/or scheme.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CountryCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Country Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[A-Z]{2,2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="CreditorReferenceInformation2">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Creditor Reference Information 2</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Reference information provided by the creditor to allow the identification of the underlying documents.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Tp" type="CreditorReferenceType2" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Type</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the type of creditor reference.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Ref" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reference</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.

Usage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.

If the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CreditorReferenceInformation2_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CreditorReferenceInformation2">
        <xs:sequence>
          <xs:element name="Tp" type="CreditorReferenceType2"/>
          <xs:element name="Ref" type="Max35Text"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CreditorReferenceType1Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Creditor Reference Type 1Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the type of document referred by the creditor.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="DocumentType3Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Type of creditor reference, in a coded form.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="CreditorReferenceType2">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Creditor Reference Type 2</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the type of creditor reference.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CdOrPrtry" type="CreditorReferenceType1Choice">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code Or Proprietary</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Coded or proprietary format creditor reference type.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Issr" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Issuer</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Entity that assigns the credit reference type.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CustomerPaymentReversalV09">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Customer Payment Reversal V09</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Scope
The CustomerPaymentReversal message is sent by the initiating party to the next party in the payment chain. It is used to reverse a payment previously executed.
Usage
The CustomerPaymentReversal message is exchanged between a non-financial institution customer and an agent to reverse a CustomerDirectDebitInitiation message that has been settled. The result will be a credit on the debtor account.
The CustomerPaymentReversal message refers to the original CustomerDirectDebitInitiation message by means of references only or by means of references and a set of elements from the original instruction.
The CustomerPaymentReversal message can be used in domestic and cross-border scenarios.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GrpHdr" type="GroupHeader88">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Group Header</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Set of characteristics shared by all individual transactions included in the message.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlGrpInf" type="OriginalGroupHeader16">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Group Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information concerning the original group of transactions, to which the message refers.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlPmtInfAndRvsl" type="OriginalPaymentInstruction33" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Payment Information And Reversal</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information concerning the original payment information, to which the reversal message refers.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CustomerPaymentReversalV09_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CustomerPaymentReversalV09">
        <xs:sequence>
          <xs:element name="GrpHdr" type="GroupHeader88_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlGrpInf" type="OriginalGroupHeader16_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlPmtInfAndRvsl" type="OriginalPaymentInstruction33_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DateAndPlaceOfBirth1">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Date And Place Of Birth 1</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Date and place of birth of a person.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="BirthDt" type="ISODate">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Birth Date</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Date on which a person is born.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PrvcOfBirth" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Province Of Birth</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Province where a person was born.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CityOfBirth" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">City Of Birth</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">City where a person was born.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtryOfBirth" type="CountryCode">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Country Of Birth</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Country where a person was born.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="DecimalNumber">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Decimal Number</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Number of objects represented as a decimal number, for example 0.75 or 45.6.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="18"/>
      <xs:fractionDigits value="17"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="Document">
    <xs:sequence>
      <xs:element name="CstmrPmtRvsl" type="CustomerPaymentReversalV09"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="DocumentType3Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Document Type 3Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a type of financial or commercial document.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="DISP">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">DispatchAdvice</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Document is a dispatch advice.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FXDR">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">ForeignExchangeDealReference</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Document is a pre-agreed or pre-arranged foreign exchange transaction to which the payment transaction refers.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PUOR">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">PurchaseOrder</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Document is a purchase order.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RADM">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">RemittanceAdviceMessage</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Document is a remittance advice sent separately from the current transaction.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RPIN">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">RelatedPaymentInstruction</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Document is a linked payment instruction to which the current payment instruction is related, for example, in a cover scenario.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCOR">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">StructuredCommunicationReference</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Document is a structured communication reference provided by the creditor to identify the referred transaction.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="Document_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Document">
        <xs:sequence>
          <xs:element name="CstmrPmtRvsl" type="CustomerPaymentReversalV09_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation xml:lang="EN" source="Definition">
Scope
The CustomerPaymentReversal message is sent by the initiating party to the next party in the payment chain. It is used to reverse a payment previously executed.
              </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="ExternalCategoryPurpose1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Category Purpose 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the category purpose, as published in an external category purpose code list.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalLocalInstrument1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Local Instrument 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the external local instrument code in the format of character string with a maximum length of 35 characters.
The list of valid codes is an external code list published separately.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalLocalInstrument1Code_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:restriction base="ExternalLocalInstrument1Code">
      <xs:enumeration value="COR1">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">SEPADirectDebit1DaySettlement</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Optional shorter time cycle (D-1) for SEPA Core Direct Debit

Requester: EPC-3Q2011 CR0148
Last Update: 2011-12-02
Creation Date: 2011-12-02

Additional Information: EMEA,SEPA,EUR,PEACH,DD
          </xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CORE">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">SEPADirectDebitCore</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Transaction is related to SEPA direct debit -core.

Requester: Maintenance SR2009
Last Update: 2009-04-01
Creation Date: 2009-04-01

Additional Information: EMEA,SEPA,EUR,PEACH,DD,Both
          </xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:minLength value="1"/>
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalOrganisationIdentification1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Organisation Identification 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the external organisation identification scheme name code in the format of character string with a maximum length of 4 characters.
The list of valid codes is an external code list published separately.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalPersonIdentification1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Person Identification 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the external person identification scheme name code in the format of character string with a maximum length of 4 characters.
The list of valid codes is an external code list published separately.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalPurpose1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Purpose 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the external purpose code in the format of character string with a maximum length of 4 characters.
The list of valid codes is an external code list published separately.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalReversalReason1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Reversal Reason 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the reversal reason, as published in an external reversal reason code list.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalServiceLevel1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Service Level 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the external service level code in the format of character string with a maximum length of 4 characters.
The list of valid codes is an external code list published separately.
External code sets can be downloaded from www.iso20022.org.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalServiceLevel1Code_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:restriction base="ExternalServiceLevel1Code">
      <xs:enumeration value="SEPA">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">SingleEuroPaymentsArea</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Payment must be executed following the Single Euro Payments Area scheme.

Requester: Maintenance SR2009
Last Update: 2009-04-01
Creation Date: 2009-04-01
          </xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:minLength value="1"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="FinancialInstitutionIdentification18">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Financial Institution Identification 18</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the details to identify a financial institution.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="BICFI" type="BICFIDec2014Identifier" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">BICFI</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Code allocated to a financial institution by the ISO 9362 Registration Authority as described in ISO 9362 "Banking - Banking telecommunication messages - Business identifier code (BIC)".</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Othr" type="GenericFinancialIdentification1" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Other</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification of an agent, as assigned by an institution, using an identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FinancialInstitutionIdentification18_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="FinancialInstitutionIdentification18">
        <xs:sequence>
          <xs:element name="BICFI" type="BICFIDec2014Identifier"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="GenericAccountIdentification1">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Generic Account Identification 1</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information related to a generic account identification.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Id" type="Max34Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identification assigned by an institution.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GenericFinancialIdentification1">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Generic Financial Identification 1</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information related to an identification of a financial institution.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Id" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification of a person.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GenericOrganisationIdentification1">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Generic Organisation Identification 1</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information related to an identification of an organisation.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Id" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identification assigned by an institution.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SchmeNm" type="OrganisationIdentificationSchemeName1Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Scheme Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Issr" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Issuer</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Entity that assigns the identification.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GenericPersonIdentification1">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Generic Person Identification 1</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information related to an identification of a person.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Id" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification of a person.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SchmeNm" type="PersonIdentificationSchemeName1Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Scheme Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Issr" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Issuer</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Entity that assigns the identification.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GenericPersonIdentification1_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="GenericPersonIdentification1">
        <xs:sequence>
          <xs:element name="Id" type="Max35Text"/>
          <xs:element name="SchmeNm" type="PersonIdentificationSchemeName1Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="GroupHeader88">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Group Header 88</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides characteristics shared by all individual transactions included in the message.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MsgId" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Message Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Point to point reference, as assigned by the instructing party, and sent to the next party in the chain to unambiguously identify the message.
Usage: The instructing party has to make sure that MessageIdentification is unique per instructed party for a pre-agreed period.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CreDtTm" type="ISODateTime">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creation Date Time</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Date and time at which the message was created.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NbOfTxs" type="Max15NumericText">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Number Of Transactions</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Number of individual transactions contained in the message.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtrlSum" type="DecimalNumber" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Control Sum</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Total of all individual amounts included in the message, irrespective of currencies.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GrpRvsl" type="TrueFalseIndicator" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Group Reversal</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Indicates whether the reversal applies to the whole group of transactions or to individual transactions within the original group.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InitgPty" type="PartyIdentification135" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Initiating Party</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Party that initiates the reversal message. 
Usage: This can be either the creditor or a party that initiates the reversal of the direct debit on behalf of the creditor.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creditor Agent</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Financial institution servicing an account for the creditor.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GroupHeader88_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="GroupHeader88">
        <xs:sequence>
          <xs:element name="MsgId" type="Max35Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="CreDtTm" type="ISODateTime">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="NbOfTxs" type="Max15NumericText">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">The validation of this data element depends on pre-agreed customer-to-PSP conditions.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="CtrlSum" type="DecimalNumber">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
              <xs:documentation source="Usage Rule">The validation of this data element depends on pre-agreed customer-to-PSP conditions.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="GrpRvsl" type="TrueFalseIndicator" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">It is recommended that "false" is used.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="InitgPty" type="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification6_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only 'BICFI' is allowed.</xs:documentation>
              <xs:documentation source="Rulebook">AT-C002 BIC code of the Creditor PSP.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="IBAN2007Identifier">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">IBAN2007Identifier</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">An identifier used internationally by financial institutions to uniquely identify the account of a customer at a financial institution, as described in the latest edition of the international standard ISO 13616: 2007 - "Banking and related financial services - International Bank Account Number (IBAN)".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ISODate">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">ISODate</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">A particular point in the progression of time in a calendar year expressed in the YYYY-MM-DD format. This representation is defined in "XML Schema Part 2: Datatypes Second Edition - W3C Recommendation 28 October 2004" which is aligned with ISO 8601.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date"/>
  </xs:simpleType>
  <xs:simpleType name="ISODateTime">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">ISODate Time</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
A particular point in the progression of time defined by a mandatory date and a mandatory time component, expressed in either UTC time format (YYYY-MM-DDThh:mm:ss.sssZ), local time with UTC offset format (YYYY-MM-DDThh:mm:ss.sss+/-hh:mm), or local time format (YYYY-MM-DDThh:mm:ss.sss). These representations are defined in "XML Schema Part 2: Datatypes Second Edition - W3C Recommendation 28 October 2004" which is aligned with ISO 8601.
Note on the time format:
1) beginning / end of calendar day
00:00:00 = the beginning of a calendar day
24:00:00 = the end of a calendar day
2) fractions of second in time format
Decimal fractions of seconds may be included. In this case, the involved parties shall agree on the maximum number of digits that are allowed.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:dateTime"/>
  </xs:simpleType>
  <xs:simpleType name="LEIIdentifier">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">LEIIdentifier</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Legal Entity Identifier is a code allocated to a party as described in ISO 17442 "Financial Services - Legal Entity Identifier (LEI)".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[A-Z0-9]{18,18}[0-9]{2,2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="LocalInstrument2Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Local Instrument 2Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Set of elements that further identifies the type of local instruments being requested by the initiating party.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalLocalInstrument1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the local instrument, as published in an external local instrument code list.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="LocalInstrument2Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="LocalInstrument2Choice">
        <xs:choice>
          <xs:element name="Cd" type="ExternalLocalInstrument1Code_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="MandateRelatedInformation14">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Mandate Related Information 14</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details related to a direct debit mandate signed between the creditor and the debtor.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MndtId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Mandate Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification, as assigned by the creditor, to unambiguously identify the mandate.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DtOfSgntr" type="ISODate" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Date Of Signature</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Date on which the direct debit mandate has been signed by the debtor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdmntInd" type="TrueFalseIndicator" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Amendment Indicator</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Indicator notifying whether the underlying mandate is amended or not.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdmntInfDtls" type="AmendmentInformationDetails13" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Amendment Information Details</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">List of mandate elements that have been modified.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ElctrncSgntr" type="Max1025Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Electronic Signature</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Additional security provisions, such as a digital signature, as provided by the debtor.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MandateRelatedInformation14_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="MandateRelatedInformation14">
        <xs:sequence>
          <xs:element name="MndtId" type="Max35Text"/>
          <xs:element name="DtOfSgntr" type="ISODate"/>
          <xs:element name="AmdmntInd" type="TrueFalseIndicator" minOccurs="0"/>
          <xs:element name="AmdmntInfDtls" type="AmendmentInformationDetails13_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
          <xs:element name="ElctrncSgntr" type="Max1025Text" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="Max1025Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 1025Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a character string with a maximum length of 1025 characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="1025"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max140Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 140Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a character string with a maximum length of 140 characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="140"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max140Text_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:restriction base="Max140Text">
      <xs:minLength value="1"/>
      <xs:maxLength value="70"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max15NumericText">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 15Numeric Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a numeric string with a maximum length of 15 digits.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[0-9]{1,15}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max16Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 16Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a character string with a maximum length of 16 characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max34Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 34Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a character string with a maximum length of 34 characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="34"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max35Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 35Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a character string with a maximum length of 35 characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Max70Text">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Max 70Text</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies a character string with a maximum length of 70characters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="70"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="OrganisationIdentification29">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Organisation Identification 29</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous way to identify an organisation.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AnyBIC" type="AnyBICDec2014Identifier" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Any BIC</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Business identification code of the organisation.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LEI" type="LEIIdentifier" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">LEI</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Legal entity identification as an alternate identification for a party.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Othr" type="GenericOrganisationIdentification1" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Other</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification of an organisation, as assigned by an institution, using an identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OrganisationIdentification29_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="OrganisationIdentification29">
        <xs:sequence>
          <xs:element name="AnyBIC" type="AnyBICDec2014Identifier" minOccurs="0"/>
          <xs:element name="LEI" type="LEIIdentifier" minOccurs="0"/>
          <xs:element name="Othr" type="GenericOrganisationIdentification1" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="OrganisationIdentificationSchemeName1Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Organisation Identification Scheme Name 1Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Sets of elements to identify a name of the organisation identification scheme.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalOrganisationIdentification1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the identification scheme, in a coded form as published in an external list.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Prtry" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Proprietary</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the identification scheme, in a free text form.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="OriginalGroupHeader16">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Original Group Header 16</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides details on the original group, to which the message refers.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="OrgnlMsgId" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Message Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Point to point reference, as assigned by the original instructing party, to unambiguously identify the original message.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlMsgNmId" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Message Name Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the original message name identifier to which the message refers.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RvslRsnInf" type="PaymentReversalReason9" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reversal Reason Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides detailed information on the reversal reason.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OriginalGroupHeader16_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="OriginalGroupHeader16">
        <xs:sequence>
          <xs:element name="OrgnlMsgId" type="Max35Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlMsgNmId" type="Max35Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only pain.008.001.08 is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="RvslRsnInf" type="PaymentReversalReason9_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only one occurrence is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">‘Reversal Reason Information’ must be present either in ‘Original Group Information’, ‘Original Payment Information and Reversal’ or ‘Transaction Information’.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="OriginalPaymentInstruction33">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Original Payment Instruction 33</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides details on the original transactions, to which the status report message refers.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RvslPmtInfId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reversal Payment Information Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Unique identification, as assigned by an instructing party for an instructed party, to unambiguously identify the reversed payment information group.
Usage: The instructing party is the party sending the reversal message and not the party that sent the original instruction that is being reversed.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlPmtInfId" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Payment Information Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification, as assigned by the original sending party, to unambiguously identify the original payment information group.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlNbOfTxs" type="Max15NumericText" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Number Of Transactions</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Number of individual transactions contained in the original payment information group.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlCtrlSum" type="DecimalNumber" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Control Sum</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Total of all individual amounts included in the original payment information group, irrespective of currencies.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BtchBookg" type="BatchBookingIndicator" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Batch Booking</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Identifies whether a single entry per individual transaction or a batch entry for the sum of the amounts of all transactions within the group of a message is requested.
Usage: Batch booking is used to request and not order a possible batch booking.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PmtInfRvsl" type="TrueFalseIndicator" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Payment Information Reversal</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Indicates whether or not the reversal applies to the complete original payment information group or to individual transactions within that group.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RvslRsnInf" type="PaymentReversalReason9" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reversal Reason Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides detailed information on the reversal reason.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TxInf" type="PaymentTransaction108" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Transaction Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides information on the original transactions to which the reversal message refers.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OriginalPaymentInstruction33_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="OriginalPaymentInstruction33">
        <xs:sequence>
          <xs:element name="RvslPmtInfId" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlPmtInfId" type="Max35Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlNbOfTxs" type="Max15NumericText" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlCtrlSum" type="DecimalNumber" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="BtchBookg" type="BatchBookingIndicator" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="PmtInfRvsl" type="TrueFalseIndicator" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="RvslRsnInf" type="PaymentReversalReason9_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only one occurence is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">‘Reversal Reason Information’ must be present either in ‘Original Group Information’, ‘Original Payment Information and Reversal’ or ‘Transaction Information’.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="TxInf" type="PaymentTransaction108_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="OriginalTransactionReference28">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Original Transaction Reference 28</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Key elements used to refer the original transaction.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ReqdColltnDt" type="ISODate" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Requested Collection Date</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Date and time at which the creditor requests that the amount of money is to be collected from the debtor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CdtrSchmeId" type="PartyIdentification135" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creditor Scheme Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Credit party that signs the mandate.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PmtTpInf" type="PaymentTypeInformation27" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Payment Type Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Set of elements used to further specify the type of transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MndtRltdInf" type="MandateRelatedInformation14" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Mandate Related Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides further details of the mandate signed between the creditor and the debtor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RmtInf" type="RemittanceInformation16" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Remittance Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UltmtDbtr" type="Party40Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Ultimate Debtor</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Ultimate party that owes an amount of money to the (ultimate) creditor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Dbtr" type="Party40Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Debtor</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Party that owes an amount of money to the (ultimate) creditor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DbtrAcct" type="CashAccount38" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Debtor Account</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Debtor Agent</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Financial institution servicing an account for the debtor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creditor Agent</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Financial institution servicing an account for the creditor.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Cdtr" type="Party40Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creditor</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Party to which an amount of money is due.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CdtrAcct" type="CashAccount38" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creditor Account</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UltmtCdtr" type="Party40Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Ultimate Creditor</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Ultimate party to which an amount of money is due.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Purp" type="Purpose2Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Purpose</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Underlying reason for the payment transaction.

Usage: 
Purpose is used by the end customers, that is initiating party, (ultimate) debtor, (ultimate) creditor to provide information concerning the nature of the payment. Purpose is a content element, which is not used for processing by any of the agents involved in the payment chain.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OriginalTransactionReference28_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="OriginalTransactionReference28">
        <xs:sequence>
          <xs:element name="ReqdColltnDt" type="ISODate" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T013 The Due Date of the Collection.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="CdtrSchmeId" type="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-E005 The Identifier of the Creditor.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="PmtTpInf" type="PaymentTypeInformation27_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T001 The Identification code of the Scheme.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M006 The Transaction / Sequence Type.</xs:documentation>
              <xs:documentation source="Rulebook">AT-T008 The Category purpose of the Collection.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="MndtRltdInf" type="MandateRelatedInformation14_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-M001 The Unique Mandate reference.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M010 The Placeholder for the electronic signature data, if applicable.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M002 The Type of Mandate (paper, e-Mandate).</xs:documentation>
              <xs:documentation source="Rulebook">AT-M004 The Identifier of the original Creditor who issued the Mandate.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M005 The Unique Mandate reference as given by the original Creditor who issued the Mandate.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M007 The Reason for Amendment of the Mandate.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M008 The Date of Signing of the Mandate.</xs:documentation>
              <xs:documentation source="Rulebook">AT-M013 The Reference of the validation made by the Debtor PSP (if present in DS-03).</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="RmtInf" type="RemittanceInformation16_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T012 The Remittance Information sent by the Creditor to the Debtor in the Collection.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="UltmtDbtr" type="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-P006 The Name of the Debtor Reference Party.</xs:documentation>
              <xs:documentation source="Rulebook">AT-P007 The Identification code of the Debtor Reference Party.</xs:documentation>
              <xs:documentation source="Usage Rule">Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Dbtr" type="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-P001 The Name of the Debtor.</xs:documentation>
              <xs:documentation source="Rulebook">AT-P005 The Address of the Debtor.</xs:documentation>
              <xs:documentation source="Rulebook">AT-P004 Debtor identification code.</xs:documentation>
              <xs:documentation source="Usage Rule">Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="DbtrAcct" type="CashAccount38_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-D001 The Account number (IBAN) of the Debtor.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-D002 BIC code of the Debtor PSP (if present in DS-03).</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-C002 BIC code of the Creditor PSP (if present in DS-03).</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Cdtr" type="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-E001 The Name of the Creditor.</xs:documentation>
              <xs:documentation source="Rulebook">AT-E004 The Address of the Creditor.</xs:documentation>
              <xs:documentation source="Usage Rule">Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="CdtrAcct" type="CashAccount38_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-C001 The account number (IBAN) of the Creditor.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="UltmtCdtr" type="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-E007 The Name of the Credit Reference Party.</xs:documentation>
              <xs:documentation source="Rulebook">AT-E010 The Identification code of the Credit Reference Party.</xs:documentation>
              <xs:documentation source="Usage Rule">Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Purp" type="Purpose2Choice" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T007 The Purpose of the Collection.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party38Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Party 38Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Nature or use of the account.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="OrgId" type="OrganisationIdentification29">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Organisation Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous way to identify an organisation.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PrvtId" type="PersonIdentification13">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Private Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification of a person, for example a passport.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Party38Choice">
        <xs:choice>
          <xs:element name="OrgId" type="OrganisationIdentification29_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Either ‘AnyBIC’, 'LEI' or one occurrence of ‘Other’ is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="PrvtId" type="PersonIdentification13_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Either ‘Date and Place of Birth’ or one occurrence of ‘Other’ is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="Party38Choice">
        <xs:choice>
          <xs:element name="PrvtId" type="PersonIdentification13_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3">
    <xs:complexContent>
      <xs:restriction base="Party38Choice">
        <xs:choice>
          <xs:element name="OrgId" type="OrganisationIdentification29_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
          <xs:element name="PrvtId" type="PersonIdentification13_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party40Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Party 40Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Identification of a person, an organisation or a financial institution.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Pty" type="PartyIdentification135">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Party</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identification of a person or an organisation.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_4"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_5"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party40Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_6"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Party Identification 135</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the identification of a person or an organisation.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Nm" type="Max140Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name by which a party is known and which is usually used to identify that party.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PstlAdr" type="PostalAddress24" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Postal Address</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information that locates and identifies a specific address, as defined by postal services.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Id" type="Party38Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous identification of a party.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">‘Name’ is limited to 70 characters in length.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Id" type="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Id" type="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
          <xs:element name="Id" type="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_4">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
          <xs:element name="Id" type="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_5">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
          <xs:element name="PstlAdr" type="PostalAddress24_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
          <xs:element name="Id" type="Party38Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP_3" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_EPC130-08_2023_V1.0_SDD_Core_C2PSP_6">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
          <xs:element name="PstlAdr" type="PostalAddress24_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PaymentReversalReason9">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Payment Reversal Reason 9</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details on the reason of the reversal of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Rsn" type="ReversalReason4Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reason</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the reason for the reversal.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PaymentReversalReason9_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PaymentReversalReason9">
        <xs:sequence>
          <xs:element name="Rsn" type="ReversalReason4Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory if 'Reversal Reason Information' is used at this level.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PaymentTransaction108">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Payment Transaction 108</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details on the reference and status on the original transactions, included in the original instruction, to which the reversal message applies.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RvslId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reversal Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Unique identification, as assigned by an instructing party for an instructed party, to unambiguously identify the reversed transaction.
Usage: The instructing party is the party sending the reversal message and not the party that sent the original instruction that is being reversed.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlInstrId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Instruction Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification, as assigned by the original instructing party for the original instructed party, to unambiguously identify the original instruction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlEndToEndId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original End To End Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification, as assigned by the original initiating party, to unambiguously identify the original transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlInstdAmt" type="ActiveOrHistoricCurrencyAndAmount" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Instructed Amount</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Amount of money, as provided in the original transaction, to be moved between the debtor and the creditor, before deduction of charges, expressed in the currency, as ordered by the original initiating party.
Usage: This amount has to be transported unchanged through the transaction chain.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RvsdInstdAmt" type="ActiveOrHistoricCurrencyAndAmount" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reversed Instructed Amount</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Amount of money to be moved between the debtor and the creditor, before deduction of charges, in the reversed transaction.
Usage: This amount has to be transported unchanged through the transaction chain.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ChrgBr" type="ChargeBearerType1Code" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Charge Bearer</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Specifies if the creditor and/or debtor will bear the charges associated with the processing of the payment transaction.

Usage: The ChargeBearer applies to the reversal message, not to the original instruction.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RvslRsnInf" type="PaymentReversalReason9" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Reversal Reason Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides detailed information on the reversal reason.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OrgnlTxRef" type="OriginalTransactionReference28" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Original Transaction Reference</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Key elements used to identify the original transaction that is being referred to.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PaymentTransaction108_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PaymentTransaction108">
        <xs:sequence>
          <xs:element name="RvslId" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlInstrId" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlEndToEndId" type="Max35Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
              <xs:documentation source="Rulebook">AT-T015 The Creditor's Reference of the Direct Debit Transaction.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlInstdAmt" type="ActiveOrHistoricCurrencyAndAmount_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T002 The Amount of the Collection in euro.</xs:documentation>
              <xs:documentation source="Usage Rule">Only ‘EUR’ is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">Amount must be 0.01 or more and 999999999.99 or less.</xs:documentation>
              <xs:documentation source="Format Rule">The fractional part has a maximum of two digits.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="RvsdInstdAmt" type="ActiveOrHistoricCurrencyAndAmount_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Amount of the Reversal must be the same as the amount of the Collection in euro (AT-T002).</xs:documentation>
              <xs:documentation source="Usage Rule">Only ‘EUR’ is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">Amount must be 0.01 or more and 999999999.99 or less.</xs:documentation>
              <xs:documentation source="Format Rule">The fractional part has a maximum of two digits.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="ChrgBr" type="ChargeBearerType1Code" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only "SLEV" is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="RvslRsnInf" type="PaymentReversalReason9_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only one occurrence is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">‘Reversal Reason Information’ must be present either in ‘Original Group Information’, ‘Original Payment Information and Reversal’ or ‘Transaction Information’.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="OrgnlTxRef" type="OriginalTransactionReference28_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
              <xs:documentation source="Rulebook">An exact copy of all attributes of the received DS-03 which is being reversed.</xs:documentation>
              <xs:documentation source="Usage Rule">The message elements under ‘Original Transaction Reference’ must be populated with the same value as the message elements of the original instruction.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PaymentTypeInformation27">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Payment Type Information 27</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details of the type of payment.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SvcLvl" type="ServiceLevel8Choice" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Service Level</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Agreement under which or rules under which the transaction should be processed.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LclInstrm" type="LocalInstrument2Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Local Instrument</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
User community specific instrument.

Usage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeqTp" type="SequenceType3Code" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Sequence Type</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identifies the direct debit sequence, such as first, recurrent, final or one-off.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtgyPurp" type="CategoryPurpose1Choice" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Category Purpose</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Specifies the high level purpose of the instruction based on a set of pre-defined categories.
Usage: This is used by the initiating party to provide information concerning the processing of the payment. It is likely to trigger special processing by any of the agents involved in the payment chain.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PaymentTypeInformation27_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PaymentTypeInformation27">
        <xs:sequence>
          <xs:element name="SvcLvl" type="ServiceLevel8Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
          <xs:element name="LclInstrm" type="LocalInstrument2Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
          <xs:element name="SeqTp" type="SequenceType3Code"/>
          <xs:element name="CtgyPurp" type="CategoryPurpose1Choice" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PersonIdentification13">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Person Identification 13</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Unique and unambiguous way to identify a person.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth1" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Date And Place Of Birth</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Date and place of birth of a person.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Othr" type="GenericPersonIdentification1" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Other</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique identification of a person, as assigned by an institution, using an identification scheme.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PersonIdentification13_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PersonIdentification13">
        <xs:sequence>
          <xs:element name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth1" minOccurs="0"/>
          <xs:element name="Othr" type="GenericPersonIdentification1" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PersonIdentification13_EPC130-08_2023_V1.0_SDD_Core_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="PersonIdentification13">
        <xs:sequence>
          <xs:element name="Othr" type="GenericPersonIdentification1_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PersonIdentificationSchemeName1Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Person Identification Scheme Name 1Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Sets of elements to identify a name of the identification scheme.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalPersonIdentification1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the identification scheme, in a coded form as published in an external list.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Prtry" type="Max35Text">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Proprietary</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the identification scheme, in a free text form.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="PersonIdentificationSchemeName1Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PersonIdentificationSchemeName1Choice">
        <xs:choice>
          <xs:element name="Prtry" type="Max35Text"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PostalAddress24">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Postal Address 24</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information that locates and identifies a specific address, as defined by postal services.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Dept" type="Max70Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Department</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identification of a division of a large organisation or building.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SubDept" type="Max70Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Sub Department</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identification of a sub-division of a large organisation or building.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrtNm" type="Max70Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Street Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of a street or thoroughfare.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BldgNb" type="Max16Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Building Number</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Number that identifies the position of a building on a street.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BldgNm" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Building Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of the building or house.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Flr" type="Max70Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Floor</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Floor or storey within a building.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PstBx" type="Max16Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Post Box</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Numbered box in a post office, assigned to a person or organisation, where letters are kept until called for.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Room" type="Max70Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Room</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Building room number.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PstCd" type="Max16Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Post Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TwnNm" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Town Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Name of a built-up area, with defined boundaries, and a local government.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TwnLctnNm" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Town Location Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specific location name within the town.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DstrctNm" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">District Name</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identifies a subdivision within a country sub-division.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtrySubDvsn" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Country Sub Division</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Identifies a subdivision of a country such as state, region, county.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Ctry" type="CountryCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Country</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Nation with its own government.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AdrLine" type="Max70Text" minOccurs="0" maxOccurs="7">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Address Line</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information that locates and identifies a specific address, as defined by postal services, presented in free format text.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PostalAddress24_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PostalAddress24">
        <xs:sequence>
          <xs:element name="Dept" type="Max70Text" minOccurs="0"/>
          <xs:element name="SubDept" type="Max70Text" minOccurs="0"/>
          <xs:element name="StrtNm" type="Max70Text" minOccurs="0"/>
          <xs:element name="BldgNb" type="Max16Text" minOccurs="0"/>
          <xs:element name="BldgNm" type="Max35Text" minOccurs="0"/>
          <xs:element name="Flr" type="Max70Text" minOccurs="0"/>
          <xs:element name="PstBx" type="Max16Text" minOccurs="0"/>
          <xs:element name="Room" type="Max70Text" minOccurs="0"/>
          <xs:element name="PstCd" type="Max16Text" minOccurs="0"/>
          <xs:element name="TwnNm" type="Max35Text" minOccurs="0"/>
          <xs:element name="TwnLctnNm" type="Max35Text" minOccurs="0"/>
          <xs:element name="DstrctNm" type="Max35Text" minOccurs="0"/>
          <xs:element name="CtrySubDvsn" type="Max35Text" minOccurs="0"/>
          <xs:element name="Ctry" type="CountryCode" minOccurs="0"/>
          <xs:element name="AdrLine" type="Max70Text" minOccurs="0" maxOccurs="2"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Purpose2Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Purpose 2Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the underlying reason for the payment transaction.
Usage: Purpose is used by the end-customers, that is initiating party, (ultimate) debtor, (ultimate) creditor to provide information concerning the nature of the payment. Purpose is a content element, which is not used for processing by any of the agents involved in the payment chain.
      </xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalPurpose1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Underlying reason for the payment transaction, as published in an external purpose code list.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="RemittanceInformation16">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Remittance Information 16</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Ustrd" type="Max140Text" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Unstructured</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Strd" type="StructuredRemittanceInformation16" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Structured</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in a structured form.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RemittanceInformation16_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="RemittanceInformation16">
        <xs:sequence>
          <xs:element name="Ustrd" type="Max140Text" minOccurs="0"/>
          <xs:element name="Strd" type="StructuredRemittanceInformation16_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ReversalReason4Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Reversal Reason 4Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the reason for the reversal of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalReversalReason1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Reason for the reversal, as published in an external reason code list.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ReversalReason4Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="ReversalReason4Choice">
        <xs:choice>
          <xs:element name="Cd" type="ExternalReversalReason1Code">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-R041 The Reversal reason code.</xs:documentation>
              <xs:documentation source="Usage Rule">See Message Element Specifications below.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="SequenceType3Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Sequence Type 3Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the type of the current transaction that belongs to a sequence of transactions.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="FNAL">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Final</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Final collection of a series of direct debit instructions.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FRST">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">First</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">First collection of a series of direct debit instructions.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OOFF">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">OneOff</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Direct debit instruction where the debtor's authorisation is used to initiate one single direct debit transaction.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RCUR">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Recurring</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Direct debit instruction where the debtor's authorisation is used for regular direct debit transactions initiated by the creditor.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RPRE">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Represented</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Collection used to re-present previously reversed or returned direct debit transactions.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ServiceLevel8Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Service Level 8Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the service level of the transaction.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalServiceLevel1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies a pre-agreed service or level of service between the parties, as published in an external service level code list.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ServiceLevel8Choice_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="ServiceLevel8Choice">
        <xs:choice>
          <xs:element name="Cd" type="ExternalServiceLevel1Code_EPC130-08_2023_V1.0_SDD_Core_C2PSP"/>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="StructuredRemittanceInformation16">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Structured Remittance Information 16</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in a structured form.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CdtrRefInf" type="CreditorReferenceInformation2" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Creditor Reference Information</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Reference information provided by the creditor to allow the identification of the underlying documents.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="StructuredRemittanceInformation16_EPC130-08_2023_V1.0_SDD_Core_C2PSP">
    <xs:complexContent>
      <xs:restriction base="StructuredRemittanceInformation16">
        <xs:sequence>
          <xs:element name="CdtrRefInf" type="CreditorReferenceInformation2_EPC130-08_2023_V1.0_SDD_Core_C2PSP" minOccurs="0"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="TrueFalseIndicator">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">True False Indicator</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">A flag indicating a True or False value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:boolean"/>
  </xs:simpleType>
</xs:schema>
