camt.058.001.08
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 %% NotificationToReceiveCancellationAdviceV08 recursion level 0 with max 0 NotificationToReceiveCancellationAdviceV08 *-- "1..1" GroupHeader77 : GroupHeader NotificationToReceiveCancellationAdviceV08 *-- "1..1" OriginalNotification14 : OriginalNotification NotificationToReceiveCancellationAdviceV08 *-- "0..1" NotificationCancellationReason1 : CancellationReason NotificationToReceiveCancellationAdviceV08 *-- "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 |
CancellationReason building block
Reason for the cancellation of the notification. Provides further details on the reason of the cancellation request. For comparison, see the ISO20022 official specification
classDiagram direction tb %% NotificationCancellationReason1 recursion level 0 with max 1 class NotificationCancellationReason1{ AdditionalInformation IsoMax105Text } NotificationCancellationReason1 *-- "0..1" PartyIdentification135 : Originator NotificationCancellationReason1 *-- "0..1" INotificationCancellationReason1Choice : Reason %% PartyIdentification135 recursion level 1 with max 1 class PartyIdentification135{ Name IsoMax140Text CountryOfResidence CountryCode } PartyIdentification135 *-- "0..1" PostalAddress24 : PostalAddress PartyIdentification135 *-- "0..1" IParty38Choice : Identification PartyIdentification135 *-- "0..1" Contact4 : ContactDetails %% INotificationCancellationReason1Choice recursion level 1 with max 1
NotificationCancellationReason1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Originator | Party that issues the cancellation request. | PartyIdentification135 - Optional 0..1 |
Reason | Specifies the reason for the cancellation. | INotificationCancellationReason1Choice - Optional 0..1 |
AdditionalInformation | Further details on the cancellation request reason. | IsoMax105Text - 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 NotificationToReceiveCancellationAdviceV08 implementation follows a specific implementaiton pattern. First of all, NotificationToReceiveCancellationAdviceV08 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, NotificationToReceiveCancellationAdviceV08Document implements IOuterDocument. Because NotificationToReceiveCancellationAdviceV08 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type NotificationToReceiveCancellationAdviceV08.
classDiagram class IOuterRecord NotificationToReceiveCancellationAdviceV08 --|> IOuterRecord : Implements NotificationToReceiveCancellationAdviceV08Document --|> IOuterDocument~NotificationToReceiveCancellationAdviceV08~ : Implements class IOuterDocument~NotificationToReceiveCancellationAdviceV08~ { NotificationToReceiveCancellationAdviceV08 Message }
Document wrapper for serialization
The only real purpose NotificationToReceiveCancellationAdviceV08Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:camt.058.001.08’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using NotificationToReceiveCancellationAdviceV08.ToDocument() method. The returned NotificationToReceiveCancellationAdviceV08Document value will serialize correctly according to ISO 20022 standards.
classDiagram NotificationToReceiveCancellationAdviceV08Document *-- NotificationToReceiveCancellationAdviceV08 : 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.08">
<NtfctnToRcvCxlAdvc>
<GrpHdr>
<!-- GroupHeader inner content -->
</GrpHdr>
<OrgnlNtfctn>
<!-- OriginalNotification inner content -->
</OrgnlNtfctn>
<CxlRsn>
<!-- CancellationReason inner content -->
</CxlRsn>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</NtfctnToRcvCxlAdvc>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_XwxHwStuEeysar7zFstVmw"
previousVersion="_dvOmzdcBEeq_l4BJLVUF2Q"
name="NotificationToReceiveCancellationAdviceV08"
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="_N1zK8_2YEeG0oal_knwJ7A"
xmlTag="NtfctnToRcvCxlAdvc"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_XwxH0StuEeysar7zFstVmw"
previousVersion="_dvOm1dcBEeq_l4BJLVUF2Q"
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="_XwxH0ytuEeysar7zFstVmw"
previousVersion="_dvOm19cBEeq_l4BJLVUF2Q"
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="_tX3SYCt2Eeysar7zFstVmw"
name="CancellationReason"
definition="Reason for the cancellation of the notification."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="CxlRsn"
complexType="_32GNkSv_Eey3nPxW-HgLUw" />
<messageBuildingBlock
xmi:id="_XwxH1StuEeysar7zFstVmw"
previousVersion="_dvOm2dcBEeq_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="058"
flavour="001"
version="08" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.