SWIFT Payment
SWIFT stands for Society for Worldwide Interbank Financial Telecommunication
SWIFT——环球银行金融电信协会
SWIFT Payment Useful Link
ISO 20022 | https://www.iso20022.org/https://www.swift.com/standards/iso-20022 |
MT and MX Equivalence Tables | https://www2.swift.com/knowledgecentre/rest/v1/publications/stdsmt_mt_mx_eq_tbl/_latest/stdsmt_mt_mx_eq_tbl.pdf |
Funds MT to MX Mapping | https://www2.swift.com/knowledgecentre/publications/stdsmt_funds_mt_mx_map |
Standards MT | https://www2.swift.com/knowledgecentre/products/Standards%20MT |
Standards MX | https://www2.swift.com/knowledgecentre/products/Standards%20MX |
Specific Message Example | Format Spec: https://www2.swift.com/knowledgecentre/publications/us1m_20220722/?topic=mt101-format-spec.htm Field Spec: https://www2.swift.com/knowledgecentre/publications/us1m_20220722/?topic=mt101-field-spec.htm Message Example: |
ISO15022 and ISO 20022 (MT & MX Basic Knowledge , The Structure Of A SWIFT Message) | https://www.sepaforcorporates.com/swift-for-corporates/read-swift-message-structure/ |
BIC | https://www2.swift.com/knowledgecentre/publications/usgi_20220722/2.0?topic=con_31411.htm |
Notes: 内部可以使用 SWIFT Translator & SWIFT Validator。
MT Overview
https://www2.swift.com/knowledgecentre/products/Standards%20MT/publications
- Category 1 - Customer Payments and Cheques
- Category 2 - Financial Institution Transfers
- Category 3 - Treasury Markets - Foreign Exchange, Money Markets and Derivatives
- Category 4 - Collections and Cash Letters
- Category 5 - Securities Markets
- Category 6 - Reference Data
- Category 6 - Treasury Markets - Commodities
- Category 7 - Documentary Credits and Guarantees/Standby Letters of Credit
- Category 8 - Travellers Cheques
- Category 9 - Cash Management and Customer Status
- Category n - Common Group Messages
MX Overview
https://www2.swift.com/knowledgecentre/products/Standards%20MX/publications
- Collateral Management
- Corporate Actions
- Cross-Border Payments and Reporting Plus (CBPR+)
- Funds
- General Meeting
- Securities Clearing
- Settlement and Reconciliation
- Shareholders Identification Disclosure
- Technical
- Total Portfolio Valuation Report
- Triparty Collateral Management
XSD (XML Schema Definition)
XML Schema Definition or XSD is a recommendation by the World Wide Web Consortium (W3C) to describe and validate the structure and content of an XML document.
ISO 20022 Message Definition: https://www.iso20022.org/iso-20022-message-definitions
Securities: https://www.iso20022.org/iso-20022-message-definitions?business-domain=6
Swift Message Structure ISO 15022 and ISO 20022
SWIFT Message types are the format or schema used to send messages to financialinstitutions on the SWIFT network.
The original message types were developed by SWIFT and retrospectively made into an ISOstandard, ISO 15022.
This was later supplemented by a XML based version under ISO 20022
SWIFT MT Message
A SWIFT MT message consists of the following blocks or segments:
- {1:} Basic Header Block
- {2:} Application Header Block
- {3:} User Header Block
- {4:} Text Block
- {5:} Trailer Block
No data is included any data at this point, just the Swift message shell;
{1:}{2:}{3:}{4:
-}
{5:}
SWIFT Message Structure: Basic Header Block
The Basic Header Block provides information about the logical originator of the message
It can be identified by the starting tag {1:
It will typically consist of something like: {1:F01MYXXCODEZABC1234567890} where:
- {1: – Identifies the Block (always 1) – i.e. the Basic Header Block
- F – Indicates the Application Id – in this case, FIN
- F = FIN (financial application)
- A = GPA (general purpose application)
- L = GPA (for logins, and so on)
- 01 – Indicates the Service Id
- 01 = FIN/GPA
- 21 = ACK/NAK
- MYXXCODE– The Logical Terminal Address – which is typically your BIC 8 (MYXXCODE) + Logical Terminal Code (Z) + Branch Code(ABC)
- Logical terminal (LT) address. It is fixed at 12 characters; it must not have X in position 9.
- MYXXCODE is an invalid BIC – the real BIC must be used
- 1234 – Session Number – It is generated by the user's computer and is padded with zeros
- 567890 – Sequence Number – Sequence number that is generated by the user's computer. It is padded with zeros.
- } – Indicated the end of the Basic Header Block
SWIFT Message Structure: Application Header Block
The Application Header Block is identified by starting tag {2:
There are two types of application headers: Input and Output. Both are fixed-length and continuous with no field delimiter
And will look something like: {2:I101MYXXBANKXJKLU3003} where:
- {2: – Indicates the start of the Application Header block
- I – Informs you that you’re in Input mode (i.e. the Sender), O would indicate Output mode – so you would be the recipient of the message
- 101 – Message type – in this case, an MT101
- MYXXBANKXJKL – The recipients BIC address, consisting of their BIC (MYXXBANK) + Recipients Logical Terminal Code (X) + Recipients Branch Code (JKL)
- U = the message priority as follows
- S = System
- N=Normal
- U=Urgent
- U = the message priority as follows
- 3 – Delivery Monitoring – Ask your SWIFT contacts or Service Bureau how you should populate this, if at all – Optional
-
3 = Delivery monitoring field is as follows:
- 1 = Non delivery warning (MT010)
- 2 = Delivery notification (MT011)
- 3 = Both valid = U1 or U3, N2 or N
-
- 003 – Non-delivery notification period – again, ask your SWIFT contacts how to populate this, if at all – Optional
-
003 = Obsolescence period. It specifies when a non-delivery notification is generated as follows:
- Valid for U = 003 (15 minutes)
- Valid for N = 020 (100 minutes)
-
- } – Indicated the end of the Application Header Block
SWIFT Message Structure: User Header Block
The User Header Block will always starts {3:
And will look something like: {3:{113:SEPA}{108:ILOVESEPA}} where:
- {3: – Block ID (always 3)Indicates the start of the User Header Block
- {113:SEPA} This is an optional 4 alphanumeric bank priority code
- {108:ILOVESEPA} – Indicates the Message User Reference (MUR) value, which can be up to 16 characters, and will be returned in the ACK
- } – Indicated the end of the User Header Block
SWIFT Message Structure: Text Block
The Text Block will always starts {4:
And will look something like: {4:
Followed by the details of the message you’re sending. In this case, it is a MT101 – as indicated in Application Header Block message type. For this piece, I strongly recommend that you find and read the appropriate SWIFT message specification – in this instance SWIFT MT101 Format Specifications – and then work with your bank(s) to understand their specific message requirements.
The format, which is variable length and requires use of CRLF as a field delimiter, is as follows:
{4:CRLF
:20:PAYREFTB54302 CRLF
:32A:970103BEF1000000,CRLF
:50:CUSTOMER NAME CRLF
AND ADDRESS CRLF
:59:/123-456-789 CRLF
BENEFICIARY NAME CRLF
AND ADDRESS CRLF
-}
Finally ending with -}
The example above is of type MT100 (Customer Transfer) with only the mandatory fields completed. It is an example of the format of an ISO 7775 message structure. Block 4 fields must be in the order specified for the message type in the appropriate volume of the SWIFT User Handbook.
The format of block 4 field tags is:
:nna:
nn = Numbers
a = Optional letter, which may be present on selected tags
For example:
:20: = Transaction reference number
:58A: = Beneficiary bank
SWIFT Message Structure: Trailer Block
The Trailer Block will always starts {5:
This is usually automatically added by the systemand specified in the proprietary SWIFT implementation
And ends with }
A message always ends in a trailer with the following format:
{5: {MAC:12345678}{CHK:123456789ABC}
This block is for SWIFT system use and contains a number of fields that are denoted by keywords such as the following:
MAC
Message Authentication Code calculated based on the entire contents of the message using a key that has been exchanged with the destination and a secret algorithm. Found on message categories 1,2,4,5,7,8, most 6s and 304.
CHK
Checksum calculated for all message types.
PDE
Possible Duplicate Emission added if user thinks the same message was sent previously
DLM
Added by SWIFT if an urgent message (U) has not been delivered within 15 minutes, or a normal message (N) within 100 minutes.
Overview of SWIFT MT Categories:
Message Type | Description |
MT0xx | System Messages |
MT1xx | Customer Payments and Cheques |
MT2xx | Financial Institution Transfers |
MT3xx | Treasury Markets |
MT4xx | Collection and Cash Letters |
MT5xx | Securities Markets |
MT6xx | Treasury Markets - Metals and Syndications |
MT7xx | Documentary Credits and Guarantees |
MT8xx | Travellers Cheques |
MT9xx | Cash Management and Customer Status |
All SWIFT messages include the literal "MT" (Message Type). This is followed by a three-digit number that denotes the message category, group and type. Consider the following example, which is an order to buy or sell via a third party:
- Example 1 : MT304
The first digit (3) represents the category. A category denotes messages that relate to particular financial instruments or services such as Precious Metals (6), Treasury (3), or Travellers Cheques (8). The category denoted by 3 is Treasury Markets.
The second digit (0) represents a group of related parts in a transaction life cycle. The group indicated by 0 is a Financial Institution Transfer.
The third digit (4) is the type that denotes the specific message. There are several hundred message types across the categories. The type represented by 4 is a notification.
- Example 2 : MT103
The first digit (1) represents the category. A category denotes messages that relate to particular financial instruments or services such as Cash Transfer(1), Treasury (3), or Cash Management (9). The category denoted by 1 is Cash Transfer.
The second digit (0) represents a group of related parts in a transaction life cycle. The group indicated by 0 is a Financial Institution Transfer.
The third digit (3) is the type that denotes the specific message. There are several hundred message types across the categories. The type represented by 3 is a notification.
ISO 20022 MX
A new message type 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.
Current syntax is as following: xxxx.nnn.aaa.bb, where
- xxxx is an alphabetic code in four positions (fixed length) identifying the Business Process,
- nnn is an alphanumeric code in three positions (fixed length) identifying the Message Functionality,
- aaa is a numeric code in three positions (fixed length) identifying a particular flavour (variant) of Message Functionality,
- bb is a numeric code in two positions (fixed length) identifying the version.
Consider the following example: TREA.001.001.02
- TREA refers to ‘Treasury’
- 001 refers to ‘NDF opening (notification)’
- 001 refers to the variant
- 02 refers to the version message format, in this case version 2 of ‘NDF opening’ type.
SWIFT Standards for MX Messages:
MX Identifier | Description |
acmt.xxx.xxx.xx | Account Management |
admi.xxx.xxx.xx | Administration |
camt.xxx.xxx.xx | Cash Management |
defp.xxx.xxx.xx | Derivatives |
pacs.xxx.xxx.xx | Payments Clearing and Settlement |
pain.xxx.xxx.xx | Payments Initiation |
reda.xxx.xxx.xx | Reference Data |
seev.xxx.xxx.xx | Securities Events |
semt.xxx.xxx.xx | Securities Management |
sese.xxx.xxx.xx | Securities Settlement |
setr.xxx.xxx.xx | Securities Trade |
trea.xxx.xxx.xx | Treasury |
tsmt.xxx.xxx.xx | Trade Services Management |
相关文章:

SWIFT Payment
SWIFT stands for Society for Worldwide Interbank Financial Telecommunication SWIFT——环球银行金融电信协会 SWIFT Payment Useful Link ISO 20022https://www.iso20022.org/https://www.swift.com/standards/iso-20022MT and MX Equivalence Tableshttps://www2.swift…...

数据结构之红黑树实现(全)
一、红黑树 红黑树是一种自平衡的二叉搜索树,它通过约束节点的颜色和结构来保持平衡。红黑树是由 Rudolf Bayer 在1972年发明的,被认为是一种优秀的平衡树结构,广泛应用于各种数据结构和算法中。 1.红黑树的性质 1. 每个结点是红的或者黑的…...

冷热数据分离
优质博文:IT-BLOG-CN 一、背景 随着机票业务的快速发展,订单量持续增长对业务性能带来影响,需要进行冷热数据分离。目前机票订单模块主要使用Mysql(InnoDB)作为数据库存储,历史订单信息状态修改频率低并占用大量数据库存储空间&…...

朝花夕拾:多模态图文预训练的前世今生
Diffusion Models专栏文章汇总:入门与实战 前言:时间来到2024年,多模态大模型炙手可热。在上一个时代的【多模态图文预训练】宛若时代的遗珠,本文的时间线从2019年到2022年,从BERT横空出世讲到ViT大杀四方,…...

亳州自闭症寄宿制学校,关注孩子的学习和生活
在特殊教育领域,自闭症儿童的教育与成长一直是社会各界关注的焦点。近年来,随着对自闭症认识的加深,越来越多的寄宿制学校应运而生,致力于为这些特殊的孩子提供全面、个性化的教育服务。在安徽亳州,这样的学校正努力为…...

Root me CTF all the day靶场ssrf+redis漏洞
Rootme CTF all the day靶场ssrfredis漏洞 一、环境介绍1、漏洞地址2、漏洞介绍 二、 搭建环境三、测试过程3.1 读取系统文件3.2 探测开放的服务器端口(dict协议)3.3 redis未授权访问3.3.1 利用redis来写ssh密钥(gopher协议写入)3.3.2 利用redis写定时任…...

C#中Json序列化的进阶用法
本文所有json序列化,都使用的Newtonsoft.Json包 1 JsonIgnore 在 Newtonsoft.Json 中,如果你不想将某些属性转换为 JSON 字符串,可以使用多种方法来实现。以下是几种常见的方法: 1.1 使用 [JsonIgnore] 特性 [JsonIgnore] 特性…...

IO相关的常用工具包
常用工具包Commons-io Commons-io是apache开源基金组织提供的一组有关IO操作的开源工具包。 作用:提高IO流的开发效率。 使用步骤: 1、在项目中创建一个文件夹:lib 2、将jar包复制粘贴到lib文件夹 3、右键点击jar包,选择Add as Library--->点击OK …...

Spring Boot集成RBloomFilter快速入门Demo
在大数据处理和缓存优化的场景中,布隆过滤器(Bloom Filter)因其高效的空间利用和快速的查询性能而被广泛应用。RBloomFilter是布隆过滤器的一种实现,通常用于判断一个元素是否存在于一个集合中,尽管它存在一定的误判率…...

布局性能优化
布局使用不当回导致卡顿、掉帧、响应慢等问题 一、布局流程 1、应用侧会根据前端UI描述创建后端的页面节点树,其中包含了处理UI组件属性更新、布局测算、事件处理等逻辑 2、页面节点树创建完成后,UI线程会对每个元素进行测算(Measure&#…...

智云人才推荐与管理系统
1.产品介绍 产品名称:智云人才推荐与管理系统 主要功能: 智能人才匹配引擎 功能描述:利用先进的人工智能算法,根据企业岗位需求(如技能要求、工作经验、教育背景等)自动从海量人才库中筛选并推荐最合适的…...

git在远程分支上新建分支
需求: 在远程分支release/test的基础上创建一个新的分支test_20241009 确保本地仓库的信息是最新的 git fetch origin执行了 git fetch,本地仓库已经包含了 origin/release/test 的最新信息。当基于这个远程跟踪分支创建新分支时,会得到一个包…...

用Python实现的高校教师资格考试题库程序
最近朋友参加了高校教师资格考试,在考试前需要刷题来保证通过。但是教资网站上的题库只有接近考试才更新,并且官方题库的刷题效率还是有点低。 👆官方题库的样子 于是想到了是否能够将官方题库内容记录下来,然后自己创建一个高效…...

OpenVINO基本操作流程
环境配置: conda env list:可以查看有哪些环境 conda activate intel:启动某个环境 pip list:可以查看此环境下都下载了哪些软件包 from openvino.inference_engine import IEcore#从OpenVINO推理引擎中导入IECore类 import numpy as np import cv2 1&…...

Spring MVC 注解详解:@RequestBody,@RequestParam 和 @PathVariable
Spring MVC 提供了一系列注解,用于简化请求数据的获取和处理。了解并掌握这些注解的使用,对于开发RESTful API和处理HTTP请求至关重要。本文将详细介绍 RequestBody,RequestParam 和 PathVariable 注解,并附带具体的代码示例&…...

MySQL 8 中的 sql_mode
MySQL 8 中的 sql_mode 设置:提升数据库安全性与性能 在现代数据库管理中,MySQL 是一个广泛使用的开源关系型数据库。随着数据的增长和复杂性增加,良好的数据库配置显得尤为重要。sql_mode 是 MySQL 提供的一个强大功能,它可以帮…...

13种pod的状态
13种pod的状态 生命周期 Pending:Pod被创建后进入调度阶段,k8s调度器依据pod声明的资源请求量和调度规则,为pod挑选一个适合运行的节点。当集群节点不满足pod调度需求时,pod将会处于pending状态。Running:Pod被调度到节点上,k8s将pod调度到节点上后,进入running状态。S…...

2025考研今天开始预报名!攻略请查收
2025年全国硕士研究生招生考试 今天起开始预报名 有什么流程?需要准备哪些信息? 这份考研报名攻略速查收 ↓↓↓ 全国硕士研究生招生考试报名包括网上报名和网上确认两个阶段: 网上预报名时间为10月9日至10月12日(每日9࿱…...

JS中的Promise经典题目解析
这段代码很有代表性,涵盖了多个 JavaScript 知识点,特别是不同异步操作的执行优先级。 async function async1() {console.log(async1 start);await async2();console.log(async1 end); }async function async2() {console.log(async2); }console.log(s…...

【机器学习】金融预测 —— 风险管理与股市预测
我的主页:2的n次方_ 在金融领域,机器学习(ML)已经成为了不可或缺的工具。金融预测,尤其是风险管理和股市预测,涉及海量数据和复杂模式的分析,而这些正是机器学习擅长处理的领域。通过分析历…...

Bootstrap 5 分页组件使用教程
Bootstrap 5 分页组件使用教程 引言 Bootstrap 5 是一个流行的前端框架,它提供了一套丰富的组件和工具,用于快速开发响应式和移动优先的网页。分页组件是 Bootstrap 5 中用于分割长列表或数据集的重要部分,它可以帮助用户更容易地浏览内容。本文将详细介绍如何在您的项目中…...

Linux 安装 NVM 并配置 npm 加速,开发 node 项目不再愁
由于需要在 linux 机器上完成 node 项目的构建,需要安装 nodejs, 想着不同项目需要使用不同的版本,索性安装一下 nvm 吧,因为之前在 windows 上已经安装过 nvm-windows, 应该很容易上手,我尝试了官网提供的几种方式,最…...

MySQL 多条件查询
在 MySQL 中,多条件查询通常使用 WHERE 子句来指定多个条件。这些条件可以通过逻辑运算符(如 AND、OR、NOT)进行组合,以实现复杂的查询需求。以下是一些常见的多条件查询示例: 使用 AND 运算符 AND 运算符用于组合多…...

深度学习模型
1. 引言 在过去的十年间,深度学习的崛起引发了人工智能领域的革命,深刻影响了多个行业。深度学习是一种模仿人脑神经元的工作方式,通过多层神经网络进行数据处理与特征学习。其应用范围从简单的图像识别到复杂的自然语言处理、自动驾驶和医疗…...

Nexpose 6.6.271 发布下载,新增功能概览
Nexpose 6.6.271 for Linux & Windows - 漏洞扫描 Rapid7 Vulnerability Management, release Sep 26, 2024 请访问原文链接:https://sysin.org/blog/nexpose-6/,查看最新版。原创作品,转载请保留出处。 作者主页:sysin.or…...

SimpleRAG-v1.0.3:增加文件对话功能
Kimi上有一个功能,就是增加文件之后对话,比如我有如下一个私有文档: 会议主题:《如何使用C#提升工作效率》 参会人员:张三、李四、王五 时间:2024.9.26 14:00-16:00 会议内容: 1. 自动化日常任…...

数学建模算法与应用 第7章 数理统计与方法
目录 7.1 参数估计与假设检验 Matlab代码示例:均值的假设检验 7.2 Bootstrap方法 Matlab代码示例:Bootstrap估计均值的置信区间 7.3 方差分析 Matlab代码示例:单因素方差分析 7.4 回归分析 Matlab代码示例:线性回归 7.5 基…...

【网络】洪水攻击防御指南
洪水攻击防御指南 摘要: 本文深入探讨了洪水攻击的概念、危害以及防御策略。通过Java技术实现,我们将学习如何通过编程手段来增强服务器的安全性。文章不仅提供了详细的技术解读,还包含了实用的代码示例和流程图,帮助读者构建一个…...

应对Redis大Key挑战:从原理到实现
在使用Redis作为缓存或数据存储时,开发者可能会遇到大Key(Big Key)问题。大Key是指在Redis中存储的单个键值对,其值的大小非常大,可能包含大量数据或占用大量内存。大Key问题会导致性能下降、内存消耗过多以及其他潜在…...

网络安全的全面指南
目录 网络安全的全面指南1. 引言2. 网络安全的基本概念3. 网络安全框架4. 常见网络安全攻击及案例4.1 病毒与恶意软件攻击案例4.2 钓鱼攻击案例4.3 DDoS 攻击案例 5. 网络安全最佳实践5.1 强密码策略5.2 定期更新和补丁管理5.3 数据备份与恢复策略 6. 企业网络安全策略6.1 安全…...