Bản tiếng Anh - Tài liệu quy định về định dạng mã VietQR trong dịch vụ chuyển phát nhanh NAPAS247
Bản tiếng Anh - Tài liệu quy định về định dạng mã VietQR trong dịch vụ chuyển phát nhanh NAPAS247
NAPAS QR SWITCHING
<Apply for Member Institution>
CONTENTS
1 AUDIENCE ................................................................................................................ 4
2 SCOPE......................................................................................................................... 4
3 TERMS AND ACRONYMS ..................................................................................... 4
4 CHANGE HISTORY ................................................................................................. 5
5 DATA ORGANIZATION ......................................................................................... 6
5.1 DATA OBJECT ROOT ................................................................................................. 6
5.2 DATA OBJECTS - ROOT ........................................................................................... 13
5.2.1 Payload Format Indicator (ID 00) ................................................................. 13
5.2.2 Point of Initiation Method (ID 01) ................................................................. 13
5.2.3 Merchant Account Information (ID 02-51) .................................................... 13
5.2.3.1 Primitive Payment System Merchant Account Information (ID 02-25) . 13
5.2.3.2 Merchant Account Information Template (ID 26 – 51) .......................... 14
5.2.4 Merchant Category Code (ID 52) .................................................................. 17
5.2.5 Transaction Currency (ID 53) ....................................................................... 19
5.2.6 Transaction Amount (ID 54) ......................................................................... 20
5.2.7 Tip or Convenience Indicator (ID 55) ........................................................... 20
5.2.8 Value of Convenience Fee Fixed (ID 56)....................................................... 21
5.2.9 Value of Convenience Fee Percentage (ID 57) ............................................. 21
5.2.10 Country Code (ID 58) .................................................................................... 21
5.2.11 Merchant Name (ID 59) ................................................................................. 22
5.2.12 Merchant City (ID 60) .................................................................................... 22
5.2.13 Postal Code (ID 61) ....................................................................................... 22
5.2.14 Additional Data Field Template (ID 62)........................................................ 23
5.2.15 CRC (ID 63) ................................................................................................... 25
5.2.16 Data Objects – Merchant Information – Language Template (ID 64) .......... 25
5.2.16.1 Language Preference (ID 00) .................................................................. 26
5.2.16.2 Merchant Name—Alternate Language (ID 01) ....................................... 26
5.2.16.3 Merchant City—Alternate Language (ID 02) ......................................... 26
5.2.17 Data Objects—RFU for EMVCo (ID 65-79) ................................................. 26
5.2.18 Data Objects—Unreserved Templates (ID 80-99)......................................... 26
6 QR CODE EXAMPLE ............................................................................................ 28
6.1 QR PUSH PAYMENT............................................................................................... 28
6.1.1 Static QR with no service code ...................................................................... 28
6.1.2 Static QR with service code ........................................................................... 29
6.1.3 Dynamic QR with no service code ................................................................. 30
6.1.4 Dynamic QR with service code ...................................................................... 31
6.2 QR CASH................................................................................................................. 33
6.3 QR IBFT ................................................................................................................. 34
Figure List
Table 1 - Data Objects Under the Root of a QR PUSH ...................................................... 7
Table 2 - Data Objects Under the Root of a QR CASH ...................................................... 8
Table 3 – Data Object Under the Root of a QR IBFT ......................................................... 8
Table 4 – Data Object of Additional Data Field Template (ID “62”) of a QR PUSH ........ 9
Table 5– Data Object of Additional Data Field Template (ID “62”) of a QR CASH ...... 10
Table 6 - Data Object of Additional Data Field Template (ID “62”) of a QR IBFT ........ 11
Table 7 - Data Objects for Merchant Information—Language Template (ID "64")........ 12
Table 8 - Data Object ID Allocation in Merchant Account Information Template .......... 14
Table 9 – List of MCCs ..................................................................................................... 17
Table 10 – List of currency code ....................................................................................... 19
Table 11 – List of country code ......................................................................................... 21
Table 12- Additional Data Field Template ........................................................................ 23
Table 13 – Merchant Information – Language Template .................................................. 25
Table 14 - Data Object ID Allocation in Unreserved Templates ...................................... 27
1 Audience
“Technical Specifications on NAPAS QR Switching” document is intended for the
Member Organizations (MO) of NAPAS include but not limited to Member Banks of
NAPAS and Payment Intermediaries that directly connected to QR switching service.
2 Scope
This document describes the message format of QR switching that NAPAS deploys to
Member Instituations.
4 Change history
Date Version Description
2018-08-06 1.0 1st release
Update detail about MCC at section 5.2.4 – Merchant
2018-10-11 1.1
Category Code (ID 52)
Change Merchant Account Information Template from
ID 26 to ID 38 at following sections :
2018-10-29 1.2 - Section 5.2.3.2 Merchant Account Information
Template ID 26 - 51
- Section 6. QR code example
Change AID at section 5.2.3.2. Merchant Account
Information Template (ID 26 – 51)
2018-11-20 1.3 New AID value is :
- AID: always is “A000000727”
- Add Service ID value for ATM cash withdrawal
service by QR is QRCASH in tag 38
2019-01-30 1.4 - Add tag 52 - MCC for QR on ATM
- Add example for QR Cash
- Add description of tag 62 for QR Cash
- Add Service ID value for IBFT service by QR is
QRIBFT in tag 38
- Add Benefit ID, Consumer ID description for IBFT
by QR in tag 38
2021-01-11 1.5 - Add example for QR IBFT
- Update tag 58 with more detail about Country Code
- Update tag 53 with more detail about Currency Code
- Add tag 62 description for QR IBFT
- Update Service ID for IBFT by QR with values as
QRIBFTTC and QRIBFTTA in tag 38 to
2021-03-03 1.5.1 differentiate between IBFT service to card and
account.
- Add example for QRIBFTTC and QRIBFTTA
- Correct example to create CRC and QR
2021-04-21 1.5.2
- Describe more detail about tag 38
5 Data Organization
The transactions are processing by Switching QR compliant with EMV QR Code
Merchant Presented.
Table 4, Table 5 and Table 6 list the name of the data object, the ID of the data object, the
value field format of the data object, the value field length of the data object and whether
the presence of the data object within the Additional Data Field Template (ID "62") of the
QR Code are Mandatory (M), Conditional (C), or Optional (O).
Table 4 – Data Object of Additional Data Field Template (ID “62”) of a QR PUSH
Table 5– Data Object of Additional Data Field Template (ID “62”) of a QR CASH
Table 6 - Data Object of Additional Data Field Template (ID “62”) of a QR IBFT
Each of the data objects with IDs "01" to "08" in Table 6 can be used in two ways: either
the merchant can provide both the ID and its meaningful value, or the merchant can include
the ID with a special value to have the mobile application prompt the consumer to input
this information.
To prompt the consumer for one or more of these values, the merchant includes the
respective IDs in this template each with a length of "03" and with a value equal to "***".
When the consumer is prompted by the mobile application to enter a value for any of these
data objects, the length of the value to be entered should not exceed the length as indicated
in Table 6.
The data object with the ID "09" contains one or more values that indicate to the mobile
application the data to provide as part of the transaction initiation request. This data should
already be known by the mobile application, and the consumer should not be unnecessarily
prompted for the data.
One or more of the following characters may appear in the Additional Consumer Data
Request (ID "09"), to indicate that the corresponding data should be provided in the
transaction initiation to complete the transaction:
- "A" = Address of the consumer
- "M" = Mobile number of the consumer
- "E" = Email address of the consumer
If more than one character is included, it means that each data object corresponding to the
character is required to complete the transaction. Note that each unique character should
appear only once.
Table 7 lists the name of the data object, the ID of the data object, the value field format of
the data object, the value field length of the data object, and whether the presence of the
data object within the Merchant Information—Language Template (ID "64") of the QR
Code is Mandatory (M), Conditional (C), or Optional (O).
These data objects may be used by a mobile application to present the merchant information
in an alternate language.
Table 7 - Data Objects for Merchant Information—Language Template (ID "64")
The data objects with IDs "01" and "02" are used as an addition to the merchant information
under the root. While the equivalent data objects under the root are defined with a format
of Alphanumeric Special, and as such can only contain the Common Character Set, these
data objects, if present, are defined with a format of String, so therefore may contain a
different character set.
5.2.3.2.4 Example:
Example 1: QRPUSH service
38580010A00000072701300006970403011621129950446040250206QRPUSH
MCC Meaning
5992 Florists
8062 Hospitals
JP Japan
KR Korea
MY Malaysia
RC China
RI Indonesia
RP Philippines
SG Singapore
TH Thailand
VN Viet Nam
Description: If present, the Postal Code should indicate the postal code of the merchant’s
physical location. Depending on the country, the Postal code is the Zip code or PIN code
or Postal code of the merchant.
- If present, Additional Data Field Template (ID 62) will include at least a data object
and total of length of all data objects in ID 62 not exceed 99 characters
- If present, the content of the data object value for IDs "01" to "08" shall be either
"***" or a value defined by the merchant. The presence of "***" indicates that the
mobile application is responsible for obtaining the necessary information.
- the Additional Consumer Data Request (ID "09") shall contain any combination of
the characters: "A", "M" and/or "E", and there shall only be a single instance of each
of these characters.
- If a Payment System Specific Template (ID50-99) appears then it shall contain a
primitive Globally Unique Identifier data object with a data object ID "00" as follows:
Specific range data (ID “01” – “99”): a combination of data object with ID and specific
data type with GUID.
6 QR code example
Country Code 58 02 VN
QR generation steps:
comm/info/crc- HUONG
calculation.html CAC6005HANOI62110307
NPS68696304
Generate QR code 00020101021138480010A0
https://www.the- 00000727013000069704030
qrcode-generator.com/ 11621129950446040255204
581253037045802VN5910P
HUONG
CAC6005HANOI62110307
NPS686963045802
Country Code 58 02 VN
QR generation steps:
Steps Input Expected result
00020101021138580010A0 3820
Generate CRC
00000727013000069704030
http://www.lammertbie
11621129950446040250206
s.nl/
QRPUSH520458125303704
comm/info/crc-
5802VN5910PHUONG
calculation.html
CAC6005HANOI62110307
NPS68696304
Generate QR code 00020101021138580010A0
https://www.the-qrcode-
00000727013000069704030
generator.com/ 11621129950446040250206
QRPUSH520458125303704
5802VN5910PHUONG
CAC6005HANOI62110307
NPS686963043820
QR generation steps:
http://www.lammertbie 000727013000069704030116
s.nl/ 2112995044604025520458125
comm/info/crc- 30370454061800005802VN591
calculation.html 0PHUONG CAC6005HANOI
62110307NPS68696304
0206QRPUSH
Merchant Category Code 52 04 5812
Transaction Currency 53 03 704
Transaction Amount 54 06 180000
Country Code 58 02 VN
Merchant Name 59 10 PHUONG CAC
Merchant City 60 05 HANOI
Additional Data Field 62 11 0307NPS6869
Template
CRC (Cyclic Redundancy 63 04 7C1B
Check)
QR generation steps:
http://www.lammertbie 000727013000069704030116
s.nl/ 21129950446040250206QRP
comm/info/crc- USH520458125303704540618
calculation.html 00005802VN5910PHUONG
CAC6005HANOI62110307N
PS68696304
6.2 QR Cash
00020101021238500010A000000727012200069704030108123456780206QRCASH52046011
53037045802VN5915NGUYEN HUU
HUAN6005HANOI6237052120190109155714228384707080000111163041009
http://www.lammertbie 000727012200069704030108
s.nl/ 123456780206QRCASH5204
comm/info/crc- 601153037045802VN5915N
calculation.html GUYEN HUU
HUAN6005HANOI62370521
201901091557142283847070
8000011116304
6.3 QR IBFT
http://www.lammertbie 000727012700069704030112
s.nl/ 00110123456780208QRIBFT
comm/info/crc- TA53037045802VN6304
calculation.html
http://www.lammertbie 000727013000069704030116
s.nl/ 97040311012345670208QRI
comm/info/crc- BFTTC53037045802VN6304
calculation.html
http://www.lammertbie 000727012700069704030113
s.nl/ 00110123456780208QRIBFT
TA530370454061800005802
comm/info/crc- VN62340107NPS68690819th
calculation.html anh toan don hang6304
Generate QR code 00020101021238570010A000
https://www.the- 000727012700069704030113
qrcode-generator.com/ 00110123456780208QRIBFT
TA530370454061800005802
VN62340107NPS68690819th
anh toan don hang63042E2E
http://www.lammertbie TTC530370454061800005802
s.nl/ VN62340107NPS68690819tha
comm/info/crc- nh toan don hang6304
calculation.html
Generate QR code 00020101021238600010A000
https://www.the- 0007270130000697040301169
qrcode-generator.com/ 7040311012345670208QRIBF
TTC530370454061800005802
VN62340107NPS68690819tha
nh toan don hang6304A203
7 Effective document
The Technical Specification takes effect from 2021.