FIToFIPaymentReversalV08

pacs.007.001.08

Scope The FinancialInstitutionToFinancialInstitutionPaymentReversal message is sent by an agent to the next party in the payment chain. It is used to reverse a payment previously executed. Usage The FIToFIPaymentReversal message is exchanged between agents to reverse a payment message that has been settled. The result will be a credit on the debtor account (when the reversed payment was a Direct Debit) or a debit on the creditor account (when the reversed payment was a Credit Transfer). The FIToFIPaymentReversal message may or may not be the follow-up of a payment message. The FIToFIPaymentReversal message refers to the original payment message by means of references only or by means of references and a set of elements from the original instruction. The FIToFIPaymentReversal message can be used in domestic and cross-border scenarios.

Message Construction

Every ISO20022 message has at the highest level what we call ‘building blocks’. Because the message is constructed as immutable records, the association is by composition. Below you can see the relationship between the message and its constituent building blocks: For comparison, see the ISO20022 official specification

classDiagram
     direction LR
%% FIToFIPaymentReversalV08 recursion level 0 with max 0
FIToFIPaymentReversalV08 *-- "1..1" GroupHeader71 : GroupHeader
FIToFIPaymentReversalV08 *-- "0..1" OriginalGroupHeader11 : OriginalGroupInformation
FIToFIPaymentReversalV08 *-- "0..1" PaymentTransaction88 : TransactionInformation
FIToFIPaymentReversalV08 *-- "0..1" SupplementaryData1 : SupplementaryData
  

Now, we will zero-in one-by-one on each of these building blocks.

GroupHeader building block

Set of characteristics shared by all individual transactions included in the message. Set of characteristics shared by all individual transactions included in the message. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% GroupHeader71 recursion level 0 with max 1
class GroupHeader71{
    MessageIdentification IsoMax35Text
    CreationDateTime IsoISODateTime
    BatchBooking IsoBatchBookingIndicator
    NumberOfTransactions IsoMax15NumericText
    ControlSum IsoDecimalNumber
    GroupReversal IsoTrueFalseIndicator
    TotalReversedInterbankSettlementAmount IsoActiveCurrencyAndAmount
    InterbankSettlementDate IsoISODate
}
GroupHeader71 *-- "0..2" IAuthorisation1Choice : Authorisation
GroupHeader71 *-- "1..1" SettlementInstruction4 : SettlementInformation
GroupHeader71 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : InstructingAgent
GroupHeader71 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : InstructedAgent
%% IAuthorisation1Choice recursion level 1 with max 1
%% SettlementInstruction4 recursion level 1 with max 1
class SettlementInstruction4{
    SettlementMethod SettlementMethod1Code
}
SettlementInstruction4 *-- "0..1" CashAccount24 : SettlementAccount
SettlementInstruction4 *-- "0..1" IClearingSystemIdentification3Choice : ClearingSystem
SettlementInstruction4 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : InstructingReimbursementAgent
SettlementInstruction4 *-- "0..1" CashAccount24 : InstructingReimbursementAgentAccount
SettlementInstruction4 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : InstructedReimbursementAgent
SettlementInstruction4 *-- "0..1" CashAccount24 : InstructedReimbursementAgentAccount
SettlementInstruction4 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : ThirdReimbursementAgent
SettlementInstruction4 *-- "0..1" CashAccount24 : ThirdReimbursementAgentAccount
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
  

GroupHeader71 members

