DuplicateV04

camt.034.001.04

Scope The Duplicate message is used by financial institutions, with their own offices, and/or with other financial institutions with which they have established bilateral agreements. It allows to exchange duplicate payment instructions. Usage This message must be sent in response to a Request For Duplicate message. The Duplicate Data element must contain a well formed XML document. This means XML special characters such as ‘<’ must be used in a way that is consistent with XML well-formedness criteria. .

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
%% DuplicateV04 recursion level 0 with max 0
DuplicateV04 *-- "1..1" CaseAssignment3 : Assignment
DuplicateV04 *-- "1..1" Case3 : Case
DuplicateV04 *-- "1..1" ProprietaryData4 : Duplicate
DuplicateV04 *-- "0..1" SupplementaryData1 : SupplementaryData
  

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

Assignment building block

Identifies the assignment of an investigation case from an assigner to an assignee. Usage: The Assigner must be the sender of this confirmation and the Assignee must be the receiver. Represents the assignment of a case to a party. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% CaseAssignment3 recursion level 0 with max 1
class CaseAssignment3{
    Identification IsoMax35Text
    CreationDateTime IsoISODateTime
}
CaseAssignment3 *-- "1..1" IParty12Choice : Assigner
CaseAssignment3 *-- "1..1" IParty12Choice : Assignee
%% IParty12Choice recursion level 1 with max 1
%% IParty12Choice recursion level 1 with max 1
  

CaseAssignment3 members

Member name Description Data Type / Multiplicity
Identification Uniquely identifies the case assignment. IsoMax35Text - Required 1..1
Assigner Party who assigns the case. Usage: This is also the sender of the message.
Assignee Party to which the case is assigned. Usage: This is also the receiver of the message.
CreationDateTime Date and time at which the assignment was created. IsoISODateTime - Required 1..1

Case building block

Identifies the investigation case. Provides further details to identify an investigation case. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% Case3 recursion level 0 with max 1
class Case3{
    Identification IsoMax35Text
    ReopenCaseIndication IsoYesNoIndicator
}
Case3 *-- "1..1" IParty12Choice : Creator
%% IParty12Choice recursion level 1 with max 1
  

Case3 members

Member name Description Data Type / Multiplicity
Identification Uniquely identifies the case. IsoMax35Text - Required 1..1
Creator Party that created the investigation case. IParty12Choice - Required 1..1
ReopenCaseIndication Indicates whether or not the case was previously closed and is now re-opened. IsoYesNoIndicator - Optional 0..1

Duplicate building block

Duplicate of a previously sent message. Container for proprietary information. Business content of this element is not specified. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% ProprietaryData4 recursion level 0 with max 1
class ProprietaryData4{
    Type IsoMax35Text
}
ProprietaryData4 *-- "1..1" ProprietaryData3 : Data
%% ProprietaryData3 recursion level 1 with max 1
ProprietaryData3 *-- "1..1" SkipProcessing : Any
  

ProprietaryData4 members

Member name Description Data Type / Multiplicity
Type Specifies the type of proprietary document. IsoMax35Text - Required 1..1
Data Proprietary data content. ProprietaryData3 - Required 1..1

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

classDiagram
    class IOuterRecord
    DuplicateV04 --|> IOuterRecord : Implements
    DuplicateV04Document --|> IOuterDocument~DuplicateV04~ : Implements
    class IOuterDocument~DuplicateV04~ {
        DuplicateV04 Message
     }
  

Document wrapper for serialization

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

classDiagram
    DuplicateV04Document *-- DuplicateV04 : 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.034.001.04">
    <Dplct>
        <Assgnmt>
            <!-- Assignment inner content -->
        </Assgnmt>
        <Case>
            <!-- Case inner content -->
        </Case>
        <Dplct>
            <!-- Duplicate inner content -->
        </Dplct>
        <SplmtryData>
            <!-- SupplementaryData inner content -->
        </SplmtryData>
    </Dplct>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_sWZkYFkyEeGeoaLUQk__nA_-179757236"
  nextVersions="_nNMjUaqDEeeMmtkfa8-zPg"
  previousVersion="_X-6wYtE-Ed-BzquC8wXy7w_654549647"
  name="DuplicateV04"
  definition="Scope&#xD;&#xA;The Duplicate message is used by financial institutions, with their own offices, and/or with other financial institutions with which they have established bilateral agreements. It allows to exchange duplicate payment instructions.&#xD;&#xA;Usage&#xD;&#xA;This message must be sent in response to a Request For Duplicate message.&#xD;&#xA;The Duplicate Data element must contain a well formed XML document. This means XML special characters such as '&lt;' must be used in a way that is consistent with XML well-formedness criteria.&#xD;."
  registrationStatus="Registered"
  messageSet="_urpIICeJEeOCeO5e7islRQ"
  xmlTag="Dplct"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <messageBuildingBlock
    xmi:id="_sWjVYFkyEeGeoaLUQk__nA_993403682"
    nextVersions="_nNMjU6qDEeeMmtkfa8-zPg"
    name="Assignment"
    definition="Identifies the assignment of an investigation case from an assigner to an assignee.&#xA;Usage: The Assigner must be the sender of this confirmation and the Assignee must be the receiver."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="Assgnmt"
    complexType="_sbKvolkyEeGeoaLUQk__nA_1583838951" />
  <messageBuildingBlock
    xmi:id="_sWsfUFkyEeGeoaLUQk__nA_110170395"
    nextVersions="_nNMjVaqDEeeMmtkfa8-zPg"
    name="Case"
    definition="Identifies the investigation case."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="Case"
    complexType="_tijOcFkyEeGeoaLUQk__nA_-1838378407" />
  <messageBuildingBlock
    xmi:id="_sWsfUVkyEeGeoaLUQk__nA_-3668671"
    nextVersions="_nNMjV6qDEeeMmtkfa8-zPg"
    name="Duplicate"
    definition="Duplicate of a previously sent message."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="Dplct"
    complexType="_RqIklNp-Ed-ak6NoX_4Aeg_1327453189" />
  <messageBuildingBlock
    xmi:id="_sWsfUlkyEeGeoaLUQk__nA_1398916229"
    nextVersions="_nNMjWaqDEeeMmtkfa8-zPg"
    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="034"
    flavour="001"
    version="04" />
</messageDefinition>

ISO Building Blocks

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