SecuritiesTransactionCancellationRequest002V05

sese.020.002.05

Scope An account owner sends a SecuritiesTransactionCancellationRequest to an account servicer to request the cancellation of a securities transaction. The account owner/servicer relationship may be:

Usage The transaction may be:

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
%% SecuritiesTransactionCancellationRequest002V05 recursion level 0 with max 0
class SecuritiesTransactionCancellationRequest002V05{
    AccountServicerTransactionIdentification IsoRestrictedFINXMax16Text
    MarketInfrastructureTransactionIdentification IsoRestrictedFINXMax16Text
    ProcessorTransactionIdentification IsoRestrictedFINXMax16Text
}
SecuritiesTransactionCancellationRequest002V05 *-- "1..1" IReferences60Choice : AccountOwnerTransactionIdentification
SecuritiesTransactionCancellationRequest002V05 *-- "0..1" PartyIdentification109 : AccountOwner
SecuritiesTransactionCancellationRequest002V05 *-- "1..1" SecuritiesAccount30 : SafekeepingAccount
SecuritiesTransactionCancellationRequest002V05 *-- "0..1" TransactionDetails83 : TransactionDetails
SecuritiesTransactionCancellationRequest002V05 *-- "0..1" CancellationReason19 : CancellationReason
SecuritiesTransactionCancellationRequest002V05 *-- "0..1" IFXCancellation4Choice : FXCancellation
SecuritiesTransactionCancellationRequest002V05 *-- "0..1" SupplementaryData1 : SupplementaryData
  

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

AccountOwnerTransactionIdentification building block

Unambiguous identification of the transaction as known by the account owner (or the instructing party managing the account). Choice of reference. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% IReferences60Choice recursion level 0 with max 1
  

References60Choice members

Member name Description Data Type / Multiplicity

AccountServicerTransactionIdentification building block

Unambiguous identification of the transaction as known by the account servicer. 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.

MarketInfrastructureTransactionIdentification building block

Identification of a transaction assigned by a market infrastructure other than a central securities depository, for example, Target2-Securities. 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.

ProcessorTransactionIdentification building block

Message Reference identifying the Processor of the transaction. 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.

AccountOwner building block

Party that legally owns the account. Identification of the party. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% PartyIdentification109 recursion level 0 with max 1
class PartyIdentification109{
    LEI IsoLEIIdentifier
}
PartyIdentification109 *-- "1..1" IPartyIdentification114Choice : Identification
%% IPartyIdentification114Choice recursion level 1 with max 1
  

PartyIdentification109 members

Member name Description Data Type / Multiplicity
Identification Unique identification of the party. IPartyIdentification114Choice - 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
%% SecuritiesAccount30 recursion level 0 with max 1
class SecuritiesAccount30{
    Identification IsoRestrictedFINXMax35Text
    Name IsoMax70Text
}
SecuritiesAccount30 *-- "0..1" GenericIdentification47 : Type
%% GenericIdentification47 recursion level 1 with max 1
class GenericIdentification47{
    Identification IsoExact4AlphaNumericText
    Issuer IsoMax4AlphaNumericText
    SchemeName IsoMax4AlphaNumericText
}
  

SecuritiesAccount30 members

