<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.08"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:iso:std:iso:20022:tech:xsd:camt.054.001.08"
    elementFormDefault="qualified">
  <xs:element name="Document" type="Document_NPC013-01_2025_V1.1_NCT_Inst_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:choice>
  </xs:complexType>
  <xs:complexType name="AccountNotification17">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Account Notification 17</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details of the account notification.</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 identification, as assigned by the account servicer, to unambiguously identify the account notification.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Acct" type="CashAccount39">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Account</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unambiguous identification of the account to which credit and debit entries are made.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Ntry" type="ReportEntry10">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Entry</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Specifies an entry in the debit credit notification.
Usage: At least one reference must be provided to identify the entry and its underlying transaction(s).

Usage Rule: In case of a Payments R-transaction the creditor / debtor referenced of the original payment initiation messages is also used for reporting of the R-transaction. The original debtor/creditor in the reporting of R-Transactions is not inverted. 
Following elements all defined in the TransactionDetails in RelatedParties or RelatedAgents are impacted by this usage rule:
Creditor, UltimateCreditor, CreditorAccount, CreditorAgent, Debtor, UltimateDebtor, DebtorAccount and DebtorAgent.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AccountNotification17_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="AccountNotification17">
        <xs:sequence>
          <xs:element name="Id" type="Max35Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="Acct" type="CashAccount39_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="Ntry" type="ReportEntry10_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation xml:lang="EN" source="Definition">
Specifies an entry in the debit credit notification.
Usage: At least one reference must be provided to identify the entry and its underlying transaction(s).
              </xs:documentation>
              <xs:documentation source="Usage Rule">Mandatory</xs:documentation>
              <xs:documentation source="Usage Rule">Only one occurrence is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:simpleContent>
      <xs:restriction base="ActiveOrHistoricCurrencyAndAmount">
        <xs:maxInclusive value="99999999999.99"/>
        <xs:minInclusive value="0.01"/>
        <xs:fractionDigits value="2"/>
        <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCode" 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="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:complexType name="BankToCustomerDebitCreditNotificationV08">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Bank To Customer Debit Credit Notification V08</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Scope
The BankToCustomerDebitCreditNotification message is sent by the account servicer to an account owner or to a party authorised by the account owner to receive the message. It can be used to inform the account owner, or authorised party, of single or multiple debit and/or credit entries reported to the account.
Usage
The BankToCustomerDebitCreditNotification message can contain reports for more than one account. It provides information for cash management and/or reconciliation.
The BankToCustomerDebitCreditNotification message can be used to: 
- report pending and booked items;
- notify one or more debit entries;
- notify one or more credit entries;
- notify a combination of debit and credit entries.
It can include underlying details of transactions that have been included in the entry.
It is possible that the receiver of the message is not the account owner, but a party entitled by the account owner to receive the account information (also known as recipient).
It does not contain balance information.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GrpHdr" type="GroupHeader81">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Group Header</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Common information for the message.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Ntfctn" type="AccountNotification17">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Notification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Notifies debit and credit entries for the account.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BankToCustomerDebitCreditNotificationV08_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="BankToCustomerDebitCreditNotificationV08">
        <xs:sequence>
          <xs:element name="GrpHdr" type="GroupHeader81_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="Ntfctn" type="AccountNotification17_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only one occurrence is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="BankTransactionCodeStructure4">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Bank Transaction Code Structure 4</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Set of elements used to identify the type or operations code of a transaction entry.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Domn" type="BankTransactionCodeStructure5" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Domain</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Set of elements used to provide the domain, the family and the sub-family of the bank transaction code, in a structured and hierarchical format.

