Reconciliation file content
Reconciliation files consist of transaction file and settlement file. Settlement files from SFTP and Alipay global site also contain a summary file. Files obtained from SFTP and Alipay global site are slightly different in naming convention and contents.
Transaction file
Transaction files contain transaction record of the selected time period.
Depending on where you download the file, the file name might consist of different parts. See the following table for details.
Partner ID | Date | File Type | File Suffix | Sample | |
Website | A unique ID assigned by Alipay | YYYYMMDD, YYYYMM, or YYYYMMDD + a 6-digit random number | / | .csv, .txt, or .xls | 2088611221573217_20180621151516.xls |
SFTP | A unique ID assigned by Alipay | YYYYMMDD | A fixed value: "transaction" | .txt | 2088000000000000_transaction_20191216.txt |
The contents of transaction files that you download from Alipay global site and SFTP are different. See the following table for details:
A Website transaction file might contain the following fields:
No. | Field name | Description |
1 | Time | Payment time.
|
2 | Settlement_time | Settlement time.
|
3 | Transaction_ID | A unique transaction ID specified by Alipay.
|
3 | Partner_transaction_ID | A unique transaction ID specified by the partner. It is the same with
|
5 | Gross_amount | Transaction amount in foreign currency
|
6 | Rmb_Gross_amount | Transaction amount in CNY
|
7 | Distribute_amount | The distributed amount of a payment or refund in foreign currency
|
8 | Rmb_Distribute_amount | The distributed amount of a payment or refund in CNY currency
|
9 | Settlement | Settlement amount in foreign currency
|
10 | Rmb_settlement | Settlement amount in CNY
|
11 | Fee | Service fee in foreign currency Note: If the currency is JPY or KRW, the value is integer.
|
12 | Rmb_fee | Service fee in CNY
|
13 | M_Discount_amount | Merchant discount amount in foreign currency
|
14 | M_Discount_RMB_amount | Merchant discount amount in CNY
|
15 | Currency | Currency
|
16 | Rate | Foreign exchange rate
|
17 | Goods_title | Good title. It is the same with
|
18 | Product | Payment product
|
19 | Type | Transaction type. The value of this parameter can be:
|
20 | Status | Transaction or refund status. The value of this parameter can be:
|
21 | Liquidation | Transaction type. The value of this parameter can be:
|
22 | Remarks | Remarks
|
An SFTP transaction file might contain the following fields:
No. | Field name | Description |
1 | Partner_transaction_id | A unique transaction ID specified by the partner. It is the same with
|
2 | Transaction_id | A unique transaction ID specified by Alipay.
|
3 | Amount | Transaction amount in foreign currency
|
3 | Rmb_amount | Transaction amount in CNY
|
5 | Fee | Service fee in foreign currency Note: If the currency is JPY or KRW, the value is integer.
|
6 | Distribute_amount | The distributed amount of a payment or refund in foreign currency Note: This field only exists in the file if the amount split feature is signed. Contact technical support for details.
|
7 | Distribute_rmb_amount | The distributed amount of a payment or refund in CNY currency Note: This field only exists in the file if the amount split feature is signed. Contact technical support for details.
|
8 | Settlement | Settlement amount in foreign currency
|
9 | Rmb_settlement | Settlement amount in CNY
|
10 | Currency | Currency
|
11 | Rate | Foreign exchange rate
|
12 | Payment_time | Payment time.
|
13 | Settlement_time | Settlement time.
|
14 | Type | Transaction type. The value of this parameter can be:
|
15 | Status | Transaction status. The value of this parameter can be:
|
16 | Remarks | Remarks. It is the same with
|
Settlement file
Settlement files contain the settlement record of the selected time period.
Note:
The settlement files you download from Alipay global site and SFTP are compressed into a .txt file. The .txt file contains the settlement summary file and the settlement file. The naming convention of the .txt file is <PID>_settlement_<date>.<file_suffix>, for example, 2088000000000000_settlement_20191216.txt.
Settlement file
Settlement files contain the settlement details of the selected time period.
Depending on where you download the file from, the file name might consist of different parts. See the following table for details.
Partner ID | File Type | Date | System Assigned ID | File Suffix | Sample | |
Alipay global site | A unique ID assigned by Alipay | A fixed value: "settle" | YYYYMMDD, YYYYMM, or YYYYMMDD + a 6-digit random number | A unique ID assigned to each settlement file by Alipay | .csv, .txt, or .xls | 2088611221573217_20180621151516.xls |
SFTP | A unique ID assigned by Alipay | A fixed value: "settle" | YYYYMMDD | A unique ID assigned to each settlement file by Alipay | .txt | 2088000000000000_settlement_20191216.txt |
A settlement file might contain the following fields:
No. | Field name | Description |
1 | Partner_transaction_id | A unique transaction ID specified by the partner. It is the same with
|
2 | Transaction_id | A unique transaction ID specified by Alipay.
|
3 | Amount | Transaction amount in foreign currency
|
3 | Rmb_amount | Transaction amount in CNY
|
5 | Fee | Service fee in foreign currency Note: If the currency is JPY or KRW, the value is integer.
|
6 | Distribute_amount | The distributed amount of a payment or refund in foreign currency Note: This field exists in the file if the amount split feature is signed. Contact technical support for details.
|
7 | Distribute_rmb_amount | The distributed amount of a payment or refund in CNY currency Note: This field exists in the file if the amount split feature is signed. Contact technical support for details.
|
8 | Settlement | Settlement amount in foreign currency
|
9 | Rmb_settlement | Settlement amount in CNY
|
10 | Currency | Currency
|
11 | Rate | Foreign exchange rate
|
12 | Payment_time | Payment time. Note: If you view the transaction information on Alipay global open platform, this field name is Payment Time.
|
13 | Settlement_time | Settlement time Note: If you view the transaction information on Alipay global open platform, this field name is Settlement Time. |
14 | Type | Transaction type. The value of this parameter can be:
|
15 | Status | Transaction status. The value of this parameter can be:
|
16 | Remarks | Remarks
|
The contents of settlement files that you download from Alipay global site and SFTP are different. See the following table for details:
A Website settlement file might contain the following fields:
No. | Field name | Description |
1 | Time | Payment time.
|
2 | Settlement_time | Settlement time.
|
3 | Transaction_ID | A unique transaction ID specified by Alipay.
|
3 | Partner_transaction_ID | A unique transaction ID specified by the partner. It is the same with
|
5 | Gross_amount | Transaction amount in foreign currency
|
6 | Rmb_Gross_amount | Transaction amount in CNY
|
7 | Distribute_amount | The distributed amount of a payment or refund in foreign currency
|
8 | Rmb_Distribute_amount | The distributed amount of a payment or refund in CNY currency
|
9 | Settlement | Settlement amount in foreign currency
|
10 | Rmb_settlement | Settlement amount in CNY
|
11 | Fee | Service fee in foreign currency Note: If the currency is JPY or KRW, the value is integer.
|
12 | Rmb_fee | Service fee in CNY
|
13 | M_Discount_amount | Merchant discount amount in foreign currency
|
14 | M_Discount_RMB_amount | Merchant discount amount in CNY
|
15 | Currency | Currency
|
16 | Rate | Foreign exchange rate
|
17 | Goods_title | Good title. It is the same with
|
18 | Product | Payment product
|
19 | Type | Transaction type. The value of this parameter can be:
|
20 | Status | Transaction or refund status. The value of this parameter can be:
|
21 | Liquidation | Transaction type. The value of this parameter can be:
|
22 | Remarks | Remarks
|
An SFTP settlement file might contain the following fields:
No. | Field name | Description |
1 | Partner_transaction_id | A unique transaction ID specified by the partner. It is the same with
|
2 | Transaction_id | A unique transaction ID specified by Alipay.
|
3 | Amount | Transaction amount in foreign currency
|
3 | Rmb_amount | Transaction amount in CNY
|
5 | Fee | Service fee in foreign currency Note: If the currency is JPY or KRW, the value is integer.
|
6 | Distribute_amount | The distributed amount of a payment or refund in foreign currency Note: This field only exists in the file if the amount split feature is signed. Contact technical support for details.
|
7 | Distribute_rmb_amount | The distributed amount of a payment or refund in CNY currency Note: This field only exists in the file if the amount split feature is signed. Contact technical support for details.
|
8 | Settlement | Settlement amount in foreign currency
|
9 | Rmb_settlement | Settlement amount in CNY
|
10 | Currency | Currency
|
11 | Rate | Foreign exchange rate
|
12 | Payment_time | Payment time.
|
13 | Settlement_time | Settlement time.
|
14 | Type | Transaction type. The value of this parameter can be:
|
15 | Status | Transaction status. The value of this parameter can be:
|
16 | Remarks | Remarks. It is the same with
|