Outbound File Format SJJK0101Outbound File SJJK0102Structure
Format
Compulsory Elements
Comments
Header
Header Indicator (SJJK0102); Header Name (Cancel VAT Invoices); Notes Information
2
The system doesn’t process the notes information on the header
Cancelled Invoice 1
Invoice Number(20)1
There are two outbound text file format, SJJK0101 and SJJK0102. The text file SJJK0101 is used to issue VAT invoice. The text file SJJK0102 is used to cancel VAT invoice. Both text files can contain multi invoices. Each invoice of text file SJJK0101 contains header and item information. The fields are separated by character ‘~~’.
Header
Header Indicator (SJJK0101); Header Name (Issue VAT Invoices); Notes Information
2
The system doesn’t process the notes information on the header
Invoice 1Header
Invoice number(20); Number of Line items(4);Customer
Name(100);
Customer
VAT
Registration Number(15); Customer Address and Telephone Number(80); Customer Bank Account(80); Notes(160); Verifier(8);Collector(8); Sales List Name(60); Invoice Date(Date Format); Seller Bank Account(80);Seller Address and Telephone Number(80)
7 Field name (field length)
For the invoice with sales list (for example item more than 8), the sales list name field needs to be filled with ‘Refer to Sales List’ (in Chinese ONLY).
For the invoice with negative amount, the note filed needs to be filled with (Positive Invoice Code XXXXXXXXXX, Positive Invoice Number YYYYYYYY) in Chinese ONLY .
Invoice 1Item 1
Material Description(60); Unit of Measure (16);Material Specification(30); Quantity(16.6);Net Value without Tax(14.2); Tax Rate(4.2); Tax Catalog Code(4); Discount Amount(14.2); Tax Amount(14.2); Discount Tax Amount (14.2);Discount Rate (6.3); Unit of Price (16.6);Price Mode(1)
7 Same sign of discount and net value without tax; discount cannot exceed net value without tax
Discount rate is percentage based
Price mode 0 – unit of price without tax, 1- unit of price with tax
Invoice 1Item 2Repeat the same structure with invoice item 1
Invoice 2Header Repeat the same structure with invoice 1header
Invoice 2Item 1Repeat the same structure with invoice item 1
Invoice 2Item 2
Repeat the same structure with invoice item 1
Structure
Format
Compulsory Elements
Comments
Sample Outbound Text File SJJK0101
SJJK0101~~Issue VAT Invoices~~20100517
//Doc 1
201010301~~1~~Customer GTS_Cust GTS Testing Customer GTS_CUST~~321000789010006~~Shanghai Pudong Cheng Hui Road 1001 021-********~~Shanghai Pudong Developement Bank PU Dong Branch 622599021970000~~Billing Number 0090001087~~John ZHANG~~John ZHANG~~~~20100201~~~~Shanghai Pudong JingQiao Road 1001 021-********
Dummy Material~~each~~1*50 Box~~1.000 ~~227.70 ~~0.17 ~~5010~~~~38.71 ~~~~~~227.70 ~~0
//Doc 2
201010302~~1~~Customer GTS_Cust GTS Testing Customer GTS_CUST~~321000789010006~~Shanghai Pudong Cheng Hui Road 1001 021-********~~Shanghai Pudong Developement Bank PU Dong Branch 622599021970000~~Billing Number 0090001087~~John ZHANG~~John ZHANG~~~~20100201~~~~Shanghai Pudong JingQiao Road 1001 021-********
Material with discount~~each~~1*50 Box ~~1.000 ~~227.70 ~~0.17 ~~5010~~~~38.71 ~~~~~~227.70 ~~0
Sample Outbound Text File SJJK0102
SJJK0102~~Cancelled VAT Invoices~~20090812
//Doc 1
900522591
//Doc 2
900522592
Inbound File SJJK0201
Structure Format Comments
Header Header Indicator (SJJK0201); Header Name (‘Issued VAT Invoice’) in
Chinese
Invoice Scope N
Invoice 1 Header Cancelled Indicator(1); Sales List Indicator(1); Invoice Type(1); VAT
Invoice Code(10); VAT Invoice Number(8); Number of Line Item(4);
Issued Date(Date); Tax Period(2); Invoice Number(20); Total Net
Value without Tax(14.2); Customer Name(100); Customer VAT
Registration Number(15); Customer Address and Telephone(80);
Customer Bank Account(60); Seller Name(80); Seller VAT
Registration Number(15); Seller Address and Telephone(80); Seller
Bank Account(80); Notes(160); Issuer(8); Verifier(8); Collector(8)
Cancelled Indicator: 1 –
Cancelled, 0 – Normal status
Sales List Indicator: 1 –
Containing Sales List, 0 – Without
Sales List
Invoice Type: 0 – Special VAT
Invoice
2 – Normal VAT Invoice
Invoice 1 Item 1Discount Indicator(1); Material Description(60); Material
Specification (60); Unit of Measure (16); Quantity (16.6); Net
Value without Tax(14.2); Tax Rate (4.2); Tax Amount(14.2); Unit of
Price (16.6); Price Mode(1); Tax Catalog Code(4)
Discount Indicator: 0 – Without
Tax, 1 – Discount information
Price Mode 0 – Unit of Price
without Tax, 1 – Unit of Price with
Tax
Invoice 1 Item 2