Usage: If a specific family or sub-family code cannot be provided, the generic family code defined for the domain or the generic sub-family code defined for the family should be provided.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BankTransactionCodeStructure4_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="BankTransactionCodeStructure4">
        <xs:sequence>
          <xs:element name="Domn" type="BankTransactionCodeStructure5_NPC013-01_2025_V1.1_NCT_Inst_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="BankTransactionCodeStructure5">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Bank Transaction Code Structure 5</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Set of elements used to identify the type or operations code of a transaction entry.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Cd" type="ExternalBankTransactionDomain1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the business area of the underlying transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Fmly" type="BankTransactionCodeStructure6">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Family</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the family and the sub-family of the bank transaction code, within a specific domain, in a structured and hierarchical format.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BankTransactionCodeStructure5_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="BankTransactionCodeStructure5">
        <xs:sequence>
          <xs:element name="Cd" type="ExternalBankTransactionDomain1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only "PMNT" is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Fmly" type="BankTransactionCodeStructure6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="BankTransactionCodeStructure6">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Bank Transaction Code Structure 6</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Set of elements used to identify the type or operations code of a transaction entry.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Cd" type="ExternalBankTransactionFamily1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the family within a domain.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SubFmlyCd" type="ExternalBankTransactionSubFamily1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Sub Family Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specifies the sub-product family within a specific family.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BankTransactionCodeStructure6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="BankTransactionCodeStructure6">
        <xs:sequence>
          <xs:element name="Cd" type="ExternalBankTransactionFamily1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only "RRCT" is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="SubFmlyCd" type="ExternalBankTransactionSubFamily1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only "ENCT" is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="BranchAndFinancialInstitutionIdentification6">
        <xs:sequence>
          <xs:element name="FinInstnId" type="FinancialInstitutionIdentification18_NPC013-01_2025_V1.1_NCT_Inst_C2PSP"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CashAccount39">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Cash Account 39</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="Svcr" type="BranchAndFinancialInstitutionIdentification6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Servicer</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CashAccount39_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CashAccount39">
        <xs:sequence>
          <xs:element name="Id" type="AccountIdentification4Choice">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-C001 The IBAN of the account of the Beneficiary.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Svcr" type="BranchAndFinancialInstitutionIdentification6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only BICFI is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">If the BIC is not indicated 'Servicer' structure is not to be used.</xs:documentation>
              <xs:documentation source="Rulebook">AT-C002 The BIC code of the Benficiary PSP.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <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:simpleType name="CreditDebitCode">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Credit Debit Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies if an operation is an increase or a decrease.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CRDT">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Credit</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Operation is an increase.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CreditorReferenceInformation2">
        <xs:sequence>
          <xs:element name="Tp" type="CreditorReferenceType2_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory if 'Creditor Reference Information' is used.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Ref" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory if 'Creditor Reference Information' is used.</xs:documentation>
              <xs:documentation source="Usage Rule">If a Creditor Reference contains a check digit, the receiving PSP is not required to validate this.</xs:documentation>
              <xs:documentation source="Usage Rule">If the receiving PSP validates the check digit and if this validation fails, the PSP may continue its processing and send the transaction to the next party in the chain.</xs:documentation>
              <xs:documentation source="Usage Rule">RF/Structured Creditor Reference must be used (ISO 11649) in case “ISO” is mentioned under ‘issuer’.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </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="CreditorReferenceType1Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CreditorReferenceType1Choice">
        <xs:choice>
          <xs:element name="Cd" type="DocumentType3Code">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only ‘SCOR’ is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </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="CreditorReferenceType2_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="CreditorReferenceType2">
        <xs:sequence>
          <xs:element name="CdOrPrtry" type="CreditorReferenceType1Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="Issr" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory if ‘Reference’ is populated with an identifier issued or governed by a known institution. E.g. “ISO” should be mentioned here if ‘Reference’ is populated with a RF/Structured Creditor Reference (ISO 11649)."</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DateAndDateTime2Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Date And Date Time 2Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Choice between a date or a date and time format.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Dt" type="ISODate">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Date</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specified date.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DtTm" type="ISODateTime">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Date Time</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Specified date and time.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="DateAndDateTime2Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="DateAndDateTime2Choice">
        <xs:choice>
          <xs:element name="Dt" type="ISODate">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="DtTm" type="ISODateTime">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only UTC time format or local time with UTC offset format can be used.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </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:complexType name="Document">
    <xs:sequence>
      <xs:element name="BkToCstmrDbtCdtNtfctn" type="BankToCustomerDebitCreditNotificationV08"/>
    </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="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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Document">
        <xs:sequence>
          <xs:element name="BkToCstmrDbtCdtNtfctn" type="BankToCustomerDebitCreditNotificationV08_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation xml:lang="EN" source="Definition">
