semt.022.001.04
Scope This message is sent by the Market Infrastructure to the CSD to advise of the history of all the statuses, modifications, replacement and cancellation of a specific transaction during its whole life cycle when the instructing party is a direct participant to the Settlement Infrastructure.
Usage The message may also be used to:
- re-send a message sent by the market infrastructure to the direct participant,
- provide a third party with a copy of a message being sent by the market infrastructure for information,
- re-send to a third party a copy of a message being sent by the market infrastructure 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 %% SecuritiesSettlementTransactionAuditTrailReportV04 recursion level 0 with max 0 SecuritiesSettlementTransactionAuditTrailReportV04 *-- "1..1" Pagination1 : Pagination SecuritiesSettlementTransactionAuditTrailReportV04 *-- "0..1" Identification14 : QueryReference SecuritiesSettlementTransactionAuditTrailReportV04 *-- "0..1" TransactionIdentifications29 : TransactionIdentification SecuritiesSettlementTransactionAuditTrailReportV04 *-- "1..1" SecuritiesAccount22 : SafekeepingAccount SecuritiesSettlementTransactionAuditTrailReportV04 *-- "0..1" PartyIdentification144 : AccountOwner SecuritiesSettlementTransactionAuditTrailReportV04 *-- "0..1" StatusTrail8 : StatusTrail
Now, we will zero-in one-by-one on each of these building blocks.
Pagination building block
Page number of the message (within a statement) and continuation indicator to indicate that the statement is to continue or that the message is the last page of the statement. Number used to sequence pages when it is not possible for data to be conveyed in a single message and the data has to be split across several pages (messages). For comparison, see the ISO20022 official specification
classDiagram direction tb %% Pagination1 recursion level 0 with max 1 class Pagination1{ PageNumber IsoMax5NumericText LastPageIndicator IsoYesNoIndicator }
Pagination1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
PageNumber | Page number. | IsoMax5NumericText - Required 1..1 |
LastPageIndicator | Indicates the last page. | IsoYesNoIndicator - Required 1..1 |
QueryReference building block
Identification of the SecuritiesStatusQuery message sent to request this report. Unique identifier of a document, message or transaction. For comparison, see the ISO20022 official specification
classDiagram direction tb %% Identification14 recursion level 0 with max 1 class Identification14{ Identification IsoMax35Text }
Identification14 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unique identifier of a document, message or transaction. | IsoMax35Text - Required 1..1 |
TransactionIdentification building block
Provides unambiguous transaction identification information. Unique identifier of a document, message or transaction. For comparison, see the ISO20022 official specification
classDiagram direction tb %% TransactionIdentifications29 recursion level 0 with max 1 class TransactionIdentifications29{ AccountOwnerTransactionIdentification IsoMax35Text AccountServicerTransactionIdentification IsoMax35Text MarketInfrastructureTransactionIdentification IsoMax35Text ProcessorTransactionIdentification IsoMax35Text }
TransactionIdentifications29 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
AccountOwnerTransactionIdentification | Unambiguous identification of the transaction as known by the account owner (or the instructing party managing the account). | IsoMax35Text - Required 1..1 |
AccountServicerTransactionIdentification | Unambiguous identification of the transaction as known by the account servicer. | IsoMax35Text - Optional 0..1 |
MarketInfrastructureTransactionIdentification | Identification of a transaction assigned by a market infrastructure other than a central securities depository, for example, Target2-Securities. | IsoMax35Text - 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. | IsoMax35Text - 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 %% SecuritiesAccount22 recursion level 0 with max 1 class SecuritiesAccount22{ Identification IsoMax35Text Name IsoMax70Text } SecuritiesAccount22 *-- "0..1" GenericIdentification30 : Type %% GenericIdentification30 recursion level 1 with max 1 class GenericIdentification30{ Identification IsoExact4AlphaNumericText Issuer IsoMax35Text SchemeName IsoMax35Text }
SecuritiesAccount22 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unambiguous identification for the account between the account owner and the account servicer. | IsoMax35Text - Required 1..1 |
Type | Type of securities account. | GenericIdentification30 - Optional 0..1 |
Name | Description of the account. | IsoMax70Text - 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 %% PartyIdentification144 recursion level 0 with max 1 class PartyIdentification144{ LEI IsoLEIIdentifier } PartyIdentification144 *-- "1..1" IPartyIdentification127Choice : Identification %% IPartyIdentification127Choice recursion level 1 with max 1
PartyIdentification144 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unique identification of the party. | IPartyIdentification127Choice - Required 1..1 |
LEI | Legal entity identification as an alternate identification for a party. | IsoLEIIdentifier - Optional 0..1 |
StatusTrail building block
Provides the history of status and reasons for a pending, posted or cancelled transaction. Provides the history of status and reasons for a pending, posted or cancelled transaction. For comparison, see the ISO20022 official specification
classDiagram direction tb %% StatusTrail8 recursion level 0 with max 1 class StatusTrail8{ StatusDate IsoISODateTime UserIdentification IsoMax35Text } StatusTrail8 *-- "0..1" OrganisationIdentification31 : SendingOrganisationIdentification StatusTrail8 *-- "0..1" IProcessingStatus75Choice : ProcessingStatus StatusTrail8 *-- "0..1" IMatchingStatus25Choice : InferredMatchingStatus StatusTrail8 *-- "0..1" IMatchingStatus25Choice : MatchingStatus StatusTrail8 *-- "0..1" ISettlementStatus17Choice : SettlementStatus StatusTrail8 *-- "0..1" IModificationProcessingStatus7Choice : ModificationProcessingStatus StatusTrail8 *-- "0..1" IProcessingStatus53Choice : CancellationStatus StatusTrail8 *-- "0..1" ProprietaryReason4 : Settled StatusTrail8 *-- "0..0" SupplementaryData1 : SupplementaryData %% OrganisationIdentification31 recursion level 1 with max 1 class OrganisationIdentification31{ AnyBIC IsoAnyBICDec2014Identifier } OrganisationIdentification31 *-- "0..0" GenericOrganisationIdentification1 : Other %% IProcessingStatus75Choice recursion level 1 with max 1 %% IMatchingStatus25Choice recursion level 1 with max 1 %% IMatchingStatus25Choice recursion level 1 with max 1 %% ISettlementStatus17Choice recursion level 1 with max 1 %% IModificationProcessingStatus7Choice recursion level 1 with max 1 %% IProcessingStatus53Choice recursion level 1 with max 1 %% ProprietaryReason4 recursion level 1 with max 1 class ProprietaryReason4{ AdditionalReasonInformation IsoMax210Text } ProprietaryReason4 *-- "0..1" GenericIdentification30 : Reason %% SupplementaryData1 recursion level 1 with max 1 class SupplementaryData1{ PlaceAndName IsoMax350Text } SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope
StatusTrail8 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
StatusDate | Date and time at which the status was assigned. | IsoISODateTime - Required 1..1 |
SendingOrganisationIdentification | Unique and unambiguous way to identify the organisation that sent the message instance. | OrganisationIdentification31 - Optional 0..1 |
UserIdentification | Unique and unambiguous way to identify the user that created the message instance. | IsoMax35Text - Optional 0..1 |
ProcessingStatus | Provides details on the processing status of the transaction. | IProcessingStatus75Choice - Optional 0..1 |
InferredMatchingStatus | Provides the matching status of an instruction as per the account servicer or the Market Infrastructure based on an allegement. At this time no matching took place on the market (at the CSD/ICSD/MI). | IMatchingStatus25Choice - Optional 0..1 |
MatchingStatus | Provides the matching status of the instruction. | IMatchingStatus25Choice - Optional 0..1 |
SettlementStatus | Provides the status of settlement of a transaction. | ISettlementStatus17Choice - Optional 0..1 |
ModificationProcessingStatus | Provides details on the modification processing status of the transaction. | IModificationProcessingStatus7Choice - Optional 0..1 |
CancellationStatus | Provides details on the processing status of the cancellation request. | IProcessingStatus53Choice - Optional 0..1 |
Settled | Status is settled. | ProprietaryReason4 - Optional 0..1 |
SupplementaryData | Additional information that cannot be captured in the structured elements and/or any other specific block. | SupplementaryData1 - Unknown 0..0 |
Extensibility and generalization considerations
To facilitate generalized design patterns in the system, the SecuritiesSettlementTransactionAuditTrailReportV04 implementation follows a specific implementaiton pattern. First of all, SecuritiesSettlementTransactionAuditTrailReportV04 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, SecuritiesSettlementTransactionAuditTrailReportV04Document implements IOuterDocument. Because SecuritiesSettlementTransactionAuditTrailReportV04 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type SecuritiesSettlementTransactionAuditTrailReportV04.
classDiagram class IOuterRecord SecuritiesSettlementTransactionAuditTrailReportV04 --|> IOuterRecord : Implements SecuritiesSettlementTransactionAuditTrailReportV04Document --|> IOuterDocument~SecuritiesSettlementTransactionAuditTrailReportV04~ : Implements class IOuterDocument~SecuritiesSettlementTransactionAuditTrailReportV04~ { SecuritiesSettlementTransactionAuditTrailReportV04 Message }
Document wrapper for serialization
The only real purpose SecuritiesSettlementTransactionAuditTrailReportV04Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:semt.022.001.04’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using SecuritiesSettlementTransactionAuditTrailReportV04.ToDocument() method. The returned SecuritiesSettlementTransactionAuditTrailReportV04Document value will serialize correctly according to ISO 20022 standards.
classDiagram SecuritiesSettlementTransactionAuditTrailReportV04Document *-- SecuritiesSettlementTransactionAuditTrailReportV04 : 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.022.001.04">
<SctiesSttlmTxAudtTrlRpt>
<Pgntn>
<!-- Pagination inner content -->
</Pgntn>
<QryRef>
<!-- QueryReference inner content -->
</QryRef>
<TxId>
<!-- TransactionIdentification inner content -->
</TxId>
<SfkpgAcct>
<!-- SafekeepingAccount inner content -->
</SfkpgAcct>
<AcctOwnr>
<!-- AccountOwner inner content -->
</AcctOwnr>
<StsTrl>
<!-- StatusTrail inner content -->
</StsTrl>
</SctiesSttlmTxAudtTrlRpt>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_w9nb8ewAEeiazoAmcoGsBQ"
nextVersions="_gsUWESp0EeyR9JrVGfaMKw"
previousVersion="_YSWG-wCTEeW_3KiG8SEjHA"
name="SecuritiesSettlementTransactionAuditTrailReportV04"
definition="Scope
This message is sent by the Market Infrastructure to the CSD to advise of the history of all the statuses, modifications, replacement and cancellation of a specific transaction during its whole life cycle when the instructing party is a direct participant to the Settlement Infrastructure.