Member name Description Data Type / Multiplicity
MessageIdentification Point to point reference, as assigned by the instructing party, and sent to the next party in the chain to unambiguously identify the message. Usage: The instructing party has to make sure that MessageIdentification is unique per instructed party for a pre-agreed period.
CreationDateTime Date and time at which the message was created. IsoISODateTime - Required 1..1
Authorisation User identification or any user key to be used to check whether the initiating party is allowed to initiate transactions from the account specified in the message.
BatchBooking Identifies whether a single entry per individual transaction or a batch entry for the sum of the amounts of all transactions within the group of a message is requested. Usage: Batch booking is used to request and not order a possible batch booking.
NumberOfTransactions Number of individual transactions contained in the message. IsoMax15NumericText - Required 1..1
ControlSum Total of all individual amounts included in the message, irrespective of currencies. IsoDecimalNumber - Optional 0..1
GroupReversal Indicates whether the reversal applies to the whole group of transactions or to individual transactions within the original group. IsoTrueFalseIndicator - Optional 0..1
TotalReversedInterbankSettlementAmount Total amount of money moved between the instructing agent and the instructed agent in the reversal message. IsoActiveCurrencyAndAmount - Optional 0..1
InterbankSettlementDate Date on which the amount of money ceases to be available to the agent that owes it and when the amount of money becomes available to the agent to which it is due. IsoISODate - Optional 0..1
SettlementInformation Specifies the details on how the settlement of the transaction(s) between the instructing agent and the instructed agent is completed. SettlementInstruction4 - Required 1..1
InstructingAgent Agent that instructs the next party in the chain to carry out the (set of) instruction(s).
InstructedAgent Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).

OriginalGroupInformation building block

Information concerning the original group of transactions, to which the message refers. Provides details on the original group, to which the message refers. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% OriginalGroupHeader11 recursion level 0 with max 1
class OriginalGroupHeader11{
    OriginalMessageIdentification IsoMax35Text
    OriginalMessageNameIdentification IsoMax35Text
    OriginalCreationDateTime IsoISODateTime
}
OriginalGroupHeader11 *-- "0..0" PaymentReversalReason8 : ReversalReasonInformation
%% PaymentReversalReason8 recursion level 1 with max 1
class PaymentReversalReason8{
    AdditionalInformation IsoMax105Text
}
PaymentReversalReason8 *-- "0..1" PartyIdentification125 : Originator
PaymentReversalReason8 *-- "0..1" IReversalReason4Choice : Reason
  

OriginalGroupHeader11 members

Member name Description Data Type / Multiplicity
OriginalMessageIdentification Point to point reference, as assigned by the original instructing party, to unambiguously identify the original message. IsoMax35Text - Required 1..1
OriginalMessageNameIdentification Specifies the original message name identifier to which the message refers. IsoMax35Text - Required 1..1
OriginalCreationDateTime Date and time at which the original message was created. IsoISODateTime - Optional 0..1
ReversalReasonInformation Provides detailed information on the reversal reason. PaymentReversalReason8 - Unknown 0..0

TransactionInformation building block

