sese.027.002.07
Scope An account servicer sends an SecuritiesTransactionCancellationRequestStatusAdvice to an account owner to advise the status of a securities transaction cancellation request previously sent by the account owner. 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 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 %% SecuritiesTransactionCancellationRequestStatusAdvice002V07 recursion level 0 with max 0 class SecuritiesTransactionCancellationRequestStatusAdvice002V07{ CancellationRequestReference IsoRestrictedFINXMax16Text } SecuritiesTransactionCancellationRequestStatusAdvice002V07 *-- "0..1" TransactionIdentifications50 : TransactionIdentification SecuritiesTransactionCancellationRequestStatusAdvice002V07 *-- "1..1" IProcessingStatus96Choice : ProcessingStatus SecuritiesTransactionCancellationRequestStatusAdvice002V07 *-- "0..1" TransactionDetails162 : TransactionDetails SecuritiesTransactionCancellationRequestStatusAdvice002V07 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
CancellationRequestReference building block
Reference to the unambiguous identification of the cancellation request as per the account owner. Specifies a character string with a maximum length of 16 characters. It has a pattern that disables the use of characters that is not part of the character set X, that is, that is not a-z A-Z / - ? : ( ) . , ‘ + , and disable the use of slash “/” at the beginning and end of line and double slash “//” within the line. For comparison, see the ISO20022 official specification This message is declared as RestrictedFINXMax16Text in the ISO specification. In our implementation, it is represented in source code as IsoRestrictedFINXMax16Text. Due to global using directives, it is treated as a System.String by the compiler and runtime.
TransactionIdentification building block
Unambiguous identification of the transaction as known by the account servicer. Unique identifier of a document, message or transaction. For comparison, see the ISO20022 official specification
classDiagram direction tb %% TransactionIdentifications50 recursion level 0 with max 1 class TransactionIdentifications50{ AccountServicerTransactionIdentification IsoRestrictedFINXMax16Text MarketInfrastructureTransactionIdentification IsoRestrictedFINXMax16Text CounterpartyMarketInfrastructureTransactionIdentification IsoRestrictedFINXMax16Text ProcessorTransactionIdentification IsoRestrictedFINXMax16Text } TransactionIdentifications50 *-- "1..1" IReferences59Choice : AccountOwnerTransactionIdentification %% IReferences59Choice recursion level 1 with max 1
TransactionIdentifications50 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
AccountServicerTransactionIdentification | Unambiguous identification of the transaction as known by the account servicer. | IsoRestrictedFINXMax16Text - Optional 0..1 |
MarketInfrastructureTransactionIdentification | Identification of a transaction assigned by a market infrastructure other than a central securities depository, for example, Target2-Securities. | IsoRestrictedFINXMax16Text - Optional 0..1 |
CounterpartyMarketInfrastructureTransactionIdentification | Identification of a counterparty transaction assigned by a market infrastructure other than a central securities depository, for example, Target2-Securities. | IsoRestrictedFINXMax16Text - Optional 0..1 |
ProcessorTransactionIdentification | Identification of the transaction assigned by the processor of the instruction other than the account owner the account servicer and the market infrastructure. | IsoRestrictedFINXMax16Text - Optional 0..1 |
AccountOwnerTransactionIdentification | Unambiguous identification of the transaction as known by the account owner (or the instructing party managing the account). | IReferences59Choice - Required 1..1 |
ProcessingStatus building block
Provides details on the processing status of the request. Choice of format for the processing status. For comparison, see the ISO20022 official specification
classDiagram direction tb %% IProcessingStatus96Choice recursion level 0 with max 1
ProcessingStatus96Choice members
Member name | Description | Data Type / Multiplicity |
---|
TransactionDetails building block
Identifies the details of the transaction. Identifies the details of the transaction. For comparison, see the ISO20022 official specification
classDiagram direction tb %% TransactionDetails162 recursion level 0 with max 1 TransactionDetails162 *-- "0..1" PartyIdentification156 : AccountOwner TransactionDetails162 *-- "0..1" SecuritiesAccount30 : SafekeepingAccount TransactionDetails162 *-- "0..1" BlockChainAddressWallet7 : BlockChainAddressOrWallet TransactionDetails162 *-- "1..1" SecurityIdentification20 : FinancialInstrumentIdentification TransactionDetails162 *-- "1..1" IQuantity54Choice : SettlementQuantity TransactionDetails162 *-- "0..1" AmountAndDirection67 : SettlementAmount TransactionDetails162 *-- "0..1" ITradeDate9Choice : TradeDate TransactionDetails162 *-- "1..1" ISettlementDate32Choice : SettlementDate TransactionDetails162 *-- "0..1" SettlementParties109 : DeliveringSettlementParties TransactionDetails162 *-- "0..1" SettlementParties109 : ReceivingSettlementParties TransactionDetails162 *-- "0..1" PartyIdentification170 : Investor %% PartyIdentification156 recursion level 1 with max 1 class PartyIdentification156{ LEI IsoLEIIdentifier } PartyIdentification156 *-- "1..1" IPartyIdentification136Choice : Identification %% SecuritiesAccount30 recursion level 1 with max 1 class SecuritiesAccount30{ Identification IsoRestrictedFINXMax35Text Name IsoMax70Text } SecuritiesAccount30 *-- "0..1" GenericIdentification47 : Type %% BlockChainAddressWallet7 recursion level 1 with max 1 class BlockChainAddressWallet7{ Identification IsoRestrictedFINXMax140Text Name IsoRestrictedFINXMax70Text } BlockChainAddressWallet7 *-- "0..1" GenericIdentification47 : Type %% SecurityIdentification20 recursion level 1 with max 1 class SecurityIdentification20{ ISIN IsoISINOct2015Identifier Description IsoRestrictedFINXMax140Text } SecurityIdentification20 *-- "0..0" OtherIdentification2 : OtherIdentification %% IQuantity54Choice recursion level 1 with max 1 %% AmountAndDirection67 recursion level 1 with max 1 class AmountAndDirection67{ Amount IsoRestrictedFINActiveCurrencyAndAmount CreditDebitIndicator CreditDebitCode OriginalCurrencyAndOrderedAmount IsoRestrictedFINActiveOrHistoricCurrencyAndAmount } %% ITradeDate9Choice recursion level 1 with max 1 %% ISettlementDate32Choice recursion level 1 with max 1 %% SettlementParties109 recursion level 1 with max 1 SettlementParties109 *-- "0..1" PartyIdentification191 : Depository SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party1 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party2 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party3 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party4 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party5 %% SettlementParties109 recursion level 1 with max 1 SettlementParties109 *-- "0..1" PartyIdentification191 : Depository SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party1 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party2 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party3 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party4 SettlementParties109 *-- "0..1" PartyIdentificationAndAccount215 : Party5 %% PartyIdentification170 recursion level 1 with max 1 class PartyIdentification170{ LEI IsoLEIIdentifier } PartyIdentification170 *-- "1..1" IPartyIdentification176Choice : Identification
TransactionDetails162 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
AccountOwner | Party that legally owns the account. | PartyIdentification156 - Optional 0..1 |
SafekeepingAccount | Account to or from which a securities entry is made. | SecuritiesAccount30 - Optional 0..1 |
BlockChainAddressOrWallet | Blockchain address or wallet where digital assets are maintained. This is the equivalent of safekeeping account for digital assets. | BlockChainAddressWallet7 - Optional 0..1 |
FinancialInstrumentIdentification | Financial instruments representing a sum of rights of the investor vis-a-vis the issuer. | SecurityIdentification20 - Required 1..1 |
SettlementQuantity | Total quantity of securities to be settled. | IQuantity54Choice - Required 1..1 |
SettlementAmount | Total amount of money to be paid or received in exchange for the securities. | AmountAndDirection67 - Optional 0..1 |
TradeDate | Specifies the date/time on which the trade was executed. | ITradeDate9Choice - Optional 0..1 |
SettlementDate | Date and time at which the securities are to be delivered or received. | ISettlementDate32Choice - Required 1..1 |
DeliveringSettlementParties | Identifies the chain of delivering settlement parties. | SettlementParties109 - Optional 0..1 |
ReceivingSettlementParties | Identifies the chain of receiving settlement parties. | SettlementParties109 - Optional 0..1 |
Investor | Party, either an individual or organisation, whose assets are being invested. | PartyIdentification170 - 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 SecuritiesTransactionCancellationRequestStatusAdvice002V07 implementation follows a specific implementaiton pattern. First of all, SecuritiesTransactionCancellationRequestStatusAdvice002V07 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesTransactionCancellationRequestStatusAdvice002V07Document implements IOuterDocument. Because SecuritiesTransactionCancellationRequestStatusAdvice002V07 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesTransactionCancellationRequestStatusAdvice002V07.
classDiagram class IOuterRecord SecuritiesTransactionCancellationRequestStatusAdvice002V07 --|> IOuterRecord : Implements SecuritiesTransactionCancellationRequestStatusAdvice002V07Document --|> IOuterDocument~SecuritiesTransactionCancellationRequestStatusAdvice002V07~ : Implements class IOuterDocument~SecuritiesTransactionCancellationRequestStatusAdvice002V07~ { SecuritiesTransactionCancellationRequestStatusAdvice002V07 Message }
Document wrapper for serialization
The only real purpose SecuritiesTransactionCancellationRequestStatusAdvice002V07Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:sese.027.002.07’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using SecuritiesTransactionCancellationRequestStatusAdvice002V07.ToDocument() method. The returned SecuritiesTransactionCancellationRequestStatusAdvice002V07Document value will serialize correctly according to ISO 20022 standards.
classDiagram SecuritiesTransactionCancellationRequestStatusAdvice002V07Document *-- SecuritiesTransactionCancellationRequestStatusAdvice002V07 : 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:sese.027.002.07">
<SctiesTxCxlReqStsAdvc>
<CxlReqRef>
<!-- CancellationRequestReference inner content -->
</CxlReqRef>
<TxId>
<!-- TransactionIdentification inner content -->
</TxId>
<PrcgSts>
<!-- ProcessingStatus inner content -->
</PrcgSts>
<TxDtls>
<!-- TransactionDetails inner content -->
</TxDtls>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</SctiesTxCxlReqStsAdvc>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_gByiEzi8Eeydid5dcNPKvg"
previousVersion="_YTI0gyAeEeuyDZ-ukt4YRg"
name="SecuritiesTransactionCancellationRequestStatusAdvice002V07"
definition="Scope
An account servicer sends an SecuritiesTransactionCancellationRequestStatusAdvice to an account owner to advise the status of a securities transaction cancellation request previously sent by the account owner.
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 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="_KoChkKS_EeWiN6v48CBCXg _26G2kVI3EeyUbfjRDFS84A"
xmlTag="SctiesTxCxlReqStsAdvc"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<constraint
xmi:id="_gByiFTi8Eeydid5dcNPKvg"
name="SecuritiesMarketPracticeGroupGuideline"
definition="The Securities Market Practice Group (SMPG) has published market practice recommendations on the use of this message.
These market practices are available on www.smpg.info."
registrationStatus="Provisionally Registered" />
<messageBuildingBlock
xmi:id="_gByiHTi8Eeydid5dcNPKvg"
name="CancellationRequestReference"
definition="Reference to the unambiguous identification of the cancellation request as per the account owner."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="CxlReqRef"
simpleType="_XZJV2Np-Ed-ak6NoX_4Aeg_-1555155859" />
<messageBuildingBlock
xmi:id="_gByiHzi8Eeydid5dcNPKvg"
name="TransactionIdentification"
definition="Unambiguous identification of the transaction as known by the account servicer."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="TxId"
complexType="_gByiKTi8Eeydid5dcNPKvg" />
<messageBuildingBlock
xmi:id="_gByiITi8Eeydid5dcNPKvg"
name="ProcessingStatus"
definition="Provides details on the processing status of the request."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="PrcgSts"
complexType="_gBzJZzi8Eeydid5dcNPKvg" />
<messageBuildingBlock
xmi:id="_gByiIzi8Eeydid5dcNPKvg"
name="TransactionDetails"
definition="Identifies the details of the transaction."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="TxDtls"
complexType="_gBzxNTi8Eeydid5dcNPKvg" />
<messageBuildingBlock
xmi:id="_gByiJTi8Eeydid5dcNPKvg"
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="sese"
messageFunctionality="027"
flavour="002"
version="07" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.