XML Interface for NEFT Messages
Total Page:16
File Type:pdf, Size:1020Kb
XML Interface for NEFT messages By: Akanksha Gupta Under the guidance of Shri. G. Raghuraj 6/28/2012 1 CERTIFICATE This is to certify that Ms. Akanksha Gupta, pursuing B. Tech course at Indian Institute of Technology, Guwahati with . as major subject has undertaken a project as an intern at the Institute for Development and Research in Banking Technology (IDRBT) , Hyderabad from April 30 to June 29, 2012. She was assigned the project “ Creation of XML Format for NEFT Messages” under the guidance of the SFMS (Structured Financial Messaging System) Department of IDRBT . During the course of the project she has undertaken a study of the payment system. In this project assigned to Ms. Akanksha Gupta she has done excellent work. We wish her all the best in all her endeavours. G. Raghuraj General Manager IDRBT, Hyderabad Project Guide 2 ACKNOWLEDGEMENT I would like to express my sincere gratitude to the Institute for Development and Research in Banking Technology (IDRBT) and particularly Shri. G. Raghuraj, General Manager, IDRBT who was my guide in this project. This opportunity of learning all the nuances of a messaging platform and a major payment system application of the country was a boon to me as one rarely gets such exposure. I would not hesitate to add that this short stint in IDRBT has added a different facet to my life as this is a unique organisation being a combination of academics, research, technology, communication services, crucial applications, etc., and at the same time performing roles as an arm of regulation, spread of technology, facilitator for implementing technology in banking and non-banking systems, playing a role of an NGO (without being one) and many more varied activities. I am extremely grateful to Shri Raghuraj for his advice, innovative suggestions and supervision. I thank him for introducing me to an excellent banking application and giving me the opportunity to approach diverse sections of people starting from bankers to general public. I am thankful to the staff of SFMS department at IDRBT for helping me to get familiar with the application. They gave me a chance to study the application and its impact from different perspectives. I am thankful to my college, IIT Guwahati for giving me this golden opportunity to work in a high-end research institute like IDRBT. I am thankful for IDRBT for providing such an amazing platform for students to work in real application oriented research. Finally, I thank one and all who made this project successful either directly or indirectly. I am very thankful to the TCS team with whom I worked throughout my stint at IDRBT and the project was possible only with their cooperation. Akanksha Gupta Project Trainee Department of SFMS IDRBT, Hyderabad 3 Index Seq. No. Topic Page No. 1. SFMS Overview 3 2. NEFT Overview 4 3. Project Objectives 7 4. Why ISO 20022 7 5. Project Deliverables 9 6. Why XML 11 7. Conclusion & Future Scope 13 4 PROJECT SCOPE: To develop an interface for data entry for enabling the sender (originator) of an NEFT transaction to create the data (message) in XML format in SFMS instead of the present MT type format. SFMS Overview : Structured Financial Messaging System (SFMS) is a secure messaging solution which was deployed over INFINET (communication network) at IDRBT on 14 th December 2001, to facilitate and speed up communication between banks. It serves as the basic platform for inter-bank and also intra-bank applications and fulfils the requirements of domestic financial messaging. SFMS has a well-defined external Application Programs Interface (API) which are used to send and receive messages using Straight Through Processing (STP) and integrate all existing and future applications with the SFMS. Bank branches on CBS can generate messages in the SFMS format. These messages are sent over INFINET (Indian Financial NETwork – connecting all member banks through communication networks) to IDRBT through MQ middelware. The messages sent/received between SFMS and CBS through the queues are in string format. 5 Fig 1. SFMS architecture – message flow SFMS is an Indian messaging middleware similar to SWIFT (Society for Worldwide Interbank Financial Telecommunication) which is the international messaging system used for Financial Messaging globally. It follows SWIFT and ISO 15022 standards and is also capable of moving to new messaging standards. NEFT Overview : National Electronic Fund Transfer (NEFT) is an electronic funds transfer system that facilitates individuals, firms and corporates to electronically transfer funds. It uses SFMS format for messaging. This is a simple, secure, safe, fastest and cost effective way to transfer funds, especially for retail remittances. It does not have any restriction of centres or of any geographical area inside the country. NEFT has introduced the concept of centralised accounting system. Every individual’s bank account, that is sending or receiving funds transfer instructions, gets operated at one central location only which is maintained at the Reserve Bank of India, Mumbai. The individual branches participating in NEFT could be located anywhere across the country. 6 The RBI (NCC) sorts the transactions bank-wise and prepares accounting entries of net debit/credit for posting in the RBI books and passing on the messages to the banks participating in the system. Thus, the bank-wise messages showing the remittance received by banks along with details of the beneficiaries are transmitted to banks. Sender Functionality: This functionality constructs the messages meant for Core Banking Interface based on the Receiver bank IFSC Code and Application Identifier in a pre- defined BlockA and Block4 which are part of the message format. The messages are stored in the corresponding Queue of MQ connecting the CBS. Receiver Functionality: This functionality continuously polls on the MQ queue connected to the CBS and gets the available messages. It also verifies and validates the messages and updates the same in the SFMS database. After verification and validation of the messages, they are forwarded to the next processing stage or if the validation fails it is returned with by giving the reason for failure. The return messages are sent in a pre-defined message format to the corresponding CBS. The flow of N06 message in a typical NEFT transaction is as follows: • Step1: Each settlement participating bank creates 298N06 Message and sends it to the service centre. • Step2: At service Centre, all 298N06 Messages from the branches are consolidated and converted to bank-level 298N06 Messages to form lots of messages which contain 10 transactions in one 298N06 Message. This Message is sent to RBI-NEFT Branch through the IDRBT Hub. • Step3: Once Message reaches at RBI-NEFT centre, it checks for proper settlement batch-time and sends it to RTGS/DAD for accounting purposes. 7 • Step4: After accounting the RTGS sends confirmation Message to RBI- NEFT. • Step5: On receiving the message, RBI-NEFT system sends 298N02 Message to destination bank’s service centre which gives details of the beneficiary accounts. • Step6: 298N02 Message is consolidated and grouped branch-wise at the destination bank service centre and sent to the respective branches. • Step7: At every batch-end and day end, every bank service centre is sent a 298N04 Message which consists of all details about the hourly settlements of the day. The receiving banks process the remittance messages and effect the credit to the beneficiaries' accounts. Fig 2. Types of NEFT messages 8 Project Working Details Structured messages containing information about the funds to be transferred are transmitted from the sender bank’s system to receiving bank’s system through IDRBT. Each NEFT message consists of two Blocks: Block A and Block 4. They have certain fields identified by a given ‘field number’ and every field number has a unique meaning. The message creator is required to fill the transaction related information beside the corresponding field number present in Block 4. For e.g. ‘Field 2020’ refers to the message transaction reference number. Fig 3. NEFT message flow diagram 9 PROJECT OBJECTIVES : The present NEFT message format has certain issues like application specific messaging structure, method of standardization is based on ISO 15022 which is getting phased out, interoperability is based on bank’s architecture which is based on pre-core banking status, etc. In order to understand the information exchange, one needs to be familiar with the details of specific syntaxes (field names) used in the NEFT message. This requires a significant investment of time and technology. However, today’s B2B scenarios require more flexibility, especially when dealing with growing demands for process improvement efforts across the entire value chain. This is leading to an increased adoption of multiple XML-based B2B options. Enterprise architects should strive to create a B2B support infrastructure that is designed to take advantage of both old and new technology, as each can provide unique value in meeting the full range of external integration needs. SWIFT was based on the ISO 15022 standards. But SWIFT and some other financial communities have begun migrating to ISO 20022 standards (which is an upgraded version of ISO 15022) which use XML based syntax for messages. It has become the industry standard for syntax in financial messages, as messages formatted to SWIFT standards can be read and processed by many well-known financial processing systems. SWIFT cooperates with international organizations for defining standards for message format and content. Many firms use ISO 15022 but it doesn’t actually match their needs – they end up having to put lots of the message data into the “free-format text” fields, which means that they cannot be processed automatically. More room for data in the message means more STP. In order to meet the increasing diverse needs of agile organizations of the future, NEFT messages also need to be enabled to accept XML format.