camt.058.001.06
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 %% NotificationToReceiveCancellationAdviceV06 recursion level 0 with max 0 NotificationToReceiveCancellationAdviceV06 *-- "1..1" GroupHeader77 : GroupHeader NotificationToReceiveCancellationAdviceV06 *-- "1..1" OriginalNotification12 : OriginalNotification NotificationToReceiveCancellationAdviceV06 *-- "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 %% OriginalNotification12 recursion level 0 with max 1 class OriginalNotification12{ OriginalMessageIdentification IsoMax35Text OriginalCreationDateTime IsoISODateTime OriginalNotificationIdentification IsoMax35Text NotificationCancellation IsoGroupCancellationIndicator } OriginalNotification12 *-- "0..0" OriginalNotificationReference10 : OriginalNotificationReference %% OriginalNotificationReference10 recursion level 1 with max 1 class OriginalNotificationReference10{ TotalAmount IsoActiveOrHistoricCurrencyAndAmount ExpectedValueDate IsoISODate } OriginalNotificationReference10 *-- "0..1" CashAccount38 : Account OriginalNotificationReference10 *-- "0..1" IParty40Choice : AccountOwner OriginalNotificationReference10 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : AccountServicer OriginalNotificationReference10 *-- "0..1" CashAccount38 : RelatedAccount OriginalNotificationReference10 *-- "0..1" IParty40Choice : Debtor OriginalNotificationReference10 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : DebtorAgent OriginalNotificationReference10 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : IntermediaryAgent OriginalNotificationReference10 *-- "1..0" OriginalItem6 : OriginalItem
OriginalNotification12 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. | OriginalNotificationReference10 - 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 NotificationToReceiveCancellationAdviceV06 implementation follows a specific implementaiton pattern. First of all, NotificationToReceiveCancellationAdviceV06 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, NotificationToReceiveCancellationAdviceV06Document implements IOuterDocument. Because NotificationToReceiveCancellationAdviceV06 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type NotificationToReceiveCancellationAdviceV06.
classDiagram class IOuterRecord NotificationToReceiveCancellationAdviceV06 --|> IOuterRecord : Implements NotificationToReceiveCancellationAdviceV06Document --|> IOuterDocument~NotificationToReceiveCancellationAdviceV06~ : Implements class IOuterDocument~NotificationToReceiveCancellationAdviceV06~ { NotificationToReceiveCancellationAdviceV06 Message }
Document wrapper for serialization
The only real purpose NotificationToReceiveCancellationAdviceV06Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:camt.058.001.06’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using NotificationToReceiveCancellationAdviceV06.ToDocument() method. The returned NotificationToReceiveCancellationAdviceV06Document value will serialize correctly according to ISO 20022 standards.
classDiagram NotificationToReceiveCancellationAdviceV06Document *-- NotificationToReceiveCancellationAdviceV06 : 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.06">
<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="_yaKCAW42EeiU9cctagi5ow"
nextVersions="_dvOmzdcBEeq_l4BJLVUF2Q"
previousVersion="_pmmdcTqxEeWZFYSPlduMhw"
name="NotificationToReceiveCancellationAdviceV06"
definition="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."
registrationStatus="Registered"
messageSet="_urpIICeJEeOCeO5e7islRQ"
xmlTag="NtfctnToRcvCxlAdvc"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_yaKCA242EeiU9cctagi5ow"
nextVersions="_dvOm1dcBEeq_l4BJLVUF2Q"
previousVersion="_pmmdczqxEeWZFYSPlduMhw"
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="_yaKCBW42EeiU9cctagi5ow"
nextVersions="_dvOm19cBEeq_l4BJLVUF2Q"
previousVersion="_pmmddTqxEeWZFYSPlduMhw"
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="_UtzpsW49EeiU9cctagi5ow" />
<messageBuildingBlock
xmi:id="_yaKCB242EeiU9cctagi5ow"
nextVersions="_dvOm2dcBEeq_l4BJLVUF2Q"
previousVersion="_pmmddzqxEeWZFYSPlduMhw"
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="06" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.