Information concerning the original transactions, to which the reversal message refers. Provides further details on the reference and status on the original transactions, included in the original instruction, to which the reversal message applies. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% PaymentTransaction88 recursion level 0 with max 1
class PaymentTransaction88{
    ReversalIdentification IsoMax35Text
    OriginalInstructionIdentification IsoMax35Text
    OriginalEndToEndIdentification IsoMax35Text
    OriginalTransactionIdentification IsoMax35Text
    OriginalClearingSystemReference IsoMax35Text
    OriginalInterbankSettlementAmount IsoActiveOrHistoricCurrencyAndAmount
    ReversedInterbankSettlementAmount IsoActiveCurrencyAndAmount
    InterbankSettlementDate IsoISODate
    SettlementPriority Priority3Code
    ReversedInstructedAmount IsoActiveOrHistoricCurrencyAndAmount
    ExchangeRate IsoBaseOneRate
    CompensationAmount IsoActiveOrHistoricCurrencyAndAmount
    ChargeBearer ChargeBearerType1Code
}
PaymentTransaction88 *-- "0..1" OriginalGroupInformation29 : OriginalGroupInformation
PaymentTransaction88 *-- "0..0" Charges2 : ChargesInformation
PaymentTransaction88 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : InstructingAgent
PaymentTransaction88 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : InstructedAgent
PaymentTransaction88 *-- "0..0" PaymentReversalReason8 : ReversalReasonInformation
PaymentTransaction88 *-- "0..1" OriginalTransactionReference27 : OriginalTransactionReference
PaymentTransaction88 *-- "0..0" SupplementaryData1 : SupplementaryData
%% OriginalGroupInformation29 recursion level 1 with max 1
class OriginalGroupInformation29{
    OriginalMessageIdentification IsoMax35Text
    OriginalMessageNameIdentification IsoMax35Text
    OriginalCreationDateTime IsoISODateTime
}
%% Charges2 recursion level 1 with max 1
class Charges2{
    Amount IsoActiveOrHistoricCurrencyAndAmount
}
Charges2 *-- "1..1" BranchAndFinancialInstitutionIdentification5 : Agent
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
%% PaymentReversalReason8 recursion level 1 with max 1
class PaymentReversalReason8{
    AdditionalInformation IsoMax105Text
}
PaymentReversalReason8 *-- "0..1" PartyIdentification125 : Originator
PaymentReversalReason8 *-- "0..1" IReversalReason4Choice : Reason
%% OriginalTransactionReference27 recursion level 1 with max 1
class OriginalTransactionReference27{
    InterbankSettlementAmount IsoActiveOrHistoricCurrencyAndAmount
    InterbankSettlementDate IsoISODate
    RequestedCollectionDate IsoISODate
    PaymentMethod PaymentMethod4Code
}
OriginalTransactionReference27 *-- "0..1" IAmountType4Choice : Amount
OriginalTransactionReference27 *-- "0..1" IDateAndDateTime2Choice : RequestedExecutionDate
OriginalTransactionReference27 *-- "0..1" PartyIdentification125 : CreditorSchemeIdentification
OriginalTransactionReference27 *-- "0..1" SettlementInstruction4 : SettlementInformation
OriginalTransactionReference27 *-- "0..1" PaymentTypeInformation25 : PaymentTypeInformation
OriginalTransactionReference27 *-- "0..1" MandateRelatedInformation12 : MandateRelatedInformation
OriginalTransactionReference27 *-- "0..1" RemittanceInformation15 : RemittanceInformation
OriginalTransactionReference27 *-- "0..1" IParty35Choice : UltimateDebtor
OriginalTransactionReference27 *-- "0..1" IParty35Choice : Debtor
OriginalTransactionReference27 *-- "0..1" CashAccount24 : DebtorAccount
OriginalTransactionReference27 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : DebtorAgent
OriginalTransactionReference27 *-- "0..1" CashAccount24 : DebtorAgentAccount
OriginalTransactionReference27 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : CreditorAgent
OriginalTransactionReference27 *-- "0..1" CashAccount24 : CreditorAgentAccount
OriginalTransactionReference27 *-- "0..1" IParty35Choice : Creditor
OriginalTransactionReference27 *-- "0..1" CashAccount24 : CreditorAccount
OriginalTransactionReference27 *-- "0..1" IParty35Choice : UltimateCreditor
OriginalTransactionReference27 *-- "0..1" IPurpose2Choice : Purpose
%% SupplementaryData1 recursion level 1 with max 1
class SupplementaryData1{
    PlaceAndName IsoMax350Text
}
SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope
  

PaymentTransaction88 members

Member name Description Data Type / Multiplicity
ReversalIdentification Unique identification, as assigned by an instructing party for an instructed party, to unambiguously identify the reversed transaction. Usage: The instructing party is the party sending the reversal message and not the party that sent the original instruction that is being reversed.
OriginalGroupInformation Provides information on the original message. OriginalGroupInformation29 - Optional 0..1
OriginalInstructionIdentification Unique identification, as assigned by the original instructing party for the original instructed party, to unambiguously identify the original instruction. IsoMax35Text - Optional 0..1
OriginalEndToEndIdentification Unique identification, as assigned by the original initiating party, to unambiguously identify the original transaction. IsoMax35Text - Optional 0..1
OriginalTransactionIdentification Unique identification, as assigned by the original first instructing agent, to unambiguously identify the transaction. IsoMax35Text - Optional 0..1
OriginalClearingSystemReference Unique reference, as assigned by the original clearing system, to unambiguously identify the original instruction. IsoMax35Text - Optional 0..1
OriginalInterbankSettlementAmount Amount of money moved between the instructing agent and the instructed agent, as provided in the original instruction. IsoActiveOrHistoricCurrencyAndAmount - Optional 0..1
ReversedInterbankSettlementAmount Amount of money to be moved between the instructing agent and the instructed agent in the reversed instruction. IsoActiveCurrencyAndAmount - Required 1..1
InterbankSettlementDate Date on which the amount of money ceases to be available to the agent that owes it and when the amount of money becomes available to the agent to which it is due.
SettlementPriority Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the settlement instruction. Usage: the SettlementPriority is the settlement priority of the reversal message, and not of the original instruction. Priority3Code - Optional 0..1
ReversedInstructedAmount Amount of money to be moved between the debtor and the creditor, before deduction of charges, in the reversed transaction. Usage: This amount has to be transported unchanged through the transaction chain. IsoActiveOrHistoricCurrencyAndAmount - Optional 0..1
ExchangeRate Factor used to convert an amount from one currency into another. This reflects the price at which one currency was bought with another currency. IsoBaseOneRate - Optional 0..1
CompensationAmount Amount of money asked or paid as compensation for the processing of the instruction. IsoActiveOrHistoricCurrencyAndAmount - Optional 0..1
ChargeBearer Specifies if the creditor and/or debtor will bear the charges associated with the processing of the payment transaction.
ChargesInformation Provides information on the charges to be paid by the charge bearer(s) related to the processing of the reversal transaction. Charges2 - Unknown 0..0
InstructingAgent Agent that instructs the next party in the chain to carry out the (set of) instruction(s).
InstructedAgent Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).
ReversalReasonInformation Provides detailed information on the reversal reason. PaymentReversalReason8 - Unknown 0..0
OriginalTransactionReference Key elements used to identify the original transaction that is being referred to. OriginalTransactionReference27 - Optional 0..1
SupplementaryData Additional information that cannot be captured in the structured elements and/or any other specific block. SupplementaryData1 - Unknown 0..0

