NotificationToReceiveCancellationAdviceV07

camt.058.001.07

Scope The NotificationToReceiveCancellationAdvice message is sent by an account owner or by a party acting on the account owner’s behalf to one of the account owner’s account servicing institutions. It is used to advise the account servicing institution about the cancellation of one or more notifications in a previous NotificationToReceive message. Usage The NotificationToReceiveCancellationAdvice message is used to advise the account servicing institution that the funds are no longer expected. The message can be used in either a direct or a relay scenario.

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
%% NotificationToReceiveCancellationAdviceV07 recursion level 0 with max 0
NotificationToReceiveCancellationAdviceV07 *-- "1..1" GroupHeader77 : GroupHeader
NotificationToReceiveCancellationAdviceV07 *-- "1..1" OriginalNotification14 : OriginalNotification
NotificationToReceiveCancellationAdviceV07 *-- "0..1" SupplementaryData1 : SupplementaryData
  

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

GroupHeader building block

Set of elements used to provide further details on the message. Provides further details on the message. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% GroupHeader77 recursion level 0 with max 1
class GroupHeader77{
    MessageIdentification IsoMax35Text
    CreationDateTime IsoISODateTime
}
GroupHeader77 *-- "0..1" IParty40Choice : MessageSender
%% IParty40Choice recursion level 1 with max 1
  

GroupHeader77 members

Member name Description Data Type / Multiplicity
MessageIdentification Point to point reference, as assigned by the account owner or the party authorised to send the message, and sent to the account servicing institution, to unambiguously identify the message. Usage: The sender has to make sure that ‘MessageIdentification’ is unique per account servicing institution for a pre-agreed period.
CreationDateTime Date and time at which the message was created. IsoISODateTime - Required 1..1
MessageSender Identification of the party that is sending the message, when different from the account owner. IParty40Choice - Optional 0..1

OriginalNotification building block

Set of elements used to identify the original notification, to which the cancellation advice refers. Identifies the original notification, to which the cancellation advice refers. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% OriginalNotification14 recursion level 0 with max 1
class OriginalNotification14{
    OriginalMessageIdentification IsoMax35Text
    OriginalCreationDateTime IsoISODateTime
    OriginalNotificationIdentification IsoMax35Text
    NotificationCancellation IsoGroupCancellationIndicator
}
OriginalNotification14 *-- "0..0" OriginalNotificationReference12 : OriginalNotificationReference
%% OriginalNotificationReference12 recursion level 1 with max 1
class OriginalNotificationReference12{
    TotalAmount IsoActiveOrHistoricCurrencyAndAmount
    ExpectedValueDate IsoISODate
}
OriginalNotificationReference12 *-- "0..1" CashAccount40 : Account
OriginalNotificationReference12 *-- "0..1" IParty40Choice : AccountOwner
OriginalNotificationReference12 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : AccountServicer
OriginalNotificationReference12 *-- "0..1" CashAccount40 : RelatedAccount
OriginalNotificationReference12 *-- "0..1" IParty40Choice : Debtor
OriginalNotificationReference12 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : DebtorAgent
OriginalNotificationReference12 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : IntermediaryAgent
OriginalNotificationReference12 *-- "1..0" OriginalItem7 : OriginalItem
  

OriginalNotification14 members

Member name Description Data Type / Multiplicity
OriginalMessageIdentification Point to point reference, as assigned by the original sender, to unambiguously identify the original notification to receive message. IsoMax35Text - Required 1..1
OriginalCreationDateTime Date and time at which the original message was created. IsoISODateTime - Optional 0..1
OriginalNotificationIdentification Identification of the original notification. IsoMax35Text - Required 1..1
NotificationCancellation Indicates whether the cancellation applies to the complete original notification or to individual items within the original notification. IsoGroupCancellationIndicator - Optional 0..1
OriginalNotificationReference Identifies the original notification item, to which the cancellation advice refers. OriginalNotificationReference12 - 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 NotificationToReceiveCancellationAdviceV07 implementation follows a specific implementaiton pattern. First of all, NotificationToReceiveCancellationAdviceV07 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, NotificationToReceiveCancellationAdviceV07Document implements IOuterDocument. Because NotificationToReceiveCancellationAdviceV07 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type NotificationToReceiveCancellationAdviceV07.

classDiagram
    class IOuterRecord
    NotificationToReceiveCancellationAdviceV07 --|> IOuterRecord : Implements
    NotificationToReceiveCancellationAdviceV07Document --|> IOuterDocument~NotificationToReceiveCancellationAdviceV07~ : Implements
    class IOuterDocument~NotificationToReceiveCancellationAdviceV07~ {
        NotificationToReceiveCancellationAdviceV07 Message
     }
  

Document wrapper for serialization

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

classDiagram
    NotificationToReceiveCancellationAdviceV07Document *-- NotificationToReceiveCancellationAdviceV07 : 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.058.001.07">
    <NtfctnToRcvCxlAdvc>
        <GrpHdr>
            <!-- GroupHeader inner content -->
        </GrpHdr>
        <OrgnlNtfctn>
            <!-- OriginalNotification inner content -->
        </OrgnlNtfctn>
        <SplmtryData>
            <!-- SupplementaryData inner content -->
        </SplmtryData>
    </NtfctnToRcvCxlAdvc>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_dvOmzdcBEeq_l4BJLVUF2Q"
  nextVersions="_XwxHwStuEeysar7zFstVmw"
  previousVersion="_yaKCAW42EeiU9cctagi5ow"
  name="NotificationToReceiveCancellationAdviceV07"
  definition="Scope&#xD;&#xA;The NotificationToReceiveCancellationAdvice message is sent by an account owner or by a party acting on the account owner's behalf to one of the account owner's account servicing institutions. It is used to advise the account servicing institution about the cancellation of one or more notifications in a previous NotificationToReceive message.&#xD;&#xA;Usage&#xD;&#xA;The NotificationToReceiveCancellationAdvice message is used to advise the account servicing institution that the funds are no longer expected. The message can be used in either a direct or a relay scenario."
  registrationStatus="Registered"
  messageSet="_wRx2xU2rEeG_I4xRYCA_7g"
  xmlTag="NtfctnToRcvCxlAdvc"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <messageBuildingBlock
    xmi:id="_dvOm1dcBEeq_l4BJLVUF2Q"
    nextVersions="_XwxH0StuEeysar7zFstVmw"
    previousVersion="_yaKCA242EeiU9cctagi5ow"
    name="GroupHeader"
    definition="Set of elements used to provide further details on the message."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="GrpHdr"
    complexType="_CFttTW49EeiU9cctagi5ow" />
  <messageBuildingBlock
    xmi:id="_dvOm19cBEeq_l4BJLVUF2Q"
    nextVersions="_XwxH0ytuEeysar7zFstVmw"
    previousVersion="_yaKCBW42EeiU9cctagi5ow"
    name="OriginalNotification"
    definition="Set of elements used to identify the original notification, to which the cancellation advice refers."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="OrgnlNtfctn"
    complexType="_fhx1kdcZEeqRFcf2R4bPBw" />
  <messageBuildingBlock
    xmi:id="_dvOm2dcBEeq_l4BJLVUF2Q"
    nextVersions="_XwxH1StuEeysar7zFstVmw"
    previousVersion="_yaKCB242EeiU9cctagi5ow"
    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="058"
    flavour="001"
    version="07" />
</messageDefinition>

ISO Building Blocks

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