Scope
The BankToCustomerDebitCreditNotification message is sent by the account servicer to an account owner or to a party authorised by the account owner to receive the message. It can be used to inform the account owner, or authorised party, of single or multiple debit and/or credit entries reported to the account.
              </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="EntryDetails9">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Entry Details 9</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Identifies the underlying transaction(s) and/or batched entries.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TxDtls" type="EntryTransaction10">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Transaction Details</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides information on the underlying transaction(s).</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EntryDetails9_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="EntryDetails9">
        <xs:sequence>
          <xs:element name="TxDtls" type="EntryTransaction10_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory. Only one occurrence is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="EntryStatus1Choice">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Entry Status 1Choice</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Specifies the status of an entry on the books of the account servicer.</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Cd" type="ExternalEntryStatus1Code">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Entry status, in a coded form.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="EntryStatus1Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="EntryStatus1Choice">
        <xs:choice>
          <xs:element name="Cd" type="ExternalEntryStatus1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only 'BOOK' or 'INFO' is allowed depending on a bilateral agreement between the Customer and its PSP.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="EntryTransaction10">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Entry Transaction 10</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Identifies the underlying transaction.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Refs" type="TransactionReferences6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">References</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides the identification of the underlying transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RltdPties" type="TransactionParties6" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Related Parties</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Set of elements used to identify the parties related to the underlying transaction.</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: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">Structured information that enables the matching, that is reconciliation, of a payment with the items that the payment is intended to settle, such as commercial invoices in an account receivable system.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EntryTransaction10_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="EntryTransaction10">
        <xs:sequence>
          <xs:element name="Refs" type="TransactionReferences6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="RltdPties" type="TransactionParties6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="Purp" type="Purpose2Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T007 The purpose of the NCT Inst Instruction.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="RmtInf" type="RemittanceInformation16_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T009 The Remittance Information sent by the Originator to the Beneficiary in the NCT Inst Instruction.</xs:documentation>
              <xs:documentation source="Usage Rule">Either ‘Structured’ or ‘Unstructured’ may be present</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="ExternalBankTransactionDomain1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Bank Transaction Domain 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the bank transaction code domain, as published in an external bank transaction code domain 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="ExternalBankTransactionDomain1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:restriction base="ExternalBankTransactionDomain1Code">
      <xs:enumeration value="PMNT">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Payments</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">The Payments domain provides the bank transaction codes for all payment activities that relate to transfer of funds between parties.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalBankTransactionFamily1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Bank Transaction Family 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the bank transaction code family, as published in an external bank transaction code family 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="ExternalBankTransactionFamily1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:restriction base="ExternalBankTransactionFamily1Code">
      <xs:enumeration value="RRCT">
        <xs:annotation>
          <xs:documentation source="Yellow Field"/>
          <xs:documentation xml:lang="EN" source="Name">Received Real-Time Credit Transfers</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Receivable Real Time Credit Transfers are instructions to receive an amount of money from a debtor by the account owner in Real Time (within a pre-agreed number of seconds). The receivable credit transfers are related to transactions received by the account owner.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalBankTransactionSubFamily1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Bank Transaction Sub Family 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the bank transaction code sub-family, as published in an external bank transaction code sub-family 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="ExternalBankTransactionSubFamily1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:restriction base="ExternalBankTransactionSubFamily1Code">
      <xs:enumeration value="ENCT">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Nordic Payment Council Credit Transfer</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Transaction is a nordic payment council credit transfer</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ExternalEntryStatus1Code">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">External Entry Status 1Code</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">
Specifies the status of an entry on the books of the account servicer, as published in an external code set.
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="ExternalEntryStatus1Code_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:restriction base="ExternalEntryStatus1Code">
      <xs:enumeration value="BOOK">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Definition">