SupplementaryData building block

Additional information that cannot be captured in the structured elements and/or any other specific block. Additional information that can not be captured in the structured fields and/or any other specific block. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% SupplementaryData1 recursion level 0 with max 1
class SupplementaryData1{
    PlaceAndName IsoMax350Text
}
SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope
%% IsoSupplementaryDataEnvelope1 recursion level 1 with max 1
  

SupplementaryData1 members

Member name Description Data Type / Multiplicity
PlaceAndName Unambiguous reference to the location where the supplementary data must be inserted in the message instance. In the case of XML, this is expressed by a valid XPath. IsoMax350Text - Optional 0..1
Envelope Technical element wrapping the supplementary data. IsoSupplementaryDataEnvelope1 - Required 1..1

Extensibility and generalization considerations

To facilitate generalized design patterns in the system, the FIToFIPaymentReversalV08 implementation follows a specific implementaiton pattern. First of all, FIToFIPaymentReversalV08 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, FIToFIPaymentReversalV08Document implements IOuterDocument. Because FIToFIPaymentReversalV08 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type FIToFIPaymentReversalV08.

classDiagram
    class IOuterRecord
    FIToFIPaymentReversalV08 --|> IOuterRecord : Implements
    FIToFIPaymentReversalV08Document --|> IOuterDocument~FIToFIPaymentReversalV08~ : Implements
    class IOuterDocument~FIToFIPaymentReversalV08~ {
        FIToFIPaymentReversalV08 Message
     }
  

Document wrapper for serialization

The only real purpose FIToFIPaymentReversalV08Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:pacs.007.001.08’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using FIToFIPaymentReversalV08.ToDocument() method. The returned FIToFIPaymentReversalV08Document value will serialize correctly according to ISO 20022 standards.

classDiagram
    FIToFIPaymentReversalV08Document *-- FIToFIPaymentReversalV08 : Document
  

Sample of message format

This is an abbreviated version of what the message should look like.

