semt.021.002.07
Scope An account owner sends a SecuritiesStatementQuery to an account servicer to request any existing securities statement. The account owner/servicer relationship may be:
- a global custodian which has an account with a local custodian, or
- an investment management institution which manage a fund account opened at a custodian, or
- a broker which has an account with a custodian, or
- a central securities depository participant which has an account with a central securities depository, or
- a central securities depository which has an account with a custodian, another central securities depository or another settlement market infrastructure, or
- 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.
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 %% SecuritiesStatementQuery002V07 recursion level 0 with max 0 SecuritiesStatementQuery002V07 *-- "1..1" DocumentNumber14 : StatementRequested SecuritiesStatementQuery002V07 *-- "0..1" Statement84 : StatementGeneralDetails SecuritiesStatementQuery002V07 *-- "0..1" PartyIdentification156 : AccountOwner SecuritiesStatementQuery002V07 *-- "1..1" SecuritiesAccount30 : SafekeepingAccount SecuritiesStatementQuery002V07 *-- "0..1" AdditionalQueryParameters12 : AdditionalQueryParameters SecuritiesStatementQuery002V07 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
StatementRequested building block
Description of the statement requested. Identification of a document. For comparison, see the ISO20022 official specification
classDiagram direction tb %% DocumentNumber14 recursion level 0 with max 1 DocumentNumber14 *-- "1..1" IDocumentNumber6Choice : Number %% IDocumentNumber6Choice recursion level 1 with max 1
DocumentNumber14 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Number | Number used to identify a message or document. | IDocumentNumber6Choice - Required 1..1 |
StatementGeneralDetails building block
General information related to the report. Characteristics of the statement. For comparison, see the ISO20022 official specification
classDiagram direction tb %% Statement84 recursion level 0 with max 1 Statement84 *-- "0..1" IDateAndPeriod3Choice : StatementDateOrPeriod Statement84 *-- "0..1" IFrequency26Choice : Frequency Statement84 *-- "0..1" IUpdateType16Choice : UpdateType Statement84 *-- "0..1" IStatementBasis9Choice : StatementBasis Statement84 *-- "0..1" IStatementType6Choice : StatementType %% IDateAndPeriod3Choice recursion level 1 with max 1 %% IFrequency26Choice recursion level 1 with max 1 %% IUpdateType16Choice recursion level 1 with max 1 %% IStatementBasis9Choice recursion level 1 with max 1 %% IStatementType6Choice recursion level 1 with max 1
Statement84 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
StatementDateOrPeriod | Date or period of the statement. | IDateAndPeriod3Choice - Optional 0..1 |
Frequency | Frequency of the statement. | IFrequency26Choice - Optional 0..1 |
UpdateType | Indicates whether the statement is complete or contains changes only. | IUpdateType16Choice - Optional 0..1 |
StatementBasis | Type of balance on which the statement is prepared. | IStatementBasis9Choice - Optional 0..1 |
StatementType | Type of balance on which the statement is prepared. | IStatementType6Choice - Optional 0..1 |
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 |
AdditionalQueryParameters building block
Additional specific query criteria. Additional specific query criteria. For comparison, see the ISO20022 official specification
classDiagram direction tb %% AdditionalQueryParameters12 recursion level 0 with max 1 AdditionalQueryParameters12 *-- "0..1" IStatus22Choice : Status AdditionalQueryParameters12 *-- "0..0" IReason17Choice : Reason AdditionalQueryParameters12 *-- "0..0" SecurityIdentification20 : FinancialInstrumentIdentification %% IStatus22Choice recursion level 1 with max 1 %% IReason17Choice recursion level 1 with max 1 %% SecurityIdentification20 recursion level 1 with max 1 class SecurityIdentification20{ ISIN IsoISINOct2015Identifier Description IsoRestrictedFINXMax140Text } SecurityIdentification20 *-- "0..0" OtherIdentification2 : OtherIdentification
AdditionalQueryParameters12 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Status | Request to obtain a Securities Transaction Pending Report for transactions with the specified status. | IStatus22Choice - Optional 0..1 |
Reason | Request to obtain a Securities Transaction Pending Report for transactions with the specified status reason. | IReason17Choice - Unknown 0..0 |
FinancialInstrumentIdentification | Financial instruments representing a sum of rights of the investor vis-a-vis the issuer. | SecurityIdentification20 - 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 SecuritiesStatementQuery002V07 implementation follows a specific implementaiton pattern. First of all, SecuritiesStatementQuery002V07 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesStatementQuery002V07Document implements IOuterDocument. Because SecuritiesStatementQuery002V07 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesStatementQuery002V07.
classDiagram class IOuterRecord SecuritiesStatementQuery002V07 --|> IOuterRecord : Implements SecuritiesStatementQuery002V07Document --|> IOuterDocument~SecuritiesStatementQuery002V07~ : Implements class IOuterDocument~SecuritiesStatementQuery002V07~ { SecuritiesStatementQuery002V07 Message }
Document wrapper for serialization
The only real purpose SecuritiesStatementQuery002V07Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:semt.021.002.07’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using SecuritiesStatementQuery002V07.ToDocument() method. The returned SecuritiesStatementQuery002V07Document value will serialize correctly according to ISO 20022 standards.
classDiagram SecuritiesStatementQuery002V07Document *-- SecuritiesStatementQuery002V07 : 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.021.002.07">
<SctiesStmtQry>
<StmtReqd>
<!-- StatementRequested inner content -->
</StmtReqd>
<StmtGnlDtls>
<!-- StatementGeneralDetails inner content -->
</StmtGnlDtls>
<AcctOwnr>
<!-- AccountOwner inner content -->
</AcctOwnr>
<SfkpgAcct>
<!-- SafekeepingAccount inner content -->
</SfkpgAcct>
<AddtlQryParams>
<!-- AdditionalQueryParameters inner content -->
</AddtlQryParams>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</SctiesStmtQry>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_-JFicyAdEeuyDZ-ukt4YRg"
nextVersions="_gAPp8zi8Eeydid5dcNPKvg"
previousVersion="_8QbAk5NLEeWGlc8L7oPDIg"
name="SecuritiesStatementQuery002V07"
definition="Scope
An account owner sends a SecuritiesStatementQuery to an account servicer to request any existing securities statement.
The account owner/servicer relationship may be:
- a global custodian which has an account with a local custodian, or
- an investment management institution which manage a fund account opened at a custodian, or
- a broker which has an account with a custodian, or
- a central securities depository participant which has an account with a central securities depository, or
- a central securities depository which has an account with a custodian, another central securities depository or another settlement market infrastructure, or
- 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.

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="_gMCB9OSnEeauk5I89sEP4g"
xmlTag="SctiesStmtQry"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_-JFidSAdEeuyDZ-ukt4YRg"
name="StatementRequested"
definition="Description of the statement requested."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="StmtReqd"
complexType="_8QbAo5NLEeWGlc8L7oPDIg" />
<messageBuildingBlock
xmi:id="_-JFidyAdEeuyDZ-ukt4YRg"
name="StatementGeneralDetails"
definition="General information related to the report."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="StmtGnlDtls"
complexType="_-JFityAdEeuyDZ-ukt4YRg" />
<messageBuildingBlock
xmi:id="_-JFieSAdEeuyDZ-ukt4YRg"
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="_-JFieyAdEeuyDZ-ukt4YRg"
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="_-JFifSAdEeuyDZ-ukt4YRg"
name="AdditionalQueryParameters"
definition="Additional specific query criteria."
registrationStatus="Provisionally Registered"
minOccurs="0"
xmlTag="AddtlQryParams"
complexType="_8QboD5NLEeWGlc8L7oPDIg" />
<messageBuildingBlock
xmi:id="_-JFifyAdEeuyDZ-ukt4YRg"
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="021"
flavour="002"
version="07" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.