sese.022.002.05
Scope An account servicer sends a SecuritiesStatusOrStatementQueryStatusAdvice to an account owner to advise the status of a status query or statement query 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 %% SecuritiesStatusOrStatementQueryStatusAdvice002V05 recursion level 0 with max 0 SecuritiesStatusOrStatementQueryStatusAdvice002V05 *-- "1..1" DocumentIdentification48 : QueryDetails SecuritiesStatusOrStatementQueryStatusAdvice002V05 *-- "0..1" PartyIdentification156 : AccountOwner SecuritiesStatusOrStatementQueryStatusAdvice002V05 *-- "0..1" SecuritiesAccount30 : SafekeepingAccount SecuritiesStatusOrStatementQueryStatusAdvice002V05 *-- "0..1" IStatusOrStatement10Choice : StatusOrStatementRequested SecuritiesStatusOrStatementQueryStatusAdvice002V05 *-- "1..1" IProcessingStatus64Choice : ProcessingStatus SecuritiesStatusOrStatementQueryStatusAdvice002V05 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
QueryDetails building block
Unambiguous identification of the query as per the account owner. Identification of the message number and the query identification. For comparison, see the ISO20022 official specification
classDiagram direction tb %% DocumentIdentification48 recursion level 0 with max 1 DocumentIdentification48 *-- "0..1" IDocumentNumber6Choice : MessageNumber DocumentIdentification48 *-- "1..1" Identification16 : Reference %% IDocumentNumber6Choice recursion level 1 with max 1 %% Identification16 recursion level 1 with max 1 class Identification16{ Identification IsoRestrictedFINXMax16Text }
DocumentIdentification48 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
MessageNumber | Message type number/message identifier of the message referenced in the linkage sequence. | IDocumentNumber6Choice - Optional 0..1 |
Reference | Reference to the query identification. | Identification16 - Required 1..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 |
StatusOrStatementRequested building block
Details of the request. Specifies the status or statement that is requested. For comparison, see the ISO20022 official specification
classDiagram direction tb %% IStatusOrStatement10Choice recursion level 0 with max 1
StatusOrStatement10Choice members
Member name | Description | Data Type / Multiplicity |
---|
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 %% IProcessingStatus64Choice recursion level 0 with max 1
ProcessingStatus64Choice 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 SecuritiesStatusOrStatementQueryStatusAdvice002V05 implementation follows a specific implementaiton pattern. First of all, SecuritiesStatusOrStatementQueryStatusAdvice002V05 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesStatusOrStatementQueryStatusAdvice002V05Document implements IOuterDocument. Because SecuritiesStatusOrStatementQueryStatusAdvice002V05 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesStatusOrStatementQueryStatusAdvice002V05.
classDiagram class IOuterRecord SecuritiesStatusOrStatementQueryStatusAdvice002V05 --|> IOuterRecord : Implements SecuritiesStatusOrStatementQueryStatusAdvice002V05Document --|> IOuterDocument~SecuritiesStatusOrStatementQueryStatusAdvice002V05~ : Implements class IOuterDocument~SecuritiesStatusOrStatementQueryStatusAdvice002V05~ { SecuritiesStatusOrStatementQueryStatusAdvice002V05 Message }
Document wrapper for serialization
The only real purpose SecuritiesStatusOrStatementQueryStatusAdvice002V05Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:sese.022.002.05’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using SecuritiesStatusOrStatementQueryStatusAdvice002V05.ToDocument() method. The returned SecuritiesStatusOrStatementQueryStatusAdvice002V05Document value will serialize correctly according to ISO 20022 standards.
classDiagram SecuritiesStatusOrStatementQueryStatusAdvice002V05Document *-- SecuritiesStatusOrStatementQueryStatusAdvice002V05 : 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.022.002.05">
<SctiesStsOrStmtQryStsAdvc>
<QryDtls>
<!-- QueryDetails inner content -->
</QryDtls>
<AcctOwnr>
<!-- AccountOwner inner content -->
</AcctOwnr>
<SfkpgAcct>
<!-- SafekeepingAccount inner content -->
</SfkpgAcct>
<StsOrStmtReqd>
<!-- StatusOrStatementRequested inner content -->
</StsOrStmtReqd>
<PrcgSts>
<!-- ProcessingStatus inner content -->
</PrcgSts>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</SctiesStsOrStmtQryStsAdvc>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_LSk4J_fZEeiNZp_PtLohLw"
nextVersions="_gBHMozi8Eeydid5dcNPKvg"
previousVersion="_8Rsy85NLEeWGlc8L7oPDIg"
name="SecuritiesStatusOrStatementQueryStatusAdvice002V05"
definition="Scope
An account servicer sends a SecuritiesStatusOrStatementQueryStatusAdvice to an account owner to advise the status of a status query or statement query 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="_gMCB9OSnEeauk5I89sEP4g"
xmlTag="SctiesStsOrStmtQryStsAdvc"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_LSk4KffZEeiNZp_PtLohLw"
name="QueryDetails"
definition="Unambiguous identification of the query as per the account owner."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="QryDtls"
complexType="_8RszA5NLEeWGlc8L7oPDIg" />
<messageBuildingBlock
xmi:id="_LSk4K_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="_LSk4LffZEeiNZp_PtLohLw"
name="SafekeepingAccount"
definition="Account to or from which a securities entry is made."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="SfkpgAcct"
complexType="_5SG1s5NLEeWGlc8L7oPDIg" />
<messageBuildingBlock
xmi:id="_LSk4L_fZEeiNZp_PtLohLw"
name="StatusOrStatementRequested"
definition="Details of the request."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="StsOrStmtReqd"
complexType="_LSk41_fZEeiNZp_PtLohLw" />
<messageBuildingBlock
xmi:id="_LSk4MffZEeiNZp_PtLohLw"
name="ProcessingStatus"
definition="Provides details on the processing status of the request."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="PrcgSts"
complexType="_8Rtax5NLEeWGlc8L7oPDIg" />
<messageBuildingBlock
xmi:id="_LSk4M_fZEeiNZp_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="022"
flavour="002"
version="05" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.