Member name Description Data Type / Multiplicity
Identification Unambiguous identification for the account between the account owner and the account servicer. IsoRestrictedFINXMax35Text - Required 1..1
Type Specifies the type of securities account. GenericIdentification47 - Optional 0..1
Name Description of the account. IsoMax70Text - Optional 0..1

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
%% TransactionDetails83 recursion level 0 with max 1
TransactionDetails83 *-- "1..1" SecurityIdentification20 : FinancialInstrumentIdentification
TransactionDetails83 *-- "0..1" ITradeDate6Choice : TradeDate
TransactionDetails83 *-- "1..1" ISettlementDate12Choice : SettlementDate
TransactionDetails83 *-- "1..1" IQuantity10Choice : SettlementQuantity
TransactionDetails83 *-- "0..1" AmountAndDirection67 : SettlementAmount
TransactionDetails83 *-- "0..1" SettlementParties49 : DeliveringSettlementParties
TransactionDetails83 *-- "0..1" SettlementParties49 : ReceivingSettlementParties
TransactionDetails83 *-- "0..1" PartyIdentification110 : Investor
%% SecurityIdentification20 recursion level 1 with max 1
class SecurityIdentification20{
    ISIN IsoISINOct2015Identifier
    Description IsoRestrictedFINXMax140Text
}
SecurityIdentification20 *-- "0..0" OtherIdentification2 : OtherIdentification
%% ITradeDate6Choice recursion level 1 with max 1
%% ISettlementDate12Choice recursion level 1 with max 1
%% IQuantity10Choice recursion level 1 with max 1
%% AmountAndDirection67 recursion level 1 with max 1
class AmountAndDirection67{
    Amount IsoRestrictedFINActiveCurrencyAndAmount
    CreditDebitIndicator CreditDebitCode
    OriginalCurrencyAndOrderedAmount IsoRestrictedFINActiveOrHistoricCurrencyAndAmount
}
%% SettlementParties49 recursion level 1 with max 1
SettlementParties49 *-- "0..1" PartyIdentification108 : Depository
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party1
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party2
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party3
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party4
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party5
%% SettlementParties49 recursion level 1 with max 1
SettlementParties49 *-- "0..1" PartyIdentification108 : Depository
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party1
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party2
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party3
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party4
SettlementParties49 *-- "0..1" PartyIdentificationAndAccount146 : Party5
%% PartyIdentification110 recursion level 1 with max 1
class PartyIdentification110{
    LEI IsoLEIIdentifier
}
PartyIdentification110 *-- "1..1" IPartyIdentification115Choice : Identification
  

TransactionDetails83 members

Member name Description Data Type / Multiplicity
FinancialInstrumentIdentification Financial instruments representing a sum of rights of the investor vis-a-vis the issuer. SecurityIdentification20 - Required 1..1
TradeDate Specifies the date/time on which the trade was executed. ITradeDate6Choice - Optional 0..1
SettlementDate Date and time at which the securities are to be delivered or received. ISettlementDate12Choice - Required 1..1
SettlementQuantity Total quantity of securities to be settled. IQuantity10Choice - Required 1..1
SettlementAmount Total amount of money to be paid or received in exchange for the securities. AmountAndDirection67 - Optional 0..1
DeliveringSettlementParties Identifies the chain of delivering settlement parties. SettlementParties49 - Optional 0..1
ReceivingSettlementParties Identifies the chain of receiving settlement parties. SettlementParties49 - Optional 0..1
Investor Party, either an individual or organisation, whose assets are being invested. PartyIdentification110 - Optional 0..1

CancellationReason building block

Specifies the reason of the cancellation. Specifies the reason why the instruction or request is cancelled. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% CancellationReason19 recursion level 0 with max 1
class CancellationReason19{
    CorporateActionEventIdentification IsoRestrictedFINMax16Text
}
CancellationReason19 *-- "1..1" ICancellationReason24Choice : Code
%% ICancellationReason24Choice recursion level 1 with max 1
  

CancellationReason19 members

Member name Description Data Type / Multiplicity
Code Specifies the reason why the instruction is cancelled. ICancellationReason24Choice - Required 1..1
CorporateActionEventIdentification Provides the corporate action event identification of the event that triggered the cancellation. IsoRestrictedFINMax16Text - Optional 0..1

FXCancellation building block

Specifies whether an associated FX should be cancelled. Choice of format for the forex cancellation information. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% IFXCancellation4Choice recursion level 0 with max 1
  

FXCancellation4Choice members

Member name Description Data Type / Multiplicity

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 SecuritiesTransactionCancellationRequest002V05 implementation follows a specific implementaiton pattern. First of all, SecuritiesTransactionCancellationRequest002V05 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesTransactionCancellationRequest002V05Document implements IOuterDocument. Because SecuritiesTransactionCancellationRequest002V05 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesTransactionCancellationRequest002V05.

classDiagram
    class IOuterRecord
    SecuritiesTransactionCancellationRequest002V05 --|> IOuterRecord : Implements
    SecuritiesTransactionCancellationRequest002V05Document --|> IOuterDocument~SecuritiesTransactionCancellationRequest002V05~ : Implements
    class IOuterDocument~SecuritiesTransactionCancellationRequest002V05~ {
        SecuritiesTransactionCancellationRequest002V05 Message
     }
  

Document wrapper for serialization

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