Usage
The message may also be used to: 
- re-send a message sent by the market infrastructure to the direct participant,
- provide a third party with a copy of a message being sent by the market infrastructure for information,
- re-send to a third party a copy of a message being sent by the market infrastructure for information using the relevant elements in the Business Application Header."
registrationStatus="Registered"
messageSet="_JB4xh_8rEeCQ-IWv9MUPeQ"
xmlTag="SctiesSttlmTxAudtTrlRpt"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_w9nb8-wAEeiazoAmcoGsBQ"
nextVersions="_gsUWGSp0EeyR9JrVGfaMKw"
previousVersion="_YSWHAQCTEeW_3KiG8SEjHA"
name="Pagination"
definition="Page number of the message (within a statement) and continuation indicator to indicate that the statement is to continue or that the message is the last page of the statement."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="Pgntn"
complexType="_xhMHQa6XEees_ufOy2ci-g" />
<messageBuildingBlock
xmi:id="_w9nb9ewAEeiazoAmcoGsBQ"
nextVersions="_gsUWGyp0EeyR9JrVGfaMKw"
previousVersion="_YSWHAwCTEeW_3KiG8SEjHA"
name="QueryReference"
definition="Identification of the SecuritiesStatusQuery message sent to request this report."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="QryRef"
complexType="_jXzlYu5NEeCisYr99QEiWA_-2122254183" />
<messageBuildingBlock
xmi:id="_w9nb9-wAEeiazoAmcoGsBQ"
nextVersions="_gsUWHSp0EeyR9JrVGfaMKw"
previousVersion="_YSWHBQCTEeW_3KiG8SEjHA"
name="TransactionIdentification"
definition="Provides unambiguous transaction identification information."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="TxId"
complexType="_cYp1gTntEeWfSKvvZlhRKg" />
<messageBuildingBlock
xmi:id="_w9nb-ewAEeiazoAmcoGsBQ"
nextVersions="_gsUWHyp0EeyR9JrVGfaMKw"
previousVersion="_YSWHBwCTEeW_3KiG8SEjHA"
name="SafekeepingAccount"
definition="Account to or from which a securities entry is made."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="SfkpgAcct"
complexType="_Noeb0dTMEeKvJeoOII0e7w" />
<messageBuildingBlock
xmi:id="_w9nb--wAEeiazoAmcoGsBQ"
nextVersions="_gsUWISp0EeyR9JrVGfaMKw"
previousVersion="_YSWHCQCTEeW_3KiG8SEjHA"
name="AccountOwner"
definition="Party that legally owns the account."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="0"
xmlTag="AcctOwnr"
complexType="_XnxoYdLCEeiN28wlpBQScw" />
<messageBuildingBlock
xmi:id="_w9nb_ewAEeiazoAmcoGsBQ"
nextVersions="_gsUWIyp0EeyR9JrVGfaMKw"
previousVersion="_YSWHCwCTEeW_3KiG8SEjHA"
name="StatusTrail"
definition=" Provides the history of status and reasons for a pending, posted or cancelled transaction."
registrationStatus="Provisionally Registered"
minOccurs="0"
xmlTag="StsTrl"
complexType="_Ui2OAewMEeiazoAmcoGsBQ" />
<messageDefinitionIdentifier
businessArea="semt"
messageFunctionality="022"
flavour="001"
version="04" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.