JR/T 0096.4-2012 in English
VALIDChina Financial Mobile Payment-Interoperability-Part 4:Specification for File Data Format
- Issued on:2012-12-12
- Implemented on:2012-12-12
- File Format:PDF
- Delivery:Via email within 1~3 business days
$262.00
| Standard No: | JR/T 0096.4-2012 |
| Document status: | VALID |
| Title in English: | China Financial Mobile Payment-Interoperability-Part 4:Specification for File Data Format |
| Title in Chinese: | 中国金融移动支付 联网联合 第4部分:文件数据格式规范 |
| Language: | English |
| File Format: | Electronic (PDF) |
| Delivery: | Via email within 1~3 business days |
| Issued on: | 2012-12-12 |
| Implemented on: | 2012-12-12 |
| Professional Classification: | JR-Finance |
| Related Keywords: | file system architecture file
china financial mobile payment-interoperability-part china financial mobile payment file data format introduction standard overview file exchange format |
| Related Topics: | mobile payment
jr/t+0074-2012 jr/t 0071-2012 United Nations Environmental Documents Chinese Internal Documents IoT China China Mobile China Gold file data jr/t0074-2012 China Materials Federation UN major system National Digital Lianren JR/t China Financial Mobile Payment jr/t 0099-2012 |
Introduction
Standard Overview and Technical Background
This specification, as the fourth part of the "China Financial Mobile Payment "Networking Union"" series of standards, was formulated by the Science and Technology Department of the People's Bank of China and officially implemented in December 2012. In response to the cross-institutional data exchange needs that have emerged during the rapid development of mobile payment business, the standard uniformly stipulates the file exchange format between the transfer and clearing system and the networked institutions.
Core content analysis
1. File system architecture
| File type | Structural characteristics | Typical applications |
|---|---|---|
| Journal file | Fixed-length record + carriage return and line feed separated | Ordinary financial transaction details |
| Sequential file | Header record + transaction record + tail record (MAC check) | Offline consumption details |
| Summary file | Custom statistical structure | Clearing difference statistics |
2. Key technical specifications
File naming rules
The structure of 34-byte basic name + 6-byte suffix name is adopted, among which:
- Direction mark: "I" indicates transfer from clearing system to network institution, "O" indicates reverse transmission
- Business classification: "F" commercial bank transaction, "N" payment institution transaction
- Date code: YYMMDD format (example: IFD22010122ACOM)
Data element encoding specifications
| Symbol | Meaning | Example |
|---|---|---|
| a | Alphabetic character | AZ/az |
| n | Numeric character | 0-9 |
| ans | Special alphanumeric characters | AB12@# |
Details of Typical File Formats
1. Ordinary Financial Transaction Details File
A record contains at least 32 key fields, including:
- Amount field: 12 digits (including 2 decimal places)
- Date and time: MMDDhhmmss format
- Institution identification code: 11 digits (left-aligned and right-padded with spaces)
2. Offline consumption file security mechanism
Three-stage MAC verification is used:
- Files are grouped into 256 bytes and XORed
- The first 128 bytes generate the first 8-byte MAC
- The last 128 bytes generate the last 8-byte MAC
Standard evolution and implementation suggestions
Technical evolution route
Technical foresight has been taken into consideration when the standard was formulated:
- Reserve the PBOC debit and credit standard interface
- Support the exchange rate field for dual currency clearing (8 decimal places of precision)
- Compatible with various payment media such as IC cards, magnetic stripe cards, and QR codes
Implementation precautions
| Scenario | Processing requirements |
|---|---|
| Test environment | The file header must be clearly marked with "TEST" |
| Amount field | The default value must be filled with "0"+11 spaces |
| MAC verification failed | The entire file is rejected and the F4 response code is returned |

Loading PDF document...
Error loading PDF. Please make sure the file is valid and try again.
We also recommend
-

JR/T 0156-2017 in English
Mobile Terminal Payment Trusted Environment Specification (Draft for Approval)
2017-12-12 -

JR/T 0087-2012 in English
Data Exchange Protocol for Stock Index Futures between Funds and Futures
2012-12-26 -

JR/T 0184-2020 in English
Financial distributed ledger technology security
2020-02-05 -

JR/T 0073-2012 in English
Security Guidance for Financial Industry Information Security Level Protective Assessment Sevice
2012-07-06 -

JR/T 0071.6-2020 in English
Implementation guidelines for classified protection of cybersecurity of financialindustryPart 6: Guidelines for audit work
2020-11-11 -

JR/T 0076.7-2013 in English
Statistical Indicator of Payment Transactions - Part 1: Encoding Method for Statistical Indicator and Code Structure
2013-05-08 -

JR/T 0015-2004 in English
Current data element for bank information
2004-12-01 -

JR/T 0226-2021 in English
Data exchange standard for information sharing platform in insurance industry
2021-10-09 -

JR/T 0025.9-2010 in English
China Financial Integrated Circuit Card Specifications-Part 9:Electronic Purse Extended Application Guide
2010-04-30 -

JR/T 0035-2007 in English
Criterion of Code and Coding for Insurance Institutions
2007-12-27