Booked means that the transfer of money has been completed between account servicer and account owner.
Usage: Status Booked does not necessarily imply finality of money as this depends on other factors such as the payment system used, the completion of the end-to-end transaction and the terms agreed between account servicer and owner.
Status Booked is the only status that can be reversed.
          </xs:documentation>
          <xs:documentation xml:lang="EN" source="Name">Booked</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INFO">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Definition">Entry is only provided for information, and no booking on the account owner's account in the account servicer's ledger has been performed.</xs:documentation>
          <xs:documentation xml:lang="EN" source="Name">Information</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </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: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">
        <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:sequence>
  </xs:complexType>
  <xs:complexType name="FinancialInstitutionIdentification18_NPC013-01_2025_V1.1_NCT_Inst_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="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="GroupHeader81">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Group Header 81</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details on 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 account servicing institution, and sent to the account owner or the party authorised to receive the message, to unambiguously identify the message.
Usage: The account servicing institution has to make sure that MessageIdentification is unique per account owner 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:sequence>
  </xs:complexType>
  <xs:complexType name="GroupHeader81_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="GroupHeader81">
        <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: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">The International Bank Account Number is a code used internationally by financial institutions to uniquely identify the account of a customer at a financial institution as described in the 2007 edition of the ISO 13616 standard "Banking and related financial services - International Bank Account Number (IBAN)" and replaced by the more recent edition of the standard.</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: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="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: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">
        <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_NPC013-01_2025_V1.1_NCT_Inst_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="OrganisationIdentification29_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2">
    <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:annotation>
              <xs:documentation source="White Field">W</xs:documentation>
            </xs:annotation>
          </xs:element>
          <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="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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Party38Choice">
        <xs:choice>
          <xs:element name="OrgId" type="OrganisationIdentification29_NPC013-01_2025_V1.1_NCT_Inst_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_NPC013-01_2025_V1.1_NCT_Inst_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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="Party38Choice">
        <xs:choice>
          <xs:element name="OrgId" type="OrganisationIdentification29_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2">
            <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_NPC013-01_2025_V1.1_NCT_Inst_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="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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_3">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_3">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_4">
    <xs:complexContent>
      <xs:restriction base="Party40Choice">
        <xs:choice>
          <xs:element name="Pty" type="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_4">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </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="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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-P001 The name of the Originator.</xs:documentation>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Id" type="Party38Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-P004 The Originator identification code</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-P006 The name of the Originator Reference Party.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Id" type="Party38Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-P007 The identification code of the Originator Reference Party</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_3">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
              <xs:documentation source="Rulebook">AT-E001 The name of the Beneficiary.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PartyIdentification135_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_4">
    <xs:complexContent>
      <xs:restriction base="PartyIdentification135">
        <xs:sequence>
          <xs:element name="Nm" type="Max140Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-E007 The name of the Beneficiary Reference Party.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </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">
        <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_NPC013-01_2025_V1.1_NCT_Inst_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="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="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="Purpose2Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="Purpose2Choice">
        <xs:choice>
          <xs:element name="Cd" type="ExternalPurpose1Code">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:choice>
      </xs:restriction>
    </xs:complexContent>
  </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">
        <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">
        <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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="RemittanceInformation16">
        <xs:sequence>
          <xs:element name="Ustrd" type="Max140Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">‘Unstructured’ may carry structured remittance information, as agreed between the Originator and the Beneficiary.</xs:documentation>
              <xs:documentation source="Usage Rule">Only one occurrence of ‘Unstructured’ is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Strd" type="StructuredRemittanceInformation16_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Format Rule">‘Structured’ can be used, provided the tags and the data within the ‘Structured’ element (i.e. excluding &lt;Strd&gt; and &lt;/Strd&gt;) do not exceed 280 characters in length.</xs:documentation>
              <xs:documentation source="Usage Rule">Only one occurrence of ‘Structured’ is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ReportEntry10">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Report Entry 10</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details on an entry in the report.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NtryRef" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Entry Reference</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Unique reference for the entry.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Amount</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Amount of money in the cash entry.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CdtDbtInd" type="CreditDebitCode">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Credit Debit Indicator</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Indicates whether the entry is a credit or a debit entry.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Sts" type="EntryStatus1Choice">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Status</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Status of an entry on the books of the account servicer.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ValDt" type="DateAndDateTime2Choice">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Value Date</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Date and time at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit entry.
