ReturnTransactionV10

camt.006.001.10

Scope The ReturnTransaction message is sent by the transaction administrator to a member of the system. It is used to provide information on transactions and booked entries held at the transaction administrator. The Return Transaction message can be sent as a response to a related GetTransaction message (pull mode) or initiated by the transaction administrator (push mode). The push of information can take place either at prearranged times or as a warning or alarm when a problem has occurred. Usage Following normal business flows, transactions registered by the transaction administrator may be queued for later settlement (because of insufficient funds available, because of risk or liquidity limits, etc.). A transaction may have a series of statuses. These can be transient (such as pending or related types) and final (such as rejected or settled). Members of a system need to receive information about the payments queue(s) and must have the ability to take action (that is, cancel or modify the transaction(s) to be settled). Note, however, that actions by a member will always concern transactions in a transient status. At any time during operating hours of the system, the member can query the transaction administrator to get information about transactions, whatever their status. These requests will concern either all transactions, all transactions within a particular status or a specific transaction. The member can request information about transactions through a series of criteria, corresponding to the known information stored within the transaction administrator. Based on the criteria received within the request, the transaction administrator will select items that match the request and report them to the requester. The transaction administrator may also send a ReturnTransaction message with pre-defined information at times previously agreed with the member or to warn the member about a particular problem that may have arisen and which needs attention. The message from the transaction administrator can contain information based on the following elements:

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
%% ReturnTransactionV10 recursion level 0 with max 0
ReturnTransactionV10 *-- "1..1" MessageHeader8 : MessageHeader
ReturnTransactionV10 *-- "1..1" ITransactionReportOrError6Choice : ReportOrError
ReturnTransactionV10 *-- "0..1" SupplementaryData1 : SupplementaryData
  

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

MessageHeader building block

Common business identification for the message. Set of characteristics, such as the identification or the creation date and time, specific to the message. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% MessageHeader8 recursion level 0 with max 1
class MessageHeader8{
    MessageIdentification IsoMax35Text
    CreationDateTime IsoISODateTime
    QueryName IsoMax35Text
}
MessageHeader8 *-- "0..1" Pagination1 : MessagePagination
MessageHeader8 *-- "0..1" OriginalBusinessQuery1 : OriginalBusinessQuery
MessageHeader8 *-- "0..1" IRequestType4Choice : RequestType
%% Pagination1 recursion level 1 with max 1
class Pagination1{
    PageNumber IsoMax5NumericText
    LastPageIndicator IsoYesNoIndicator
}
%% OriginalBusinessQuery1 recursion level 1 with max 1
class OriginalBusinessQuery1{
    MessageIdentification IsoMax35Text
    MessageNameIdentification IsoMax35Text
    CreationDateTime IsoISODateTime
}
%% IRequestType4Choice recursion level 1 with max 1
  

MessageHeader8 members

Member name Description Data Type / Multiplicity
MessageIdentification Point to point reference, as assigned by the sender, to unambiguously identify the message. Usage: The sender has to make sure that MessageIdentification is unique for a pre-agreed period.
CreationDateTime Date and time at which the message was created. IsoISODateTime - Optional 0..1
MessagePagination Pagination of the message. Usage: the pagination of the message is only allowed when agreed between the parties.
OriginalBusinessQuery Unique identification of the original query message. OriginalBusinessQuery1 - Optional 0..1
RequestType Specific actions to be executed through the request. IRequestType4Choice - Optional 0..1
QueryName Recalls the criteria (search and return criteria) defined in a preceding query. IsoMax35Text - Optional 0..1

ReportOrError building block

Reports on transactions. Choice between transactions and booked entries held at the transaction administrator or an operational error when the requested data cannot be retrieved. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% ITransactionReportOrError6Choice recursion level 0 with max 1
  

TransactionReportOrError6Choice members

Member name Description Data Type / Multiplicity

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 ReturnTransactionV10 implementation follows a specific implementaiton pattern. First of all, ReturnTransactionV10 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, ReturnTransactionV10Document implements IOuterDocument. Because ReturnTransactionV10 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type ReturnTransactionV10.

classDiagram
    class IOuterRecord
    ReturnTransactionV10 --|> IOuterRecord : Implements
    ReturnTransactionV10Document --|> IOuterDocument~ReturnTransactionV10~ : Implements
    class IOuterDocument~ReturnTransactionV10~ {
        ReturnTransactionV10 Message
     }
  

Document wrapper for serialization

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

