Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
cessing (STP)
Release: R19 AMR
May 2019
No part of this document may be reproduced or transmitted in any form or by any means, for any purpose, without the express written permission
of TEMENOS HEADQUARTERS SA.
Table of Contents
Introduction 3
Purpose of this Guide 3
Intended Audience 3
Overview 4
ISO 15022 4
SWIFT categorises ISO 15022 messages as 4
Trade Initiation and Confirmation messages (TIC) 4
Settlement and Reconciliation messages (S&R) 5
Configuration 7
Parameter Files 8
Deal Processing 12
Straight Through Processing Messages 12
MT502 Order to Buy or Sell 13
MT509 Trade status message 18
MT513 Client Advice of Execution 20
MT514 Trade Allocation Instruction 21
MT515 Client Confirmation of Purchase or Sale 22
Aggregation of MT515 25
MT544 Receive free confirmation 33
MT545 Receive against payment confirmation 34
MT546 Deliver free confirmation 35
MT547 Delivery against payment confirmation 36
Contractual and Actual Processing 37
MT509 Trade status message (Outward) 38
MT549 Request for Statement or Status Advice 42
Settlement Allegement - MT578 Message 44
Swift MX messages 49
MX Messages in T24 68
2
Straight Through Processing (STP)
Introduction
Purpose of this Guide
This document explains the Securities STP Module which is designed to achieve
Straight Through Processing (STP) with SWIFT messages in the T24.
Intended Audience
This User Guide is intended for the use of Internal Temenos users and Clients.
3 Introduction
Straight Through Processing (STP)
Overview
the set of ISO 15022 messages introduced by SWIFT. Straight Through Processing1
is the next step in the evolution of Banking systems for the Securities industry.
ISO 15022
ISO 15022 is the messaging standard introduced by SWIFT for the Securities
Industry. It is introduced in response to market demand for Straight Through Pro-
cessing. It replaces the previous standards ISO 7775 – Scheme for Message Types
and ISO 11521 – Scheme for Inter-Depository message types. The ISO 15022 series
of messages replaced the ISO 7775 series of messages from November 2002
onwards. The introduction of the ISO 15022 series of messages facilitates a T+1
(Trade date + 1) settlement scenario.
Overview 4
Straight Through Processing (STP)
5 Overview
Straight Through Processing (STP)
Overview 6
Straight Through Processing (STP)
Configuration
The following section explain the various parameters associated with STP.
l Parameter Files
7 Configuration
Straight Through Processing (STP)
Parameter Files
SP.STP.PARAM
SP.STP.PARAM is the parameter file for driving Straight Through Processing (STP)
functionality. SP.STP.PARAM facilitates the controlling of STP in separate com-
ponents.The components of STP are the SWIFT messages, which are controlled by
the Securities Straight Through Processing Module. All the components of STP are
to be selected, if a full STP system is to be installed. As there might be a require-
ment for partial STP (for example, Settlement is controlled through STP and Order
processing is done manually), the SP.STP.PARAM can be setup accordingly, to suit
the business requirement.
The ID of SP.STP.PARAM is the company ID. Each company has a separate para-
meter record.
Figure 1 - SP.STP.PARAM
Configuration 8
Straight Through Processing (STP)
OFS.SOURCE
An OFS.SOURCE record is to be setup as shown in the below screen shot. This
OFS.SOURCE record defines the IN.QUEUE.DIR, OUT.QUEUE.DIR and the IN.DIR.RTN
Figure 2 - OFS.SOURCE
EB.PHANTOM
An EB.PHANTOM record is to be setup as shown in the below screen shot.
9 Configuration
Straight Through Processing (STP)
Figure 3 - EB.PHANTOM
Refer the OFS User Guide, for more details regarding the OFS.SOURCE and
EB.PHANTOM applications.
SC.PARAMETER
The SC.CLASS.TYPE and EB.CLASS.TYPE fields in SC.PARAMETER must be inputted as
shown in the below screen shot.
Figure 4 - SC.PARAMETER
SC.CLASS.TYPE is the internal class used in the Securities module. SC.CLASS.TYPE
and EB.CLASS.TYPE provide the class mapping between internal securities classes
and EB.MESSAGE.CLASS.EB.CLASS.TYPE allows a valid EB.MESSAGE.CLASS record to
be input. The EB.MESSAGE.CLASS must be used in the EB.ADVICES record.
This facilitates the addition of new mapping records locally for each activity.
With the above set up all the inward messages will be processed and the respective
applications will be updated and authorised.
Halt STP and Trade authorisation
In a full STP Order Process, Orders are placed, executed and Trades created in Live
status automatically.
However, there may be scenarios where it is required to amend Market Settlement
instructions, Broker fees and or non-standard Value date and so on. In such cases, it
is possible to halt the STP process in-between to allow manual intervention.
It is possible to parameterise this at CUSTOMER.SECURITY level for specific Brokers
or at SECURITY.MASTER level for specific Securities. It is also possible to set this at
Configuration 10
Straight Through Processing (STP)
Information in this document is subject to change without notice. No part of this doc-
ument may be reproduced or transmitted in any form or by any means, for any pur-
pose, without the express written permission of TEMENOS HEADQUARTERS SA. ©
2019 Temenos Headquarters SA - all rights reserved.
11 Configuration
Straight Through Processing (STP)
Deal Processing
Straight Through Processing Messages
The following are the messages that are handled in the Straight Through Processing
module:
l MT502 Order to Buy or Sell
l MT509 Trade status message
l MT513 Client Advice of Execution
l MT514 Trade Allocation Instruction
l MT515 Client Confirmation of Purchase or Sale
l Aggregation of MT515
l MT544 Receive free confirmation
l MT545 Receive against payment confirmation
l MT546 Deliver free confirmation
l MT547 Delivery against payment confirmation
l Contractual and Actual Processing
l MT509 Trade status message (Outward)
l MT549 Request for Statement or Status Advice
l Swift MX messages
l MX Messages in T24
Deal Processing 12
Straight Through Processing (STP)
13 Deal Processing
Straight Through Processing (STP)
Deal Processing 14
Straight Through Processing (STP)
15 Deal Processing
Straight Through Processing (STP)
SP.ORDER.DELIVERY.CONTROL
When a SEC.OPEN.ORDER is modified or cancelled, then an application live file
SP.ORDER.DELIVERY.CONTROL is updated. This live file holds the details of any modi-
fication made to the AMT.TO.BROKER and the effect on the Customer's
NO.NOMINAL fields in SEC.OPEN.ORDER record.
Deal Processing 16
Straight Through Processing (STP)
Figure 10 - SP.ORDER.DELIVERY.CONTROL
SP.ORDER.STP.ACTIVITY
This application live file is updated when an MT502 replacement or cancellation is
sent. This file denotes the status of an MT502 replacement or a cancellation that
has been sent. If the BR.MSG.STATUS field has a value of 'LIVE', then there is no
MT509 pending from a Broker. If the BR.MSG.STATUS is null, then an MT509 trade
status message is expected from a Broker. If the status is ACCEPTED or REJECTED,
the MT509 is received from the respective Brokers and the update to
SEC.OPEN.ORDER is pending.
Figure 11 - SP.ORDER.STP.ACTIVITY
17 Deal Processing
Straight Through Processing (STP)
SP.ORD.MANUAL.UPD
However, if a SEC.OPEN.ORDER must be modified or an execution is to be input,
then the SP.ORDER.STP.ACTIVITY must be set to 'LIVE' in BR.MSG.STATUS for all the
Brokers. This can be achieved manually through the SP.ORD.MANUAL.UPD applic-
ation.
Deal Processing 18
Straight Through Processing (STP)
19 Deal Processing
Straight Through Processing (STP)
Deal Processing 20
Straight Through Processing (STP)
21 Deal Processing
Straight Through Processing (STP)
MT515 SC.EXE.SEC.ORDERS
:98A::TRAD// TRADE.DATE
:98A::SETT// VALUE.DATE
90B::/DEAL//ACTU PRICE
36B::CONF/UNIT NOMINAL.RECD
:90B::TSTM// INT.CRT
:19A::CHAR// BR.BROKER.COMM
:19A::EXEC//
:19A::OTHR//
Deal Processing 22
Straight Through Processing (STP)
23 Deal Processing
Straight Through Processing (STP)
Executing Orders
Delivery
A Delivery advice is created automatically with all relevant information relating to
the transaction.
Delivery message
Deal Processing 24
Straight Through Processing (STP)
Aggregation of MT515
Some Brokers send Aggregated MT515 messages. The Aggregation is mainly done
for Administrative convenience and for lowering the costs, as there is fewer SWIFT
messages and fewer Settlements. The messages are grouped by certain pre-defined
criteria and only one message is sent by the Broker per group. The use of Aggreg-
ated messages allows reconciling the Aggregated messages with the pre-execution
messages (MT513) received from the Broker and their Underlying transactions.
As a consequence of this Aggregation, the Settlement instructions sent to the cus-
todian (MT541 – Receive against payment, MT543- Deliver against payment) is also
Aggregated. When Settlement status (MT548) and confirmation (MT545 or MT547)
is received from the custodian, they must be desegregated and reconciled with the
Underlying trades in the System before updating the status or processing the Set-
tlement for individual Trades.
A diagrammatic representation of the flow of messages are shown in the below
screen shot.
The various business events in the Order flow and their corresponding T24 actions
are detailed in the below table:
25 Deal Processing
Straight Through Processing (STP)
In this case, the MT515 messages are not aggregated. For each Purchase or Sale,
an individual confirmation is sent by the Broker that is then used to authorize the
individual Trades in T24.
The system can handle Aggregated Trade confirmation messages received from a
Broker, if TRADE.AGGREGATION field is set to 'YES' in the CUSTOMER.SECURITY
record for that Broker. In this case, the Broker sends one MT515 message for a
number of Trades having the same grouping parameters. Once an Aggregated mes-
sage is received, it must be reconciled with the pending Trades pertaining to these
confirmations.
If Aggregation is to be set by Stock Exchange for a Broker, then the
STK.EXC.AGGREGATE field in CUSTOMER.SECURITY must be set to 'YES'. The
AGGREGATION field must be set to 'YES' in the STOCK.EXCHANGE record, for those
Stock Exchanges for which aggregation is required. For example, the system
Deal Processing 26
Straight Through Processing (STP)
Aggregates only those Trades of the Broker in a Stock Exchange which is set for
Aggregation. In short, if STK.EXC.AGGREGATE is set, then the Trades are Aggreg-
ated; only if both Broker and Stock exchange conditions are met..
The Aggregation of MT515 is based on the following grouping parameters:
l Broker
l Security Number (Instrument)
l Transaction Type – Buy/Sell
l Trade Currency
l Trade Date
l Settlement (Value) Date
l Depository
l Delivery Instruction and
l Stock Exchange
Once an Order is executed and the SC.EXE.SEC.OREDERS are authorized, a record is
created in SP.AGGREGATION (the ID of Aggregation record is the SEC TRADE ID).
Note: The back-dated transactions are not included for Aggregation and
as a result, is not updated in the Aggregation table and the Recon-
ciliation table. The confirmations for these transactions are handled
either manually or based on individual confirmation (MT515) received
from the Broker.
27 Deal Processing
Straight Through Processing (STP)
Record 2
Deal Processing 28
Straight Through Processing (STP)
group. If no record exists for the group, a new record is created. The Transactions
are added to the Reconciliation record till the time the status of the Reconciliation
record is changed to ‘MATCHED’ or till the cut-off time is set, or whichever is
earlier.
When an Aggregated MT515 message is received from the Broker, the Incoming
message is reconciled with the record with the same grouping parameters.
If there is no existing Reconciliation record for the group, a new record is created
in the Reconciliation table with details (including nominal and amount) from the
Incoming message. The status of the record is set to ‘UNMATCHED’ and the Status
Narrative is updated as ‘NOREC’.
If a record exists for the group and has a status ‘MATCHED’, it means that the
Reconciliation is already performed against an earlier MT515 and the new message
must be placed in the repair queue.
If there is a record with the same grouping parameters in ‘PENDING’ status, then
Reconciliation is attempted. If there is no match, then the status of the group must
be changed to 'Unmatched' and the reason for Reconciliation failure is also
updated. The reason for this could be either:
29 Deal Processing
Straight Through Processing (STP)
Deal Processing 30
Straight Through Processing (STP)
31 Deal Processing
Straight Through Processing (STP)
Note: All Parent Trades with same Depository are aggregated and
single MT54X are sent to the Parent Depository. All Child Trades with
same CU.DEPOSITORY are aggregated and separate MT54X are sent to
the CU.DEPOSITORY (Sub-account).
Deal Processing 32
Straight Through Processing (STP)
33 Deal Processing
Straight Through Processing (STP)
Deal Processing 34
Straight Through Processing (STP)
35 Deal Processing
Straight Through Processing (STP)
Deal Processing 36
Straight Through Processing (STP)
37 Deal Processing
Straight Through Processing (STP)
Figure 13 - SP.STP.PARAM
Deal Processing 38
Straight Through Processing (STP)
Note: The above fields form a linked set of values and that a
REASON.CODE is only allowed for the MT513 and MT515 messages.
The following codes can be compared in the Incoming message provided that they
have been setup in the SP.REASON.CODE application:
l ULNK - The message was not recognised - unknown linked reference.
l DSEC - Unrecognised or invalid financial instrument identification.
l DDEA - Unrecognised or invalid deal price.
l DQUA - Unrecognised or invalid settlement quantity.
l NCRR - Unrecognised or invalid settlement amount currency.
A typical SP.REASON.CODE is shown in the below screen shot.
39 Deal Processing
Straight Through Processing (STP)
Figure 14 - SP.REASON.CODE
The following SP.STATUS record and the field descriptions illustrate the generation
of an Outward MT509 message in response to a linked MT513
Figure 15 - SP.STATUS
The following is a description of the major SP.STATUS fields:
Deal Processing 40
Straight Through Processing (STP)
Figure 16 - SP.ORDER.DELIVERY.CONTROL
41 Deal Processing
Straight Through Processing (STP)
Figure 17 - SP.STATUS
Deal Processing 42
Straight Through Processing (STP)
Further fields relating to the receipt of an MT576 message are displayed in the
SP.ORDER.DELIVERY.CONTROL LIVE file are described in the below table:
Field Usage
TOTAL.EX.NOM Holds the total number of nom-
inals executed for a particular
order by a Broker.
REMAIN.NOM.EXE Holds the remaining quantity
of nominals to be executed by
the Broker as per the exe-
cution record.
REMAIN.NOM Updated with the remaining
nominals as per the MT576
message.
43 Deal Processing
Straight Through Processing (STP)
SC.ALLEGEMENT.INWARD
The table SC.ALLEGEMENT.INWARD is used to record all the details from the incom-
ing MT578. Each MT578 message creates a record in the table
SC.ALLEGEMENT.INWARD.
When all fields required to identify a transaction are available, then system marks
the record status as RECEIVED. If any of the required fields in the record are not
available, then system marks the status as ERROR and in the ERROR.REASON field,
system marks all the errors.
Fields that the system requires to identify the transaction and error message if miss-
ing, are as below:
• TRADE.DATE
• SECURITY.NUMBER
• PAY.INSTR
• TRANS.INSTR
• NOMINAL
• BROKER.NO
• PORTFOLIO.NO
Deal Processing 44
Straight Through Processing (STP)
45 Deal Processing
Straight Through Processing (STP)
Deal Processing 46
Straight Through Processing (STP)
If the user after investigation, decides to Reject the allegement, he should change
the STATUS as “REJECTED”. User can also record the Reason for Rejection in the
field REJECT.REASON which gets linked to EB.LOOKUP, where standard set of reas-
ons can be defined.
If User wants to Reject the allegement after first accepting it, he can do so only
after he has manually deleted or reversed the SECURITY.TRANSFER that was cre-
ated when record was accepted. Status cannot be marked as REJECTED when the
SECURITY.TRANSFER.REF is not Null. Only if it becomes null, can status be marked
as REJECTED.
47 Deal Processing
Straight Through Processing (STP)
User can use the enquiry provided to list such records and manually reverse or
delete the SECURITY.TRANSFER record, as required.
Deal Processing 48
Straight Through Processing (STP)
Swift MX messages
SWIFT message type is expressed in XML syntax, which is more flexible and easier
to implement than the previous generation of message types (MT). These message
types are developed in accordance with ISO 20022 standard and are referred as MX
messages.
The MX Messages supported by Temenos Core Banking are detailed here.
The details of how the messages are generated and the flow are explained in detail
below.
SP.STP.PARAM
The directories to store the Messages must be defined in this record.
49 Deal Processing
Straight Through Processing (STP)
Deal Processing 50
Straight Through Processing (STP)
DE.INTERFACE
DE.CARRIER
DE.ADDRESS
For BIC NUMBER in XML message, we need to define the BIC ADDRESS in SWIFT
record.
51 Deal Processing
Straight Through Processing (STP)
DE.PRODUCT
Deal Processing 52
Straight Through Processing (STP)
SECURITY.MASTER
Here the STP.ORDER field must be set to MX and along with this, the Broker for
whom MX must be sent should also be specified.
53 Deal Processing
Straight Through Processing (STP)
Deal Processing 54
Straight Through Processing (STP)
MX Outward
Ensure that DE.MESSAGE, DE.MAPPING, EB.ACTIVITY, EB.ADVICES, and
DE.FORMAT.XML record exist. In core, there are four DE.MESSAGE records for
MX502, they are as follows:
55 Deal Processing
Straight Through Processing (STP)
l 5021
l 5022
l 5023
l 5024
Once all the prerequisites are set, and when a SEC.OPEN.ORDER is input the system
creates an MX502 xml message as shown below. The user must run the
XML.OUTservice.
F.DE.O.MSG.XML
Deal Processing 56
Straight Through Processing (STP)
57 Deal Processing
Straight Through Processing (STP)
MX INWARD
1. The user must configure the tocfee.ear for processing the OFSML in T24.
Deal Processing 58
Straight Through Processing (STP)
1. Right click and click 'Open archive', to open the tocfee.ear using 7zip.
59 Deal Processing
Straight Through Processing (STP)
1. Open the tcserver.xml for configuring the Batch File Listener paths.
Deal Processing 60
Straight Through Processing (STP)
Response path
61 Deal Processing
Straight Through Processing (STP)
Deal Processing 62
Straight Through Processing (STP)
63 Deal Processing
Straight Through Processing (STP)
Deal Processing 64
Straight Through Processing (STP)
65 Deal Processing
Straight Through Processing (STP)
Deal Processing 66
Straight Through Processing (STP)
67 Deal Processing
Straight Through Processing (STP)
MX Messages in T24
SC Settlement Inward Messages
MX Message Description Equivalent MT
ses- Securities Settlement Transaction Status 548
e.024.001.05 Advice - message sent in response to a
Securities Settlement Transaction Instruc-
tion to give a status of the instruction.
ses- Securities Settlement Transaction Con- 544/545/546/54-
e.025.001.05 firmation - message sent by the executing / 7
servicing party in response to a Securities
Settlement Transaction Instruction to con-
firm settlement.
ses- Securities Settlement Transaction Reversal 544/545/546/54-
e.026.001.04 Advice - message sent to reverse a pre- 7
viously confirmed transaction
ses- Securities Transaction Cancellation Request 548
e.027.001.03 Status Advice - message sent to request can-
cellation of a previously sent transaction
instruction
ses- Securities Settlement Transaction Gen- 548
e.032.001.05 eration Notification - notification that a
securities movement has been auto-gen-
erated without a matching trade or transfer
(for example through a corporate action)
SC Settlement Outward
MX Message Description Equivalent MT
ses- Securities Transaction Cancellation Request 540/541/542/54-
e.020.001.04 - generic cancellation message to cancel a 3
previously sent confirmation message
ses- Securities Settlement Transaction Instruc- 540/541/542/54-
e.023.001.05 tion - message sent by an instructing party 3
(for example an investment manager) to
the servicing party (for example a CSD).
Deal Processing 68
Straight Through Processing (STP)
Fund Messages
MX Message Description Equi-
valent MT
setr.010.001.03 Subscription order 502
setr.004.001.03 Redemption order 502
setr.006.001.03 Redemption Order confirmation - confirmation 515 (513)
or the execution of a redemption order
setr.012.001.03 Subscription order confirmation - confirmation of 515 (513)
the execution of a subscription order
setr.016.001.03 Order instruction status report - report of the 509
status of an order. Sent in response to an order
status request
69 Deal Processing
Straight Through Processing (STP)
Deal Processing 70