Usage: If entry status is pending and value date is present, then the value date refers to an expected/requested value date.
For entries subject to availability/float and for which availability information is provided, the value date must not be used. In this case the availability component identifies the number of availability days.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BkTxCd" type="BankTransactionCodeStructure4">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Bank Transaction Code</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Set of elements used to fully identify the type of underlying transaction resulting in an entry.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NtryDtls" type="EntryDetails9">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">Entry Details</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Provides details on the entry.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ReportEntry10_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="ReportEntry10">
        <xs:sequence>
          <xs:element name="NtryRef" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T002 The amount of the NCT Inst in the relevant Scheme Currencies and the relevant currency code.</xs:documentation>
              <xs:documentation source="Usage Rule">Only ‘NPC Scheme Currencies is allowed.</xs:documentation>
              <xs:documentation source="Usage Rule">
Amount must be 0.01 or up to the maximum amount per instruction that can be processed
under the Scheme as defined in document NPC014-01 “Maximum Amount for Instructions
under the NCT Inst Scheme Rulebook", or the maximum amount as agreed between individual
Participants or communities of Participants.
              </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="CdtDbtInd" type="CreditDebitCode">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only 'CRDT' is allowed.</xs:documentation>
              <xs:documentation source="Rulebook">AT-T081 The identification of the Credit Notification.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Sts" type="EntryStatus1Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
          <xs:element name="ValDt" type="DateAndDateTime2Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T082 The value date of the credit on the Beneficiary’s account.</xs:documentation>
              <xs:documentation source="Usage Rule">Mandatory.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="BkTxCd" type="BankTransactionCodeStructure4_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation xml:lang="EN" source="Usage Rule">The identification code of the NCT Inst Scheme</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="NtryDtls" type="EntryDetails9_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory. Only one occurrence is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </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_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="StructuredRemittanceInformation16">
        <xs:sequence>
          <xs:element name="CdtrRefInf" type="CreditorReferenceInformation2_NPC013-01_2025_V1.1_NCT_Inst_C2PSP" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">When present, the Debtor Bank is not obliged to validate the reference information.</xs:documentation>
              <xs:documentation source="Usage Rule">When used both ‘Type’ and ‘Reference’ must be present.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="TransactionParties6">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Transaction Parties 6</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Provides further details on the parties specific to the individual transaction.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Dbtr" type="Party40Choice">
        <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="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="Cdtr" type="Party40Choice">
        <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="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:sequence>
  </xs:complexType>
  <xs:complexType name="TransactionParties6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="TransactionParties6">
        <xs:sequence>
          <xs:element name="Dbtr" type="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory. Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="UltmtDbtr" type="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_2" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Cdtr" type="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_3">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Mandatory. Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="UltmtCdtr" type="Party40Choice_NPC013-01_2025_V1.1_NCT_Inst_C2PSP_4" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Usage Rule">Only 'Party' is allowed.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="TransactionReferences6">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">Transaction References 6</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Identifies the underlying transaction.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EndToEndId" type="Max35Text" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">End To End Identification</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">
Unique identification, as assigned by the initiating party, to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.

Usage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.

Usage: In case there are technical limitations to pass on multiple references, the end-to-end identification must be passed on throughout the entire end-to-end chain.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UETR" type="UUIDv4Identifier" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="EN" source="Name">UETR</xs:documentation>
          <xs:documentation xml:lang="EN" source="Definition">Universally unique identifier to provide an end-to-end reference of a payment transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransactionReferences6_NPC013-01_2025_V1.1_NCT_Inst_C2PSP">
    <xs:complexContent>
      <xs:restriction base="TransactionReferences6">
        <xs:sequence>
          <xs:element name="EndToEndId" type="Max35Text" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
              <xs:documentation source="Rulebook">AT-T014 The Originator’s reference of the NCT Inst Instruction.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="UETR" type="UUIDv4Identifier" minOccurs="0">
            <xs:annotation>
              <xs:documentation source="Yellow Field"/>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="UUIDv4Identifier">
    <xs:annotation>
      <xs:documentation xml:lang="EN" source="Name">UUIDv 4Identifier</xs:documentation>
      <xs:documentation xml:lang="EN" source="Definition">Universally Unique IDentifier (UUID) version 4, as described in IETC RFC 4122 "Universally Unique IDentifier (UUID) URN Namespace".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