classDiagram
    ReturnTransactionV10Document *-- ReturnTransactionV10 : 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:camt.006.001.10">
    <RtrTx>
        <MsgHdr>
            <!-- MessageHeader inner content -->
        </MsgHdr>
        <RptOrErr>
            <!-- ReportOrError inner content -->
        </RptOrErr>
        <SplmtryData>
            <!-- SupplementaryData inner content -->
        </SplmtryData>
    </RtrTx>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_jx4toQKxEe2rHs6fbn9-0A"
  previousVersion="_ThWhy9b6Eeq_l4BJLVUF2Q"
  name="ReturnTransactionV10"
  definition="Scope&#xD;&#xA;The ReturnTransaction message is sent by the transaction administrator to a member of the system.&#xD;&#xA;It is used to provide information on transactions and booked entries held at the transaction administrator.&#xD;&#xA;The Return Transaction message can be sent as a response to a related GetTransaction message (pull mode) or initiated by the transaction administrator (push mode). The push of information can take place either at prearranged times or as a warning or alarm when a problem has occurred.&#xD;&#xA;Usage&#xD;&#xA;Following normal business flows, transactions registered by the transaction administrator may be queued for later settlement (because of insufficient funds available, because of risk or liquidity limits, etc.). A transaction may have a series of statuses. These can be transient (such as pending or related types) and final (such as rejected or settled).&#xD;&#xA;Members of a system need to receive information about the payments queue(s) and must have the ability to take action (that is, cancel or modify the transaction(s) to be settled). Note, however, that actions by a member will always concern transactions in a transient status.&#xD;&#xA;At any time during operating hours of the system, the member can query the transaction administrator to get information about transactions, whatever their status.&#xD;&#xA;These requests will concern either all transactions, all transactions within a particular status or a specific transaction.&#xD;&#xA;The member can request information about transactions through a series of criteria, corresponding to the known information stored within the transaction administrator. Based on the criteria received within the request, the transaction administrator will select items that match the request and report them to the requester.&#xD;&#xA;The transaction administrator may also send a ReturnTransaction message with pre-defined information at times previously agreed with the member or to warn the member about a particular problem that may have arisen and which needs attention.&#xD;&#xA;The message from the transaction administrator can contain information based on the following elements:&#xD;&#xA;- provenance or destination of the payment (payment to/payment from)&#xD;&#xA;- transaction reference&#xD;&#xA;- transfer value date&#xD;&#xA;- payment instruction reference&#xD;&#xA;- payment instruction status, as registered at the transaction administrator&#xD;&#xA;- instructed amount and/or currency&#xD;&#xA;- interbank settlement amount and/or currency&#xD;&#xA;- credit/debit indicator of the payment instruction/transaction&#xD;&#xA;- message used for the payment instruction&#xD;&#xA;- priority of the payment transaction&#xD;&#xA;- period in which the payment instruction should be processed (processing validity time)&#xD;&#xA;- instructions given, related to the processing of the transaction&#xD;&#xA;- type of payment instructed&#xD;&#xA;- account identification (entries booked to a specific account)&#xD;&#xA;- entry amount and/or currency&#xD;&#xA;- entry debit/credit indicator (if absent, all entries should be reported)&#xD;&#xA;- status of the entry (pending, booked.)&#xD;&#xA;- entry date and time&#xD;&#xA;- currency of the account&#xD;&#xA;- type of the account&#xD;&#xA;- entry reference&#xD;&#xA;- entry date&#xD;&#xA;- transfer reason&#xD;&#xA;- details related to the status of the payment instruction&#xD;&#xA;An element that is particular to the Get/Return Transaction pair is the Statement Report. When a GetTransaction message is sent requesting a statement report, the related ReturnTransaction message will provide a pre-defined set of return criteria per transaction. The information returned contains the following details for each transaction:&#xD;&#xA;- value date&#xD;&#xA;- entry date&#xD;&#xA;- debit/credit code&#xD;&#xA;- entry amount&#xD;&#xA;- method of payment (payment instrument or message type)&#xD;&#xA;- entry reference&#xD;&#xA;- transaction reference&#xD;&#xA;- supplementary details&#xD;&#xA;Additional information on the generic design of the Get/Return messages can be found in the section How to Use the Cash Management Messages."
  registrationStatus="Registered"
  messageSet="_SZTDoxcNEeiyVv5j1vf1VQ"
  xmlTag="RtrTx"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <constraint
    xmi:id="_jx4towKxEe2rHs6fbn9-0A"
    previousVersion="_ThWhzdb6Eeq_l4BJLVUF2Q"
    name="CurrencyGuideline"
    definition="The currency may be omitted in the amounts present in the message. However, this should only be done in cases of one single currency systems (for example, the euro)."
    registrationStatus="Provisionally Registered" />
  <messageBuildingBlock
    xmi:id="_jx4trQKxEe2rHs6fbn9-0A"
    previousVersion="_ThWh1db6Eeq_l4BJLVUF2Q"
    name="MessageHeader"
    definition="Common business identification for the message."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="MsgHdr"
    complexType="_i375p5IhEeect698_YsnIA" />
  <messageBuildingBlock
    xmi:id="_jx4trwKxEe2rHs6fbn9-0A"
    previousVersion="_ThWh19b6Eeq_l4BJLVUF2Q"
    name="ReportOrError"
    definition="Reports on transactions."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="RptOrErr"
    complexType="_7EaY8QKxEe2rHs6fbn9-0A" />
  <messageBuildingBlock
    xmi:id="_jx4tsQKxEe2rHs6fbn9-0A"
    previousVersion="_ThWh2db6Eeq_l4BJLVUF2Q"
    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="camt"
    messageFunctionality="006"
    flavour="001"
    version="10" />
</messageDefinition>

ISO Building Blocks

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