Professional Documents
Culture Documents
SWIFT MESSAGING
The testing journey
LIAM SHERLOCK
Principal Consultant
liam.sherlock@sqs.com
Liam Sherlock holds a degree in Applied Computing and has been with SQS
since 2005. His key responsibilities are test management, consultant coaching, and programme / project management. Programme / project delivery is
backed up with the certications PRINCE 2 and PMI PMP, as well as test
management. His experience spans 14 years of professional testing across a
wide range of industry sectors, managing geographically dispersed test and
vendor teams.
SWIFT Messaging
Page 2
1 MANAGEMENT SUMMARY
The Society for Worldwide Interbank Financial
Telecommunication (SWIFT) was founded in 1973,
with the mission of creating a shared worldwide
data processing and communications link and
a common language for international nancial
transactions. Starting with the support of a modest 239 banks in 15 countries, SWIFT now boasts
8,468 live users across 208 countries. (')
2 INTRODUCTION
2.1 SETTING THE SCENE
ISO (International Organization for Standardization) is the worlds largest developer and publisher of international standards, a network of the national standards institutes of 162 countries. This
network makes it possible to reach a consensus
on solutions that meet both the requirements of
business and the broader needs of society. (3)
The standards for electronic messaging in the
nancial industry have been developed by ISO.
However, while ISO has dened the standards, a
dictionary of data elds and a catalogue for messages have been kept outside these standards.
They are made available by the Registration Authority (RA). SWIFT is the RA for the following ISO
standards that will be mentioned:
ISO 15022 Securities This standards message
scheme includes a set of syntax and message
design rules, a dictionary of data elds, and a
catalogue for securities (i.e. MT) messages.
ISO 20022 Financial Services This standard includes a universal nancial industry
message scheme. It is a repository contain-
SWIFT Messaging
Page 3
Knowing these prerequisites is vital to the success of any SWIFT messaging project, so they
should be known and agreed before delving into
any details of the messages themselves.
SWIFT Messaging
Page 4
SWIFTNet
Message
Institution
A
Message
Ack
Ack
CENTRAL
STORAGE
Institution
B
STORE-AND-FORWARD MESSAGING
SWIFTNet
Institution
A
SWIFTNet
Message
Query
Acknowledgement
Response
REAL-TIME MESSAGING
Institution
B
Institution
A
Institution
B
SWIFT Messaging
Page 5
:16R:ORDRDET
:22H::BUSE//SUBS
:22F::TOOR//MAKT
:22H::CAOP//CASH
:22F::TILI//GTCA
:22H::PAYM//APMT
:98A::EXPI//21001231
:16R:TRADPRTY
:95R::BUYR/CLIENT1234
:70E::DECL///CERT/Y/BYOO/1234
:16S:TRADPRTY
:16R:TRADPRTY
:95Q::INVE//BANK1
:16S:TRADPRTY
:19A::ORDR//EUR/50000
:35B:ISIN GB0123456789
:16S:ORDRDET
This will be explained further below. A user unfamiliar with the MT format will nd it difcult to
know what this subset is talking about.
The format of an MX message sample (ISO 20022)
is more familiar to people accustomed to XML:
<IndvOrdrDtls>
<OrdrRef>ORDERREF001</OrdrRef>
<FinInstrmDtls>
<Id>
<ISIN>GB0123456789</ISIN>
</Id>
</FinInstrmDtls>
<GrssAmt>50000</GrssAmt>
<SttlmMtd>APMT</SttlmMtd>
<PhysDlvryInd>false</PhysDlvryInd>
<ReqdSttlmCcy>EUR</ReqdSttlmCcy>
<ReqdNAVCcy>EUR</ReqdNAVCcy>
</IndvOrdrDtls>
SWIFT Messaging
Page 6
denition as detailed by SWIFT. This message definition will have a number of optional, mandatory
and conditional elements to it. It is important to
understand what message types are going to be
tested, before going into the more detailed denition piece.
For ISO 20022, the message types are broken
down into ve business domains:
Payments
FX
Securities
Trade Services
Cards and Related Retail Financial Services
SWIFT messaging enables more than 9,000 nancial service organisations in 209 countries (according to SWIFT, July 2011) to exchange millions
of standardised messages daily. ('&)
SWIFT makes annual updates to its standard message formats and this, together with changes in how
SWIFT messaging is being used, means that there is
constant change and growth in the area of testing.
Figure 3 shows the average daily volumes of trafc (messages and les) over the last ve years
(YTD).
SWIFT Messaging
20,000,000
Page 7
15,000,000
10,000,000
5,000,000
0
2007
2008
2009
2010
2011
July 2007
July 2008
July 2009
July 2010
July 2011
13,408,802
15,207,924
14,789,382
15,933,049
17,428,600
10,669
22,366
27,825
39,383
50,907
675,583
924,243
981,183
1,169,999
1,229,840
Figure 3: SWIFT Messaging Average Daily Trafc YTD (Information obtained from www.swift.com)
continued investment in IT in the nancial services sector, it is logical to conclude that the need
for people with SWIFT messaging knowledge will
be in greater demand than ever.
SWIFT Messaging
Page 8
The use of optional tags in mandatory sequences / subsequences and the use of optional sequences / subsequences should be agreed between the message sender and receiver. It is
recommended that a template message is agreed
upon by both parties prior to commencement of
SWIFT Messaging
Page 9
<Header>
<Message>
<MessageIdentier>MESSAGE ID</MessageIdentier>
<Format>MX</Format>
<Sender>
<DN>ou=example,o=aibkie2d,o=swift</DN>
</Sender>
<Receiver>
<DN>ou=funds,o=deutdeff,o=swift</DN>
</Receiver>
<NetworkInfo>
<Service>swift.if.ia!p</Service>
</NetworkInfo>
</Message>
</Header>
SWIFT Messaging
Page 10
Note: SWIFT provides a free tool called Simulation Testing and Qualication Service (STaQS)
Message Validation for verifying that MX messages are compliant. ('))
SWIFT Messaging
Instructing Party 1:
Financial Inst. Application
Page 11
Instructing Party 2:
Financial Inst. Application
Intermediary Party:
Financial Inst. Application
Executing Party:
Financial Inst. Application
Subscription Order
Subscription
Order
Subscription
Bulk Order
Request for
Order Status
Report
Order
Instruction
Status Report
Order Instruction
Status Report
SWIFT Messaging
Page 12
1
MT502
20C::SEME//CL-01
TRANSFER
AGENT
2
MT509
20C::SEME//TA-01
20C::RELA//CL-01
3
CLIENT
MT515
20C::SEME//TA-02
20C::RELA//CL-01
SWIFT Messaging
Page 13
The next big challenge facing the nancial services industry is the quest to achieve straightthrough processing and a fully automated solution to messaging.
5.4 %
13.3 %
21 %
25 %
2008
2009
2010
YTD 2011
(May)
Figure 6: ISO 20022 volume versus total fund trafc volume on SWIFT ('+)
SWIFT Messaging
Page 14
Bibliographical References
'
Kjell Nordgard. Straight-Through-Processing: Prot through efciency. Jour nal of Financial Services Technology. [Online] 2007. http://www.jfst.com.au/
author/10656209.
ANNA.
ANNA.ISINs
ISINs&&ISO
ISO6166.
6166.ANNA
ANNA(Association
(Associationof
ofNational
NationalNumbering
NumberingAgenAgencies). [Online] 2011. http://www.anna-web.com/index.php/home/isinsaiso6166.
'(
ISO. Catalogue of ISO 20022 Messages. ISO 20022. [Online] 2011. http://
www.iso20022.org/catalogue_of_uni_messages.page.
')
Page 15
Bibliographical References
'* Funds ISO 20022 Migration: The industry moves towards a full messaging
solution. SWIFT. [Online] 2011. http://www.swift.com/solutions/funds/documents/SWIFT_InfoPaper_Funds_Migration.pdf.
'+ Migration to ISO 20022. SWIFT. [Online] 2011. http://www.swift.com/solutions/funds/migration.page.
Page 16