classDiagram
    SecuritiesTransactionCancellationRequest002V05Document *-- SecuritiesTransactionCancellationRequest002V05 : 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.020.002.05">
    <SctiesTxCxlReq>
        <AcctOwnrTxId>
            <!-- AccountOwnerTransactionIdentification inner content -->
        </AcctOwnrTxId>
        <AcctSvcrTxId>
            <!-- AccountServicerTransactionIdentification inner content -->
        </AcctSvcrTxId>
        <MktInfrstrctrTxId>
            <!-- MarketInfrastructureTransactionIdentification inner content -->
        </MktInfrstrctrTxId>
        <PrcrTxId>
            <!-- ProcessorTransactionIdentification inner content -->
        </PrcrTxId>
        <AcctOwnr>
            <!-- AccountOwner inner content -->
        </AcctOwnr>
        <SfkpgAcct>
            <!-- SafekeepingAccount inner content -->
        </SfkpgAcct>
        <TxDtls>
            <!-- TransactionDetails inner content -->
        </TxDtls>
        <CxlRsn>
            <!-- CancellationReason inner content -->
        </CxlRsn>
        <FxCxl>
            <!-- FXCancellation inner content -->
        </FxCxl>
        <SplmtryData>
            <!-- SupplementaryData inner content -->
        </SplmtryData>
    </SctiesTxCxlReq>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_8T7Ag5NLEeWGlc8L7oPDIg"
  nextVersions="_XGEVHffZEeiNZp_PtLohLw"
  name="SecuritiesTransactionCancellationRequest002V05"
  definition="Scope&#xD;&#xA;An account owner sends a SecuritiesTransactionCancellationRequest to an account servicer to request the cancellation of a securities transaction.&#xD;&#xA;The account owner/servicer relationship may be:&#xD;&#xA;- a global custodian which has an account with a local custodian, or&#xD;&#xA;- an investment management institution which manage a fund account opened at a custodian, or - a broker which has an account with a custodian, or&#xD;&#xA;- a central securities depository participant which has an account with a central securities depository, or&#xD;&#xA;- a central securities depository which has an account with a custodian, another central securities depository or another settlement market infrastructure, or&#xD;&#xA;- a central counterparty or a stock exchange or a trade matching utility which need to instruct to a central securities depository ot another settlement market infrastructure.&#xD;&#xA;&#xD;&#xA;Usage&#xD;&#xA;The transaction may be:&#xD;&#xA;- a securities settlement transaction&#xD;&#xA;- an intra-position movement&#xD;&#xA;- a securities financing transaction&#xD;&#xA;The instruction cannot be:&#xD;&#xA;- a securities settlement conditions modification (another transaction processing command should be sent to reverse a processing change previously requested).&#xD;&#xA;- a securities financing modification&#xD;&#xA;The message may also be used to:&#xD;&#xA;- re-send a message previously sent,&#xD;&#xA;- provide a third party with a copy of a message for information,&#xD;&#xA;- re-send to a third party a copy of a message for information&#xD;&#xA;using the relevant elements in the Business Application Header."
  registrationStatus="Registered"
  messageSet="_urpIICeJEeOCeO5e7islRQ"
  xmlTag="SctiesTxCxlReq"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <constraint
    xmi:id="_8T7AhZNLEeWGlc8L7oPDIg"
    name="TransactionIdentificationPresence2Rule"
    definition="If AccountOwnerTransactionIdentification is NONREF then at least one of the other references must be present."
    registrationStatus="Provisionally Registered"
    expression="&lt;RuleDefinition&gt;&lt;ComplexRule xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:type=&quot;ComplexRule&quot;&gt;&lt;mustBe&gt;&lt;connector&gt;OR&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/AccountServicerTransactionIdentification&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/MarketInfrastructureTransactionIdentification&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;Presence&quot;&gt;&lt;leftOperand&gt;/ProcessorTransactionIdentification&lt;/leftOperand&gt;&lt;/BooleanRule&gt;&lt;/mustBe&gt;&lt;onCondition&gt;&lt;connector&gt;OR&lt;/connector&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/AccountOwnerTransactionIdentification/SecuritiesSettlementTransactionIdentification/TransactionIdentification&lt;/leftOperand&gt;&lt;rightOperand&gt;NONREF&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/AccountOwnerTransactionIdentification/SecuritiesFinancingTransactionIdentification/TransactionIdentification&lt;/leftOperand&gt;&lt;rightOperand&gt;NONREF&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/AccountOwnerTransactionIdentification/IntraPositionMovementIdentification&lt;/leftOperand&gt;&lt;rightOperand&gt;NONREF&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;BooleanRule xsi:type=&quot;EqualToValue&quot;&gt;&lt;leftOperand&gt;/AccountOwnerTransactionIdentification/OtherTransactionIdentification/Identification&lt;/leftOperand&gt;&lt;rightOperand&gt;NONREF&lt;/rightOperand&gt;&lt;/BooleanRule&gt;&lt;/onCondition&gt;&lt;/ComplexRule&gt;&lt;/RuleDefinition&gt;" />
  <constraint
    xmi:id="_8T7Ah5NLEeWGlc8L7oPDIg"
    name="NoAccountOwnerTransactionIdentificationRule"
    definition="If no reference is available for the AccountOwnerTransactionIdentification, then the AccountOwnerTransactionIdentification must be NONREF."
    registrationStatus="Provisionally Registered" />
  <messageBuildingBlock
    xmi:id="_8T7AiZNLEeWGlc8L7oPDIg"
    name="AccountOwnerTransactionIdentification"
    definition="Unambiguous identification of the transaction as known by the account owner (or the instructing party managing the account)."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="AcctOwnrTxId"
    complexType="_8T7An5NLEeWGlc8L7oPDIg" />
  <messageBuildingBlock
    xmi:id="_8T7Ai5NLEeWGlc8L7oPDIg"
    name="AccountServicerTransactionIdentification"
    definition="Unambiguous identification of the transaction as known by the account servicer."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="AcctSvcrTxId"
    simpleType="_XZJV2Np-Ed-ak6NoX_4Aeg_-1555155859" />
  <messageBuildingBlock
    xmi:id="_8T7AjZNLEeWGlc8L7oPDIg"
    name="MarketInfrastructureTransactionIdentification"
    definition="Identification of a transaction assigned by a market infrastructure other than a central securities depository, for example, Target2-Securities."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="MktInfrstrctrTxId"
    simpleType="_XZJV2Np-Ed-ak6NoX_4Aeg_-1555155859" />
  <messageBuildingBlock
    xmi:id="_8T7Aj5NLEeWGlc8L7oPDIg"
    name="ProcessorTransactionIdentification"
    definition="Message Reference identifying the Processor of the transaction."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="PrcrTxId"
    simpleType="_XZJV2Np-Ed-ak6NoX_4Aeg_-1555155859" />
  <messageBuildingBlock
    xmi:id="_8T7AkZNLEeWGlc8L7oPDIg"
    name="AccountOwner"
    definition="Party that legally owns the account."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="AcctOwnr"
    complexType="_S1zDAZjTEeW1SPbGMCLIOQ" />
  <messageBuildingBlock
    xmi:id="_8T7Ak5NLEeWGlc8L7oPDIg"
    name="SafekeepingAccount"
    definition="Account to or from which a securities entry is made."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="SfkpgAcct"
    complexType="_5SG1s5NLEeWGlc8L7oPDIg" />
  <messageBuildingBlock
    xmi:id="_8T7AlZNLEeWGlc8L7oPDIg"
    name="TransactionDetails"
    definition="Identifies the details of the transaction."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="TxDtls"
    complexType="_6FUbR5NLEeWGlc8L7oPDIg" />
  <messageBuildingBlock
    xmi:id="_8T7Al5NLEeWGlc8L7oPDIg"
    name="CancellationReason"
    definition="Specifies the reason of the cancellation."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="CxlRsn"
    complexType="_jbmdMZkLEeWn2ur3BXxtdg" />
  <messageBuildingBlock
    xmi:id="_8T7AmZNLEeWGlc8L7oPDIg"
    name="FXCancellation"
    definition="Specifies whether an associated FX should be cancelled."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="FxCxl"
    complexType="_8T_SwZNLEeWGlc8L7oPDIg" />
  <messageBuildingBlock
    xmi:id="_8T7Am5NLEeWGlc8L7oPDIg"
    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="020"
    flavour="002"
    version="05" />
</messageDefinition>

ISO Building Blocks

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