semt.020.001.07
Scope An account servicer sends a SecuritiesMessageCancellationAdvice to an account owner to inform of the cancellation of a securities message previously sent by an account servicer. The account servicer/owner relationship may be:
- a central securities depository or another settlement market infrastructure acting on behalf of their participants
- an agent (sub-custodian) acting on behalf of their global custodian customer, or
- a custodian acting on behalf of an investment management institution or a broker/dealer.
Usage The previously sent message may be:
- a securities settlement transaction confirmation
- a report (transactions, pending transactions, allegements, accounting and custody securities balance)
- a allegement notification (when sent by mistake or because the counterparty cancelled its instruction)
- a portfolio transfer notification
- an intra-position movement confirmation
- a transaction generation notification
The previously sent message cannot be a status advice message (any). If a status advice should not have been sent, a new status advice with the correct status should be sent, not a cancellation advice. The message may also be used to:
- re-send a message previously sent,
- provide a third party with a copy of a message for information,
- re-send to a third party a copy of a message for information using the relevant elements in the Business Application Header.
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 %% SecuritiesMessageCancellationAdviceV07 recursion level 0 with max 0 SecuritiesMessageCancellationAdviceV07 *-- "1..1" IReferences69Choice : Reference SecuritiesMessageCancellationAdviceV07 *-- "0..1" PartyIdentification144 : AccountOwner SecuritiesMessageCancellationAdviceV07 *-- "0..1" SecuritiesAccount19 : SafekeepingAccount SecuritiesMessageCancellationAdviceV07 *-- "0..1" BlockChainAddressWallet3 : BlockChainAddressOrWallet SecuritiesMessageCancellationAdviceV07 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
Reference building block
Reference to the message advised to be cancelled by the account servicer. Choice of reference. For comparison, see the ISO20022 official specification
classDiagram direction tb %% IReferences69Choice recursion level 0 with max 1
References69Choice members
Member name | Description | Data Type / Multiplicity |
---|
AccountOwner building block
Party that legally owns the account. Identification of a party. For comparison, see the ISO20022 official specification
classDiagram direction tb %% PartyIdentification144 recursion level 0 with max 1 class PartyIdentification144{ LEI IsoLEIIdentifier } PartyIdentification144 *-- "1..1" IPartyIdentification127Choice : Identification %% IPartyIdentification127Choice recursion level 1 with max 1
PartyIdentification144 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unique identification of the party. | IPartyIdentification127Choice - Required 1..1 |
LEI | Legal entity identification as an alternate identification for a party. | IsoLEIIdentifier - Optional 0..1 |
SafekeepingAccount building block
Account to or from which a securities entry is made. Account to or from which a securities entry is made. For comparison, see the ISO20022 official specification
classDiagram direction tb %% SecuritiesAccount19 recursion level 0 with max 1 class SecuritiesAccount19{ Identification IsoMax35Text Name IsoMax70Text } SecuritiesAccount19 *-- "0..1" GenericIdentification30 : Type %% GenericIdentification30 recursion level 1 with max 1 class GenericIdentification30{ Identification IsoExact4AlphaNumericText Issuer IsoMax35Text SchemeName IsoMax35Text }
SecuritiesAccount19 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unambiguous identification for the account between the account owner and the account servicer. | IsoMax35Text - Required 1..1 |
Type | Specifies the type of securities account. | GenericIdentification30 - Optional 0..1 |
Name | Description of the account. | IsoMax70Text - Optional 0..1 |
BlockChainAddressOrWallet building block
Blockchain address or wallet where digital assets are maintained. This is the equivalent of safekeeping account for digital assets. Digital account where digital assets or digital tokens can be stored and where an entry is made. For comparison, see the ISO20022 official specification
classDiagram direction tb %% BlockChainAddressWallet3 recursion level 0 with max 1 class BlockChainAddressWallet3{ Identification IsoMax140Text Name IsoMax70Text } BlockChainAddressWallet3 *-- "0..1" GenericIdentification30 : Type %% GenericIdentification30 recursion level 1 with max 1 class GenericIdentification30{ Identification IsoExact4AlphaNumericText Issuer IsoMax35Text SchemeName IsoMax35Text }
BlockChainAddressWallet3 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unambiguous identification for the account between the account owner and the account servicer. | IsoMax140Text - Required 1..1 |
Type | Specifies the type of securities account. | GenericIdentification30 - Optional 0..1 |
Name | Description of the account. | IsoMax70Text - Optional 0..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 SecuritiesMessageCancellationAdviceV07 implementation follows a specific implementaiton pattern. First of all, SecuritiesMessageCancellationAdviceV07 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesMessageCancellationAdviceV07Document implements IOuterDocument. Because SecuritiesMessageCancellationAdviceV07 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesMessageCancellationAdviceV07.
classDiagram class IOuterRecord SecuritiesMessageCancellationAdviceV07 --|> IOuterRecord : Implements SecuritiesMessageCancellationAdviceV07Document --|> IOuterDocument~SecuritiesMessageCancellationAdviceV07~ : Implements class IOuterDocument~SecuritiesMessageCancellationAdviceV07~ { SecuritiesMessageCancellationAdviceV07 Message }
Document wrapper for serialization
The only real purpose SecuritiesMessageCancellationAdviceV07Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:semt.020.001.07’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using SecuritiesMessageCancellationAdviceV07.ToDocument() method. The returned SecuritiesMessageCancellationAdviceV07Document value will serialize correctly according to ISO 20022 standards.
classDiagram SecuritiesMessageCancellationAdviceV07Document *-- SecuritiesMessageCancellationAdviceV07 : 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:semt.020.001.07">
<SctiesMsgCxlAdvc>
<Ref>
<!-- Reference inner content -->
</Ref>
<AcctOwnr>
<!-- AccountOwner inner content -->
</AcctOwnr>
<SfkpgAcct>
<!-- SafekeepingAccount inner content -->
</SfkpgAcct>
<BlckChainAdrOrWllt>
<!-- BlockChainAddressOrWallet inner content -->
</BlckChainAdrOrWllt>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</SctiesMsgCxlAdvc>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_MFKhUSpzEeyR9JrVGfaMKw"
previousVersion="_d30QMQmEEeuQ1MenzX1l-g"
name="SecuritiesMessageCancellationAdviceV07"
definition="Scope
An account servicer sends a SecuritiesMessageCancellationAdvice to an account owner to inform of the cancellation of a securities message previously sent by an account servicer. 
The account servicer/owner relationship may be:
- a central securities depository or another settlement market infrastructure acting on behalf of their participants
- an agent (sub-custodian) acting on behalf of their global custodian customer, or 
- a custodian acting on behalf of an investment management institution or a broker/dealer.

