SecuritiesTransactionCancellationRequest002V06

sese.020.002.06

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
%% SecuritiesTransactionCancellationRequest002V06 recursion level 0 with max 0
class SecuritiesTransactionCancellationRequest002V06{
    AccountServicerTransactionIdentification IsoRestrictedFINXMax16Text
    MarketInfrastructureTransactionIdentification IsoRestrictedFINXMax16Text
    ProcessorTransactionIdentification IsoRestrictedFINXMax16Text
}
SecuritiesTransactionCancellationRequest002V06 *-- "1..1" IReferences60Choice : AccountOwnerTransactionIdentification
SecuritiesTransactionCancellationRequest002V06 *-- "0..1" PartyIdentification156 : AccountOwner
SecuritiesTransactionCancellationRequest002V06 *-- "1..1" SecuritiesAccount30 : SafekeepingAccount
SecuritiesTransactionCancellationRequest002V06 *-- "0..1" TransactionDetails120 : TransactionDetails
SecuritiesTransactionCancellationRequest002V06 *-- "0..1" CancellationReason27 : CancellationReason
SecuritiesTransactionCancellationRequest002V06 *-- "0..1" IFXCancellation4Choice : FXCancellation
SecuritiesTransactionCancellationRequest002V06 *-- "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 a party. For comparison, see the ISO20022 official specification

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

PartyIdentification156 members

Member name Description Data Type / Multiplicity
Identification Unique identification of the party. IPartyIdentification136Choice - 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
%% TransactionDetails120 recursion level 0 with max 1
TransactionDetails120 *-- "1..1" SecurityIdentification20 : FinancialInstrumentIdentification
TransactionDetails120 *-- "0..1" ITradeDate9Choice : TradeDate
TransactionDetails120 *-- "1..1" ISettlementDate20Choice : SettlementDate
TransactionDetails120 *-- "1..1" IQuantity10Choice : SettlementQuantity
TransactionDetails120 *-- "0..1" AmountAndDirection67 : SettlementAmount
TransactionDetails120 *-- "0..1" SettlementParties90 : DeliveringSettlementParties
TransactionDetails120 *-- "0..1" SettlementParties90 : ReceivingSettlementParties
TransactionDetails120 *-- "0..1" PartyIdentification170 : Investor
%% SecurityIdentification20 recursion level 1 with max 1
class SecurityIdentification20{
    ISIN IsoISINOct2015Identifier
    Description IsoRestrictedFINXMax140Text
}
SecurityIdentification20 *-- "0..0" OtherIdentification2 : OtherIdentification
%% ITradeDate9Choice recursion level 1 with max 1
%% ISettlementDate20Choice 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
}
%% SettlementParties90 recursion level 1 with max 1
SettlementParties90 *-- "0..1" PartyIdentification191 : Depository
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party1
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party2
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party3
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party4
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party5
%% SettlementParties90 recursion level 1 with max 1
SettlementParties90 *-- "0..1" PartyIdentification191 : Depository
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party1
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party2
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party3
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party4
SettlementParties90 *-- "0..1" PartyIdentificationAndAccount190 : Party5
%% PartyIdentification170 recursion level 1 with max 1
class PartyIdentification170{
    LEI IsoLEIIdentifier
}
PartyIdentification170 *-- "1..1" IPartyIdentification176Choice : Identification
  

TransactionDetails120 members

Member name Description Data Type / Multiplicity
FinancialInstrumentIdentification Financial instrument 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. ITradeDate9Choice - Optional 0..1
SettlementDate Date and time at which the securities are to be delivered or received. ISettlementDate20Choice - 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. SettlementParties90 - Optional 0..1
ReceivingSettlementParties Identifies the chain of receiving settlement parties. SettlementParties90 - Optional 0..1
Investor Party, either an individual or organisation, whose assets are being invested. PartyIdentification170 - 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
%% CancellationReason27 recursion level 0 with max 1
class CancellationReason27{
    CorporateActionEventIdentification IsoRestrictedFINMax16Text
}
CancellationReason27 *-- "1..1" ICancellationReason37Choice : Code
%% ICancellationReason37Choice recursion level 1 with max 1
  

CancellationReason27 members

Member name Description Data Type / Multiplicity
Code Specifies the reason why the instruction is cancelled. ICancellationReason37Choice - 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 SecuritiesTransactionCancellationRequest002V06 implementation follows a specific implementaiton pattern. First of all, SecuritiesTransactionCancellationRequest002V06 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesTransactionCancellationRequest002V06Document implements IOuterDocument. Because SecuritiesTransactionCancellationRequest002V06 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesTransactionCancellationRequest002V06.

classDiagram
    class IOuterRecord
    SecuritiesTransactionCancellationRequest002V06 --|> IOuterRecord : Implements
    SecuritiesTransactionCancellationRequest002V06Document --|> IOuterDocument~SecuritiesTransactionCancellationRequest002V06~ : Implements
    class IOuterDocument~SecuritiesTransactionCancellationRequest002V06~ {
        SecuritiesTransactionCancellationRequest002V06 Message
     }
  

Document wrapper for serialization

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

classDiagram
    SecuritiesTransactionCancellationRequest002V06Document *-- SecuritiesTransactionCancellationRequest002V06 : 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.06">
    <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="_XGEVHffZEeiNZp_PtLohLw"
  nextVersions="_gDDtYzi8Eeydid5dcNPKvg"
  previousVersion="_8T7Ag5NLEeWGlc8L7oPDIg"
  name="SecuritiesTransactionCancellationRequest002V06"
  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 or 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 using the relevant elements in the Business Application Header."
  registrationStatus="Registered"
  messageSet="_gMCB9OSnEeauk5I89sEP4g"
  xmlTag="SctiesTxCxlReq"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <constraint
    xmi:id="_XGEVH_fZEeiNZp_PtLohLw"
    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="_XGEVIffZEeiNZp_PtLohLw"
    name="NoAccountOwnerTransactionIdentificationRule"
    definition="If no reference is available for the AccountOwnerTransactionIdentification, then the AccountOwnerTransactionIdentification must be NONREF."
    registrationStatus="Provisionally Registered" />
  <messageBuildingBlock
    xmi:id="_XGEVI_fZEeiNZp_PtLohLw"
    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="_XGEVJffZEeiNZp_PtLohLw"
    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="_XGEVJ_fZEeiNZp_PtLohLw"
    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="_XGEVKffZEeiNZp_PtLohLw"
    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="_XGEVK_fZEeiNZp_PtLohLw"
    name="AccountOwner"
    definition="Party that legally owns the account."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="AcctOwnr"
    complexType="_Z0x6o_fVEeiNZp_PtLohLw" />
  <messageBuildingBlock
    xmi:id="_XGEVLffZEeiNZp_PtLohLw"
    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="_XGEVL_fZEeiNZp_PtLohLw"
    name="TransactionDetails"
    definition="Identifies the details of the transaction."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="TxDtls"
    complexType="_fpPE7_fYEeiNZp_PtLohLw" />
  <messageBuildingBlock
    xmi:id="_XGEVMffZEeiNZp_PtLohLw"
    name="CancellationReason"
    definition="Specifies the reason of the cancellation."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="0"
    xmlTag="CxlRsn"
    complexType="_XGEdy_fZEeiNZp_PtLohLw" />
  <messageBuildingBlock
    xmi:id="_XGEVM_fZEeiNZp_PtLohLw"
    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="_XGEVNffZEeiNZp_PtLohLw"
    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="06" />
</messageDefinition>

ISO Building Blocks

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