<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pacs.007.001.08">
    <FIToFIPmtRvsl>
        <GrpHdr>
            <!-- GroupHeader inner content -->
        </GrpHdr>
        <OrgnlGrpInf>
            <!-- OriginalGroupInformation inner content -->
        </OrgnlGrpInf>
        <TxInf>
            <!-- TransactionInformation inner content -->
        </TxInf>
        <SplmtryData>
            <!-- SupplementaryData inner content -->
        </SplmtryData>
    </FIToFIPmtRvsl>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_AOwWeV1tEeehlLdFiIrRgQ"
  nextVersions="_x0JYo3L4EeidQ_AAdEzxQA"
  previousVersion="_GDIJIWXkEeap-P22vGV91g"
  name="FIToFIPaymentReversalV08"
  definition="Scope&#xD;&#xA;The FinancialInstitutionToFinancialInstitutionPaymentReversal message is sent by an agent to the next party in the payment chain. It is used to reverse a payment previously executed.&#xD;&#xA;Usage&#xD;&#xA;The FIToFIPaymentReversal message is exchanged between agents to reverse a payment message that has been settled. The result will be a credit on the debtor account (when the reversed payment was a Direct Debit) or a debit on the creditor account (when the reversed payment was a Credit Transfer).&#xD;&#xA;The FIToFIPaymentReversal message may or may not be the follow-up of a payment message.&#xD;&#xA;The FIToFIPaymentReversal message refers to the original payment message by means of references only or by means of references and a set of elements from the original instruction.&#xD;&#xA;The FIToFIPaymentReversal message can be used in domestic and cross-border scenarios."
  registrationStatus="Registered"
  messageSet="_urpIICeJEeOCeO5e7islRQ"
  xmlTag="FIToFIPmtRvsl"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <constraint
    xmi:id="_AOwWe11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYpXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJI2XkEeap-P22vGV91g"
    name="GroupReversalAndTransactionInformationNotPresentRule"
    definition="If GroupHeader/GroupReversal is true, then TransactionInformation is not allowed."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Absence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;rightOperand&gt;true&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWfV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYp3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJJWXkEeap-P22vGV91g"
    name="GroupReversalAndTransactionInformationPresentRule"
    definition="If GroupHeader/GroupReversal is false, then at least one occurrence of TransactionInformation must be present."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[1]&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;rightOperand&gt;false&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWf11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYqXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJJ2XkEeap-P22vGV91g"
    name="GroupReversalAndReasonRule"
    definition="If GroupHeader/GroupReversal is true, then OriginalGroupInformation/ReversalReasonInformation/Reason must present."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/OriginalGroupInformation/ReversalReasonInformation[1]&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/OriginalGroupInformation/ReversalReasonInformation[*]/Reason&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;rightOperand&gt;true&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWgV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYq3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJKWXkEeap-P22vGV91g"
    name="InstructedAgentRule"
    definition="If GroupHeader/InstructedAgent is present, then TransactionInformation/InstructedAgent is not allowed."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Absence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/InstructedAgent&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/InstructedAgent&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWg11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYrXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJK2XkEeap-P22vGV91g"
    name="InstructingAgentRule"
    definition="If GroupHeader/InstructingAgent is present, then TransactionInformation/InstructingAgent is not allowed."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Absence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/InstructingAgent&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/InstructingAgent&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWhV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYr3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJLWXkEeap-P22vGV91g"
    name="GroupHeaderInterbankSettlementDateRule"
    definition="If GroupHeader/InterbankSettlementDate is present, then TransactionInformation/InterbankSettlementDate is not allowed."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Absence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/InterbankSettlementDate&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/InterbankSettlementDate&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWh11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYsXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJL2XkEeap-P22vGV91g"
    name="TransactionInterbankSettlementDateRule"
    definition="If GroupHeader/InterbankSettlementDate is not present, then TransactionInformation/InterbankSettlementDate must be present."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/InterbankSettlementDate&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Absence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/InterbankSettlementDate&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWiV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYs3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJMWXkEeap-P22vGV91g"
    name="GroupReversalAndNumberOfTransactionsRule"
    definition="If GroupHeader/GroupReversal is false, then GroupHeader/NumberOfTransactions must equal the number of occurrences of TransactionInformation."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/NumberOfTransactions&lt;/leftOperand&gt;&lt;rightOperand&gt;Number Occurrences TransactionInformation&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/GroupReversal&lt;/leftOperand&gt;&lt;rightOperand&gt;false&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWi11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYtXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJM2XkEeap-P22vGV91g"
    name="TotalReversedInterbankSettlementAmountRule"
    definition="If GroupHeader/TotalReversedInterbankSettlementAmount is present, then all occurrences of TransactionInformation/ReversedInterbankSettlementAmount must have the same currency as the currency of GroupHeader/TotalReversedInterbankSettlementAmount."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;EqualToNode&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/ReversedInterbankSettlementAmount/@Currency&lt;/leftOperand&gt;&lt;rightOperand&gt;/GroupHeader/TotalReversedInterbankSettlementAmount/@Currency&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/TotalReversedInterbankSettlementAmount&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[1]&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/ReversedInterbankSettlementAmount&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWjV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYt3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJNWXkEeap-P22vGV91g"
    name="TotalReversedInterbankSettlementAmountAndSumRule"
    definition="GroupHeader/TotalReversedInterbankSettlementAmount must equal the sum of all individual TransactionInformation/ReversedInterbankSettlementAmount when present."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/TotalReversedInterbankSettlementAmount&lt;/leftOperand&gt;&lt;rightOperand&gt;sum of TransactionInformation/ReversedInterbankSttlementAmount&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/TotalReversedInterbankSettlementAmount&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWj11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYuXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJN2XkEeap-P22vGV91g"
    name="NoCoverSettlementMethodRule"
    definition="GroupHeader/SettlementInformation/SettlementMethod must be different from COVE (Cover) when reversing direct debit transactions."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;DifferentFromValue&quot;&gt;&lt;leftOperand&gt;substring(/OriginalGroupInformation/OriginalMessageNameIdentification,1,8)&lt;/leftOperand&gt;&lt;rightOperand&gt;pacs.003&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/GroupHeader/SettlementInformation&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/GroupHeader/SettlementInformation/SettlementMethod&lt;/leftOperand&gt;&lt;rightOperand&gt;CoverMethod&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <constraint
    xmi:id="_AOwWkV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYu3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJOWXkEeap-P22vGV91g"
    name="SupplementaryDataRule"
    definition="The SupplementaryData building block at message level must not be used to provide additional information about a transaction. The SupplementaryData element at transaction level should be used for that purpose."
    registrationStatus="Provisionally Registered" />
  <constraint
    xmi:id="_AOwWk11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYvXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJO2XkEeap-P22vGV91g"
    name="OriginalGroupInformationRule"
    definition="If OriginalGroupInformation is present, then TransactionInformation/OriginalGroupInformation is not allowed."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ComplexRule xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Absence&quot;&gt;&lt;leftOperand&gt;/TransactionInformation[*]/OriginalGroupInformation&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;AND&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/OriginalGroupInformation&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;&#xA;" />
  <messageBuildingBlock
    xmi:id="_AOwWlV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYv3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJPWXkEeap-P22vGV91g"
    name="GroupHeader"
    definition="Set of characteristics shared by all individual transactions included in the message."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="GrpHdr"
    complexType="_ja46eTq3EeWZFYSPlduMhw" />
  <messageBuildingBlock
    xmi:id="_AOwWl11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYwXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJP2XkEeap-P22vGV91g"
    name="OriginalGroupInformation"
    definition="Information concerning the original group of transactions, to which the message refers."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="OrgnlGrpInf"
    complexType="_RdfHobThEeef0oKPLRNatg" />
  <messageBuildingBlock
    xmi:id="_AOwWmV1tEeehlLdFiIrRgQ"
    nextVersions="_x0JYw3L4EeidQ_AAdEzxQA"
    previousVersion="_GDIJQWXkEeap-P22vGV91g"
    name="TransactionInformation"
    definition="Information concerning the original transactions, to which the reversal message refers."
    registrationStatus="Provisionally Registered"
    minOccurs="0"
    xmlTag="TxInf"
    complexType="_Z_VPEYtvEee-OJ-wXSj3YQ" />
  <messageBuildingBlock
    xmi:id="_AOwWm11tEeehlLdFiIrRgQ"
    nextVersions="_x0JYxXL4EeidQ_AAdEzxQA"
    previousVersion="_GDIJQ2XkEeap-P22vGV91g"
    name="SupplementaryData"
    definition="Additional information that cannot be captured in the structured elements and/or any other specific block."
    registrationStatus="Provisionally Registered"
    minOccurs="0"
    xmlTag="SplmtryData"
    complexType="_Qn0zC9p-Ed-ak6NoX_4Aeg_468227563" />
  <messageDefinitionIdentifier
    businessArea="pacs"
    messageFunctionality="007"
    flavour="001"
    version="08" />
</messageDefinition>

ISO Building Blocks

The following items are used as building blocks to construct this message.