Usage
The previously sent message may be:
- a securities settlement transaction confirmation
- a report (transactions, pending transactions, allegements, accounting and custody securities balance)
- a allegement notification (when sent by mistake or because the counterparty cancelled its instruction)
- a portfolio transfer notification 
- an intra-position movement confirmation
- a transaction generation notification

The previously sent message cannot be a status advice message (any). If a status advice should not have been sent, a new status advice with the correct status should be sent, not a cancellation advice.
The message may also be used to:
- re-send a message previously sent,
- provide a third party with a copy of a message for information,
- re-send to a third party a copy of a message for information
using the relevant elements in the Business Application Header."
registrationStatus="Registered"
messageSet="_xiys0WfyEeOLcMuJoUvTAg"
xmlTag="SctiesMsgCxlAdvc"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<constraint
xmi:id="_XBiflCqEEeyR9JrVGfaMKw"
name="SafekeepingAccountOrBlockChainAddress1Rule"
definition="If SafekeepingAccount is present, BlockChainAddressOrWallet must be absent."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition><ComplexRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ComplexRule"><mustBe><connector>AND</connector><BooleanRule xsi:type="Absence"><leftOperand>/BlockChainAddressOrWallet</leftOperand></BooleanRule></mustBe><onCondition><connector>AND</connector><BooleanRule xsi:type="Presence"><leftOperand>/SafekeepingAccount</leftOperand></BooleanRule></onCondition></ComplexRule></RuleDefinition>" />
<constraint
xmi:id="_XBiflSqEEeyR9JrVGfaMKw"
name="SafekeepingAccountOrBlockChainAddress2Rule"
definition="If BlockChainAddressOrWallet is present, SafekeepingAccount must be absent."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition><ComplexRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ComplexRule"><mustBe><connector>AND</connector><BooleanRule xsi:type="Absence"><leftOperand>/SafekeepingAccount</leftOperand></BooleanRule></mustBe><onCondition><connector>AND</connector><BooleanRule xsi:type="Presence"><leftOperand>/BlockChainAddressOrWallet</leftOperand></BooleanRule></onCondition></ComplexRule></RuleDefinition>" />
<constraint
xmi:id="_UP5BwTDvEeyVV_4ady97MA"
name="SafekeepingAccountOrBlockChainAddress3Rule"
definition="Either SafekeepingAccount or BlockChainAddressOrWallet must be present but not both."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition><SimpleRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SimpleRule"><mustBe><connector>OR</connector><BooleanRule xsi:type="Presence"><leftOperand>/SafekeepingAccount</leftOperand></BooleanRule><BooleanRule xsi:type="Presence"><leftOperand>/BlockChainAddressOrWallet</leftOperand></BooleanRule></mustBe></SimpleRule></RuleDefinition>" />
<messageBuildingBlock
xmi:id="_MFKhVypzEeyR9JrVGfaMKw"
previousVersion="_d30QNwmEEeuQ1MenzX1l-g"
name="Reference"
definition="Reference to the message advised to be cancelled by the account servicer."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="Ref"
complexType="_zwc0sQzXEeuUZuaHWzkTew" />
<messageBuildingBlock
xmi:id="_MFKhWSpzEeyR9JrVGfaMKw"
previousVersion="_d30QOQmEEeuQ1MenzX1l-g"
name="AccountOwner"
definition="Party that legally owns the account."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="AcctOwnr"
complexType="_XnxoYdLCEeiN28wlpBQScw" />
<messageBuildingBlock
xmi:id="_MFKhWypzEeyR9JrVGfaMKw"
previousVersion="_d30QOwmEEeuQ1MenzX1l-g"
name="SafekeepingAccount"
definition="Account to or from which a securities entry is made."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="SfkpgAcct"
complexType="_T_JUKtp-Ed-ak6NoX_4Aeg_1976638301" />
<messageBuildingBlock
xmi:id="_XBifkyqEEeyR9JrVGfaMKw"
name="BlockChainAddressOrWallet"
definition="Blockchain address or wallet where digital assets are maintained. This is the equivalent of safekeeping account for digital assets."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="BlckChainAdrOrWllt"
complexType="_l7F8gSp-EeyR9JrVGfaMKw" />
<messageBuildingBlock
xmi:id="_MFKhXSpzEeyR9JrVGfaMKw"
previousVersion="_d30QPQmEEeuQ1MenzX1l-g"
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="semt"
messageFunctionality="020"
flavour="001"
version="07" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.