Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

Commercial Taxes Department Government of Karnataka

National Informatics Centre Bangalore

JUNE 2012

Format for XML File Upload EI, EII, H & F Form

Commercial Taxes Department Vanijya Terige Karyalaya Gandhi Nagar, Bangalore

National Informatics Centre Karnataka State Unit Bangalore

Table of Contents
1 E I Form .........................................................................................................................................................2 1.1 1.2 1.3 2 XML File Format....................................................................................................................................2 XSD File .................................................................................................................................................3 Sample XML File ...................................................................................................................................7

E II Form ........................................................................................................................................................9 2.1 2.2 2.3 XML File Format....................................................................................................................................9 XSD File .............................................................................................................................................. 10 Sample XML File ................................................................................................................................ 14

F Form ........................................................................................................................................................ 16 3.1 3.2 3.3 XML File format ................................................................................................................................. 16 XSD File .............................................................................................................................................. 17 Sample XML File ................................................................................................................................ 20

H Form ....................................................................................................................................................... 22 4.1 4.2 4.3 XML File format ................................................................................................................................. 22 XSD File .............................................................................................................................................. 23 Sample XML File ................................................................................................................................ 27

Annexure I ......................................................................................................................................................... 28

Code list for XML Upload

Page 1

1 E I Form
1.1 XML File Format
The XML file for E I Form should contain the following details:

Sl No
1 2 TIN

Parameters

Tag in XML
<Tin> <Sel_Name>

Description
TIN number of the dealer Name of the seller

Data Type and Validations


11 digits 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 2 characters Refer the state code list in Annexure I 11 digits First 2 digits should have the corresponding state code Refer the state code list in Annexure I 2 Characters Refer the code list in Annexure I 13 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format 40 alpha numeric value from az, A-Z and 0-9 5 alpha numeric value from az, A-Z and 0-9 40 alpha numeric value from az, A-Z and 0-9 15 digits out of which the last 2 digits can be decimal value 13 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format Single digit numbers from 1 to 6 Refer Code List in Annexure I 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 40 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format 40 alpha numeric value from az, A-Z and 0-9 2 characters Refer the state

Seller Name

3 4

Seller Address Seller State

< Sel_Addr> < Sel_State>

Address of the seller State of the seller

Seller TIN

< Sel_Tin>

TIN number of the seller

6 8 9 10 11 12 13 14 15 16

Statutory Form Type Invoice Number Invoice Date Commodity Description Commodity Code Quantity Invoice Value Purchase Order Number Purchase order date Purpose Code

<SFType> < InvNo> < InvDt> <CommNm> <CommCd> <Qty> <InvVal> <PurOrdNo> <PurOrdDt> <PurpCd>

Statutory Form Type Invoice Number Invoice Date Commodity Name Code of the selected commodity Quantity Amount (Rs) Purchase Order Number Purchase Order Date Purpose Code Transporters Company name Transportation Receipt number Transportation Receipt date Originating place of transportation Originating State

17 18 19 20 21

Transporters name Transportation Receipt number Transportation Receipt date Transportation origin place Transportation

<TrnName> <TrnRec> <TrnRecDt> <TrnOrg> < TrnOrgSt>

Code list for XML Upload

Page 2

Sl No
22 23 24 26 27 28

Parameters
origin State Transportation destination place Transportation destination State Series number/Serial number Issue date Issue State Value Declared

Tag in XML

Description

Data Type and Validations


code list in Annexure I 40 alpha numeric value from az, A-Z and 0-9 2 characters Refer the state code list in Annexure I 40 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format 2 characters Refer the state code list in Annexure I

<TrnDest> <TrnDestSt> <Srno>/<Slno> <IssDt> <IssState> <ValDecl>

Destination place Destination State Series number & Serial number of the C Form C Form Issue date C Form Issue State Amount declared in C Form

1.2 XSD File


<?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Comp_CSTForms_req" /> <xs:element name="Cst_Mst"> <xs:complexType> <xs:sequence> <xs:element name="Tin" type="TinNoType" /> <xs:element name="Sel_Name" type="addresstype" /> <xs:element name="Sel_Addr" type="addresstype" /> <xs:element name="Sel_State" type="statetype" /> <xs:element name="Sel_Tin" type="TinNo" /> <xs:element name="SFType" type="sftype" /> <xs:element name="InvDet" maxOccurs="unbounded" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="InvNo" type="InvoiceNoType" /> <xs:element name="InvDt" type="xs:date" /> <xs:element name="CommNm" type="CstCommodity" /> <xs:element name="CommCd" type="CommTyp" default="99.99" /> <xs:element name="Qty" type="Qtytyp" default="0" /> <xs:element name="InvVal" type="DecTyp" /> <xs:element name="PurOrdNo" type="PurchaseOrderNoType" /> <xs:element name="PurOrdDt" type="xs:date" /> <xs:element name="PurpCd" type="PurposecodeType" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TrnDet" maxOccurs="1" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="TrnName" type="TrnNameType" /> <xs:element name="TrnRec" type="TrnRecType" /> <xs:element name="TrnRecDt" type="xs:date" />

Code list for XML Upload

Page 3

<xs:element name="TrnOrg" type="TrnOrgType" /> <xs:element name="TrnOrgSt" type="statetype" /> <xs:element name="TrnDest" type="TrnOrgType" /> <xs:element name="TrnDestSt" type="statetype" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="CformDet" maxOccurs="unbounded" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="Srno" type="SrnoType" /> <xs:element name="Slno" type="SlnoType" /> <xs:element name="IssDt" type="xs:date" /> <xs:element name="IssState" type="statetype" /> <xs:element name="ValDecl" type="DecTyp" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:simpleType name="TinNoType"> <xs:restriction base="xs:integer"> <xs:minInclusive value="100000" /> <xs:maxInclusive value="99999999999" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TinNo"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="11" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="addresstype"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="statetype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:enumeration value="AP" /> <xs:enumeration value="AN" /> <xs:enumeration value="AR" /> <xs:enumeration value="AS" /> <xs:enumeration value="BH" /> <xs:enumeration value="CH" /> <xs:enumeration value="CT" /> <xs:enumeration value="DL" /> <xs:enumeration value="GA" /> <xs:enumeration value="GJ" />
Code list for XML Upload Page 4

<xs:enumeration value="HR" /> <xs:enumeration value="HP" /> <xs:enumeration value="JK" /> <xs:enumeration value="JH" /> <xs:enumeration value="KA" /> <xs:enumeration value="KL" /> <xs:enumeration value="LD" /> <xs:enumeration value="MP" /> <xs:enumeration value="MH" /> <xs:enumeration value="MN" /> <xs:enumeration value="ME" /> <xs:enumeration value="MI" /> <xs:enumeration value="NL" /> <xs:enumeration value="OR" /> <xs:enumeration value="PY" /> <xs:enumeration value="PB" /> <xs:enumeration value="RJ" /> <xs:enumeration value="SK" /> <xs:enumeration value="TN" /> <xs:enumeration value="TR" /> <xs:enumeration value="UP" /> <xs:enumeration value="UR" /> <xs:enumeration value="WB" /> <xs:enumeration value="OT" /> <xs:enumeration value="DN" /> <xs:enumeration value="DD" /> <xs:enumeration value="SL" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CstCommodity"> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="DecTyp"> <xs:restriction base="xs:decimal"> <xs:totalDigits value="15" /> <xs:fractionDigits value="2" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="InvoiceNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="sftype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:minLength value="1" /> <xs:enumeration value="E1" /> </xs:restriction> </xs:simpleType>
Code list for XML Upload Page 5

<xs:simpleType name="CommTyp"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{1,2}[\.][0-9]{1,2}" /> <xs:minLength value="0" /> <xs:maxLength value="5" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurposecodeType"> <xs:restriction base="xs:string"> <xs:enumeration value="1" /> <xs:enumeration value="2" /> <xs:enumeration value="3" /> <xs:enumeration value="4" /> <xs:enumeration value="5" /> <xs:enumeration value="6" /> <xs:enumeration value="7" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurchaseOrderNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="0" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnNameType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnRecType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnOrgType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SrnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SlnoType">
Code list for XML Upload Page 6

<xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="Qtytyp"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> </xs:schema>

1.3 Sample XML File


<?xml version="1.0"?> <Comp_CSTForms_req> <Cst_Mst> <Tin>29070104588</Tin> <Sel_Name>XML Upload Test</Sel_Name> <Sel_Addr>karnataka</Sel_Addr> <Sel_State>KA</Sel_State> <Sel_Tin>29000000000</Sel_Tin> <SFType>E1</SFType> <InvDet> <InvNo>4</InvNo> <InvDt>2012-01-01</InvDt> <CommNm>papr</CommNm> <CommCd>2.00</CommCd> <Qty>2</Qty> <InvVal>1</InvVal> <PurOrdNo>1</PurOrdNo> <PurOrdDt>2010-01-01</PurOrdDt> <PurpCd>1</PurpCd> </InvDet> <InvDet> <InvNo>5</InvNo> <InvDt>2012-02-04</InvDt> <CommNm>wood</CommNm> <CommCd>2.00</CommCd> <Qty>2</Qty> <InvVal>2</InvVal> <PurOrdNo>1</PurOrdNo> <PurOrdDt>2010-01-01</PurOrdDt> <PurpCd>1</PurpCd> </InvDet> <TrnDet> <TrnName>ABC Transport</TrnName> <TrnRec>123234234234</TrnRec> <TrnRecDt>2012-05-23</TrnRecDt>

Code list for XML Upload

Page 7

<TrnOrg>Bangalore</TrnOrg> <TrnOrgSt>KA</TrnOrgSt> <TrnDest>Madurai</TrnDest> <TrnDestSt>TN</TrnDestSt> </TrnDet> <CformDet> <Srno>234</Srno> <Slno>567</Slno> <IssDt>2012-05-23</IssDt> <IssState>KA</IssState> <ValDecl>125000</ValDecl> </CformDet> </Cst_Mst> </Comp_CSTForms_req>

Code list for XML Upload

Page 8

2 E II Form
2.1 XML File Format
The XML file for E II Form should contain the following details:

Sl No
1 2 TIN

Parameters

Tag in XML
<Tin> <Sel_Name>

Description
TIN number of the dealer Name of the seller

Data Type and Validations


11 digits 40 alpha numeric characters from a-z, A-Z, 0-9, space, and full stop 40 alpha numeric characters from a-z, A-Z, 0-9, space, and full stop 2 characters Refer the state code list in Annexure I 11 digits First 2 digits should have the corresponding state code Refer the state code list in Annexure 2 Characters Refer the code list in Annexure I 40 alpha numeric value from a-z, A-Z and 0-9 13 alpha numeric value from a-z, A-Z and 0-9 Date in dd/mm/yyyy format 40 alpha numeric value from a-z, A-Z and 0-9 5 alpha numeric value from a-z, A-Z and 0-9 40 alpha numeric value from a-z, A-Z and 0-9 15 digits out of which the last 2 digits can be decimal value 13 alpha numeric value from a-z, A-Z and 0-9 Date in dd/mm/yyyy format Single digit numbers from 1 to 6 Refer Code List in Annexure I 40 alpha numeric characters from a-z, A-Z, 0-9, space, and full stop 40 alpha numeric value from a-z, A-Z and 0-9 Date in dd/mm/yyyy format

Seller Name

3 4

Seller Address Seller State

< Sel_Addr> < Sel_State>

Address of the seller State of the seller

Seller TIN

< Sel_Tin>

TIN number of the seller

6 7 8 9 10 11 12 13 14 15 16

Statutory Form Type E1 Certificate number Invoice Number Invoice Date Commodity Description Commodity Code Quantity Invoice Value Purchase Order Number Purchase order date Purpose Code Transporters Company name Transportation Receipt number Transportation

<SFType> <E1CertNo> < InvNo> < InvDt> <CommNm> <CommCd> <Qty> <InvVal> <PurOrdNo> <PurOrdDt> <PurpCd>

Statutory Form Type EI Certificate number Invoice Number Invoice Date Commodity Name Code of the selected commodity Quantity Amount (Rs) Purchase Order Number Purchase Order Date Purpose Code Transporters Company name Transportation Receipt number Transportation Receipt

17 18 19

<TrnName> <TrnRec> <TrnRecDt>

Code list for XML Upload

Page 9

Sl No
20 21 22 23 24 26 27 28

Parameters
Receipt date Transportation origin place Transportation origin State Transportation destination place Transportation destination State Series number/Serial number Issue date Issue State Value Declared

Tag in XML

Description
date Originating place of transportation Originating State Destination place Destination State Series number & Serial number of the C Form C Form Issue date C Form Issue State Amount declared in C Form

Data Type and Validations


40 alpha numeric value from a-z, A-Z and 0-9 2 characters Refer the state code list in Annexure I 40 alpha numeric value from a-z, A-Z and 0-9 2 characters Refer the state code list in Annexure I 40 alpha numeric value from a-z, A-Z and 0-9 Date in dd/mm/yyyy format 2 characters Refer the state code list in Annexure I

<TrnOrg> < TrnOrgSt> <TrnDest> <TrnDestSt> <Srno>/<Slno> <IssDt> <IssState> <ValDecl>

2.2 XSD File


<?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Comp_CSTForms_req" /> <xs:element name="Cst_Mst"> <xs:complexType> <xs:sequence> <xs:element name="Tin" type="TinNoType" /> <xs:element name="Sel_Name" type="addresstype" /> <xs:element name="Sel_Addr" type="addresstype" /> <xs:element name="Sel_State" type="statetype" /> <xs:element name="Sel_Tin" type="TinNo" /> <xs:element name="SFType" type="sftype" /> <xs:element name="E1CertNo" type="E1CertNoType" /> <xs:element name="InvDet" maxOccurs="unbounded" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="InvNo" type="InvoiceNoType" /> <xs:element name="InvDt" type="xs:date" /> <xs:element name="CommNm" type="CstCommodity" /> <xs:element name="CommCd" type="CommTyp" default="99.99" /> <xs:element name="Qty" type="Qtytyp" default="0" /> <xs:element name="InvVal" type="DecTyp" /> <xs:element name="PurOrdNo" type="PurchaseOrderNoType" /> <xs:element name="PurOrdDt" /> <xs:element name="PurpCd" type="PurposecodeType" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TrnDet" maxOccurs="1" minOccurs="1">

Code list for XML Upload

Page 10

<xs:complexType> <xs:sequence> <xs:element name="TrnName" type="TrnNameType" /> <xs:element name="TrnRec" type="TrnRecType" /> <xs:element name="TrnRecDt" /> <xs:element name="TrnOrg" type="TrnOrgType" /> <xs:element name="TrnOrgSt" type="statetype" /> <xs:element name="TrnDest" type="TrnOrgType" /> <xs:element name="TrnDestSt" type="statetype" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="CformDet" maxOccurs="unbounded" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="Srno" type="SrnoType" /> <xs:element name="Slno" type="SlnoType" /> <xs:element name="IssDt" /> <xs:element name="IssState" type="statetype" /> <xs:element name="ValDecl" type="DecTyp" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:simpleType name="TinNoType"> <xs:restriction base="xs:integer"> <xs:minInclusive value="100000" /> <xs:maxInclusive value="99999999999" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TinNo"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="11" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="addresstype"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="statetype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:enumeration value="AP" /> <xs:enumeration value="AN" /> <xs:enumeration value="AR" /> <xs:enumeration value="AS" /> <xs:enumeration value="BH" />
Code list for XML Upload Page 11

<xs:enumeration value="CH" /> <xs:enumeration value="CT" /> <xs:enumeration value="DL" /> <xs:enumeration value="GA" /> <xs:enumeration value="GJ" /> <xs:enumeration value="HR" /> <xs:enumeration value="HP" /> <xs:enumeration value="JK" /> <xs:enumeration value="JH" /> <xs:enumeration value="KA" /> <xs:enumeration value="KL" /> <xs:enumeration value="LD" /> <xs:enumeration value="MP" /> <xs:enumeration value="MH" /> <xs:enumeration value="MN" /> <xs:enumeration value="ME" /> <xs:enumeration value="MI" /> <xs:enumeration value="NL" /> <xs:enumeration value="OR" /> <xs:enumeration value="PY" /> <xs:enumeration value="PB" /> <xs:enumeration value="RJ" /> <xs:enumeration value="SK" /> <xs:enumeration value="TN" /> <xs:enumeration value="TR" /> <xs:enumeration value="UP" /> <xs:enumeration value="UR" /> <xs:enumeration value="WB" /> <xs:enumeration value="OT" /> <xs:enumeration value="DN" /> <xs:enumeration value="DD" /> <xs:enumeration value="SL" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CstCommodity"> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="DecTyp"> <xs:restriction base="xs:decimal"> <xs:totalDigits value="15" /> <xs:fractionDigits value="2" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="InvoiceNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="sftype"> <xs:restriction base="xs:string">
Code list for XML Upload Page 12

<xs:maxLength value="2" /> <xs:minLength value="1" /> <xs:enumeration value="E2" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CommTyp"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{1,2}[\.][0-9]{1,2}" /> <xs:minLength value="0" /> <xs:maxLength value="5" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurposecodeType"> <xs:restriction base="xs:string"> <xs:enumeration value="1" /> <xs:enumeration value="2" /> <xs:enumeration value="3" /> <xs:enumeration value="4" /> <xs:enumeration value="5" /> <xs:enumeration value="6" /> <xs:enumeration value="7" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurchaseOrderNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="0" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnNameType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnRecType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnOrgType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SrnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" />
Code list for XML Upload Page 13

<xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SlnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="Qtytyp"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="E1CertNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> </xs:schema>

2.3 Sample XML File


<?xml version="1.0"?> <Comp_CSTForms_req> <Cst_Mst> <Tin>29070104588</Tin> <Sel_Name>E2-XML Upload Test</Sel_Name> <Sel_Addr>karnataka</Sel_Addr> <Sel_State>KA</Sel_State> <Sel_Tin>29004534545</Sel_Tin> <SFType>E2</SFType> <E1CertNo>123Cert</E1CertNo> <InvDet> <InvNo>4</InvNo> <InvDt>2012-01-01</InvDt> <CommNm>papr</CommNm> <CommCd>2.00</CommCd> <Qty>2</Qty> <InvVal>1</InvVal> <PurOrdNo>1</PurOrdNo> <PurOrdDt>2010-01-01</PurOrdDt> <PurpCd>1</PurpCd> </InvDet> <InvDet> <InvNo>5</InvNo>

Code list for XML Upload

Page 14

<InvDt>2012-02-04</InvDt> <CommNm>wood</CommNm> <CommCd>2.00</CommCd> <Qty>2</Qty> <InvVal>2</InvVal> <PurOrdNo>1</PurOrdNo> <PurOrdDt>2010-01-01</PurOrdDt> <PurpCd>1</PurpCd> </InvDet> <TrnDet> <TrnName>ABC Transport</TrnName> <TrnRec>123234234234</TrnRec> <TrnRecDt>2012-05-23</TrnRecDt> <TrnOrg>Bangalore</TrnOrg> <TrnOrgSt>KA</TrnOrgSt> <TrnDest>Madurai</TrnDest> <TrnDestSt>TN</TrnDestSt> </TrnDet> <CformDet> <Srno>234</Srno> <Slno>567</Slno> <IssDt>2012-05-23</IssDt> <IssState>KA</IssState> <ValDecl>125000</ValDecl> </CformDet> </Cst_Mst> </Comp_CSTForms_req>

Code list for XML Upload

Page 15

3 F Form
3.1 XML File format
The XML file for F Form should contain the following details:

Sl No
1 2 TIN

Parameters

Tag in XML
<Tin> <Sel_Name>

Description
TIN number of the dealer Name of the seller

Data Type and Validations


11 digits 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 2 characters Refer the state code list in Annexure I 11 digits First 2 digits should have the corresponding state code Refer the state code list in Annexure I 2 Characters Refer the code list in Annexure I 13 alpha numeric value from a-z, A-Z and 0-9 Date in dd/mm/yyyy format 40 alpha numeric value from a-z, A-Z and 0-9 5 alpha numeric value from az, A-Z and 0-9 40 alpha numeric value from a-z, A-Z and 0-9 15 digits out of which the last 2 digits can be decimal value 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 40 alpha numeric value from a-z, A-Z and 0-9 Date in dd/mm/yyyy format Date in dd/mm/yyyy format

Seller Name

3 4

Seller Address Seller State

< Sel_Addr> < Sel_State>

Address of the seller State of the seller

Seller TIN

< Sel_Tin>

TIN number of the seller

6 8 9 10 11 12 13 14 15 16 17

Statutory Form Type Invoice Number Invoice Date Commodity Description Commodity Code Quantity Invoice Value Transporters Company name Transportation Receipt number Transportation Receipt date Delivery date

<SFType> < InvNo> < InvDt> <CommNm> <CommCd> <Qty> <InvVal> <TrnName> <TrnRec> <TrnRecDt> <DelDt>

Statutory Form Type Invoice Number Invoice Date Commodity Name Code of the selected commodity Quantity Amount (Rs) Transporters Company name Transportation Receipt number Transportation Receipt date Date on which the goods are delivered

Code list for XML Upload

Page 16

3.2 XSD File


<?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Comp_CSTForms_req" /> <xs:element name="Cst_Mst"> <xs:complexType> <xs:sequence> <xs:element name="Tin" type="TinNoType" /> <xs:element name="Sel_Name" type="addresstype" /> <xs:element name="Sel_Addr" type="addresstype" /> <xs:element name="Sel_State" type="statetype" /> <xs:element name="Sel_Tin" type="TinNo" /> <xs:element name="SFType" type="sftype" /> <xs:element name="InvDet" maxOccurs="unbounded" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="InvNo" type="InvoiceNoType" /> <xs:element name="InvDt" type="xs:date" /> <xs:element name="CommNm" type="CstCommodity" /> <xs:element name="CommCd" type="CommTyp" default="99.99" /> <xs:element name="Qty" type="Qtytyp" default="0" /> <xs:element name="InvVal" type="DecTyp" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TrnDet" maxOccurs="1" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="TrnName" type="TrnNameType" /> <xs:element name="TrnRec" type="TrnRecType" /> <xs:element name="TrnRecDt" /> <xs:element name="DelDt" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:simpleType name="TinNoType"> <xs:restriction base="xs:integer"> <xs:minInclusive value="100000" /> <xs:maxInclusive value="99999999999" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TinNo"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="11" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="addresstype">

Code list for XML Upload

Page 17

<xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="statetype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:enumeration value="AP" /> <xs:enumeration value="AN" /> <xs:enumeration value="AR" /> <xs:enumeration value="AS" /> <xs:enumeration value="BH" /> <xs:enumeration value="CH" /> <xs:enumeration value="CT" /> <xs:enumeration value="DL" /> <xs:enumeration value="GA" /> <xs:enumeration value="GJ" /> <xs:enumeration value="HR" /> <xs:enumeration value="HP" /> <xs:enumeration value="JK" /> <xs:enumeration value="JH" /> <xs:enumeration value="KA" /> <xs:enumeration value="KL" /> <xs:enumeration value="LD" /> <xs:enumeration value="MP" /> <xs:enumeration value="MH" /> <xs:enumeration value="MN" /> <xs:enumeration value="ME" /> <xs:enumeration value="MI" /> <xs:enumeration value="NL" /> <xs:enumeration value="OR" /> <xs:enumeration value="PY" /> <xs:enumeration value="PB" /> <xs:enumeration value="RJ" /> <xs:enumeration value="SK" /> <xs:enumeration value="TN" /> <xs:enumeration value="TR" /> <xs:enumeration value="UP" /> <xs:enumeration value="UR" /> <xs:enumeration value="WB" /> <xs:enumeration value="OT" /> <xs:enumeration value="DN" /> <xs:enumeration value="DD" /> <xs:enumeration value="SL" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CstCommodity"> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="DecTyp">
Code list for XML Upload Page 18

<xs:restriction base="xs:decimal"> <xs:totalDigits value="15" /> <xs:fractionDigits value="2" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="InvoiceNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="sftype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:minLength value="1" /> <xs:enumeration value="F" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CommTyp"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{1,2}[\.][0-9]{1,2}" /> <xs:minLength value="0" /> <xs:maxLength value="5" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurposecodeType"> <xs:restriction base="xs:string"> <xs:enumeration value="1" /> <xs:enumeration value="2" /> <xs:enumeration value="3" /> <xs:enumeration value="4" /> <xs:enumeration value="5" /> <xs:enumeration value="6" /> <xs:enumeration value="7" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurchaseOrderNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="0" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnNameType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnRecType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" />
Code list for XML Upload Page 19

<xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnOrgType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SrnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SlnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="Qtytyp"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> </xs:schema>

3.3 Sample XML File


<?xml version="1.0"?> <Comp_CSTForms_req> <Cst_Mst> <Tin>29070104588</Tin> <Sel_Name>billur</Sel_Name> <Sel_Addr>karnataka</Sel_Addr> <Sel_State>KA</Sel_State> <Sel_Tin>29000000012</Sel_Tin> <SFType>F</SFType> <InvDet> <InvNo>4</InvNo> <InvDt>2012-01-01</InvDt> <CommNm>papr</CommNm> <CommCd>2.00</CommCd> <Qty>1</Qty>

Code list for XML Upload

Page 20

<InvVal>1</InvVal> </InvDet> <InvDet> <InvNo>5</InvNo> <InvDt>2012-02-04</InvDt> <CommNm>wood</CommNm> <CommCd>2.00</CommCd> <Qty>1</Qty> <InvVal>1</InvVal> </InvDet> <TrnDet> <TrnName>ABC Transport</TrnName> <TrnRec>123234234234</TrnRec> <TrnRecDt>2012-05-23</TrnRecDt> <DelDt>2012-05-23</DelDt> </TrnDet> </Cst_Mst> </Comp_CSTForms_req>

Code list for XML Upload

Page 21

4 H Form
4.1 XML File format
The XML file for H Form should contain the following details:

Sl No
1 2

Parameters
TIN Seller Name

Tag in XML
<Tin> <Sel_Name>

Description
TIN number of the dealer Name of the seller

Data Type and Validations


11 digits 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 2 characters Refer the state code list in Annexure I 11 digits First 2 digits should have the corresponding state code Refer the state code list in Annexure I 2 Characters Refer the code list in Annexure I 13 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format 40 alpha numeric value from az, A-Z and 0-9 5 alpha numeric value from a-z, A-Z and 0-9 40 alpha numeric value from az, A-Z and 0-9 15 digits out of which the last 2 digits can be decimal value 13 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format Single digit numbers from 1 to 6 Refer Code List in Annexure I 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop 40 alpha numeric value from az, A-Z and 0-9 Date in dd/mm/yyyy format Date in dd/mm/yyyy format

3 4

Seller Address Seller State

< Sel_Addr> < Sel_State>

Address of the seller State of the seller

Seller TIN Statutory Form Type Invoice Number Invoice Date Commodity Description Commodity Code Quantity Invoice Value Purchase Order Number Purchase order date Purpose Code Transporters Company name Transportation Receipt number Transportation Receipt date Delivery date

< Sel_Tin>

TIN number of the seller

6 7 8 9 10 11 12 13 14 15 16 17 18 19

<SFType> < InvNo> < InvDt> <CommNm> <CommCd> <Qty> <InvVal> <PurOrdNo> <PurOrdDt> <PurpCd> <TrnName> <TrnRec> <TrnRecDt> <DelDt>

Statutory Form Type Invoice Number Invoice Date Commodity Name Code of the selected commodity Quantity Amount (Rs) Purchase Order Number Purchase Order Date Purpose code Transporters Company name Transportation Receipt number Transportation Receipt date Date on which the goods are delivered

Code list for XML Upload

Page 22

Sl No
20 21 22

Parameters
Commodity Exported Commodity Quantity Commodity Value

Tag in XML
<CommExported> <CommQty> <CommVal>

Description
Name of the commodity exported Quantity of the commodity exported Value of the commodity exported -

Data Type and Validations

4.2 XSD File


<?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Comp_CSTForms_req" /> <xs:element name="Cst_Mst"> <xs:complexType> <xs:sequence> <xs:element name="Tin" type="TinNoType" /> <xs:element name="Sel_Name" type="addresstype" /> <xs:element name="Sel_Addr" type="addresstype" /> <xs:element name="Sel_State" type="statetype" /> <xs:element name="Sel_Tin" type="TinNo" /> <xs:element name="SFType" type="sftype" /> <xs:element name="InvDet" maxOccurs="1" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="InvNo" type="InvoiceNoType" /> <xs:element name="InvDt" type="xs:date" /> <xs:element name="CommNm" type="CstCommodity" /> <xs:element name="CommCd" type="CommTyp" default="99.99" /> <xs:element name="Qty" type="Qtytyp" default="0" /> <xs:element name="InvVal" type="DecTyp" /> <xs:element name="PurOrdNo" type="PurchaseOrderNoType" /> <xs:element name="PurOrdDt" /> <xs:element name="PurpCd" type="PurposecodeType" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TrnDet" maxOccurs="1" minOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="TrnPlace" type="TrnNameType" /> <xs:element name="TrnName" type="TrnNameType" /> <xs:element name="TrnRec" type="TrnRecType" /> <xs:element name="TrnRecDt" type="xs:date" /> <xs:element name="DelDt" type="xs:date" /> <xs:element name="CommExported" type="HCommDescTyp" /> <xs:element name="CommQty" type="Qtytyp" /> <xs:element name="CommVal" type="DecTyp" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence>

Code list for XML Upload

Page 23

</xs:complexType> </xs:element> <xs:simpleType name="TinNoType"> <xs:restriction base="xs:integer"> <xs:minInclusive value="100000" /> <xs:maxInclusive value="99999999999" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TinNo"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="11" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="addresstype"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="statetype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:enumeration value="AP" /> <xs:enumeration value="AN" /> <xs:enumeration value="AR" /> <xs:enumeration value="AS" /> <xs:enumeration value="BH" /> <xs:enumeration value="CH" /> <xs:enumeration value="CT" /> <xs:enumeration value="DL" /> <xs:enumeration value="GA" /> <xs:enumeration value="GJ" /> <xs:enumeration value="HR" /> <xs:enumeration value="HP" /> <xs:enumeration value="JK" /> <xs:enumeration value="JH" /> <xs:enumeration value="KA" /> <xs:enumeration value="KL" /> <xs:enumeration value="LD" /> <xs:enumeration value="MP" /> <xs:enumeration value="MH" /> <xs:enumeration value="MN" /> <xs:enumeration value="ME" /> <xs:enumeration value="MI" /> <xs:enumeration value="NL" /> <xs:enumeration value="OR" /> <xs:enumeration value="PY" /> <xs:enumeration value="PB" /> <xs:enumeration value="RJ" /> <xs:enumeration value="SK" /> <xs:enumeration value="TN" />
Code list for XML Upload Page 24

<xs:enumeration value="TR" /> <xs:enumeration value="UP" /> <xs:enumeration value="UR" /> <xs:enumeration value="WB" /> <xs:enumeration value="OT" /> <xs:enumeration value="DN" /> <xs:enumeration value="DD" /> <xs:enumeration value="SL" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CstCommodity"> <xs:restriction base="xs:string"> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="DecTyp"> <xs:restriction base="xs:decimal"> <xs:totalDigits value="15" /> <xs:fractionDigits value="2" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="InvoiceNoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="sftype"> <xs:restriction base="xs:string"> <xs:maxLength value="2" /> <xs:minLength value="1" /> <xs:enumeration value="H" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="CommTyp"> <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{1,2}[\.][0-9]{1,2}" /> <xs:minLength value="0" /> <xs:maxLength value="5" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurposecodeType"> <xs:restriction base="xs:string"> <xs:enumeration value="1" /> <xs:enumeration value="2" /> <xs:enumeration value="3" /> <xs:enumeration value="4" /> <xs:enumeration value="5" /> <xs:enumeration value="6" /> <xs:enumeration value="7" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="PurchaseOrderNoType">
Code list for XML Upload Page 25

<xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="0" /> <xs:maxLength value="13" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnNameType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnRecType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="TrnOrgType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="6" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SrnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="SlnoType"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="Qtytyp"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9]*" /> <xs:minLength value="1" /> <xs:maxLength value="40" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="HCommDescTyp"> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z0-9,\.\s\-]*" /> <xs:minLength value="0" /> <xs:maxLength value="40" /> </xs:restriction>
Code list for XML Upload Page 26

</xs:simpleType> </xs:schema>

4.3 Sample XML File


<?xml version="1.0"?> <Comp_CSTForms_req> <Cst_Mst> <Tin>29070104588</Tin> <Sel_Name>billur</Sel_Name> <Sel_Addr>karnataka</Sel_Addr> <Sel_State>KA</Sel_State> <Sel_Tin>29000000000</Sel_Tin> <SFType>H</SFType> <InvDet> <InvNo>4</InvNo> <InvDt>2012-01-01</InvDt> <CommNm>papr</CommNm> <CommCd>2.00</CommCd> <Qty>1</Qty> <InvVal>1</InvVal> <PurOrdNo>1</PurOrdNo> <PurOrdDt>2010-01-01</PurOrdDt> <PurpCd>1</PurpCd> </InvDet> <InvDet> <InvNo>5</InvNo> <InvDt>2012-02-04</InvDt> <CommNm>wood</CommNm> <CommCd>2.00</CommCd> <Qty>1</Qty> <InvVal>1</InvVal> <PurOrdNo>1</PurOrdNo> <PurOrdDt>2010-01-01</PurOrdDt> <PurpCd>1</PurpCd> </InvDet> <TrnDet> <TrnName>ABC Transport</TrnName> <TrnRec>123234234234</TrnRec> <TrnRecDt>2012-05-23</TrnRecDt> <DelDt>2012-05-23</DelDt> <CommExported>Sports Goods</CommExported> <CommQty>100boxes</CommQty> < CommVal>1500000</CommVal> </TrnDet> </Cst_Mst> </Comp_CSTForms_req>

Code list for XML Upload

Page 27

Annexure I
1. Details of the Code and the Number assigned to the States and Union Territories to be used while entering the online CST Statutory Forms (EI, EII, H and F) in XML Format:

Sl No
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

State Name
ANDHRA PRADESH ANDAMAN AND NICOBAR ARUNACHAL PRADESH ASSAM BIHAR CHANDIGARH CHHATTISGARH DELHI GOA GUJARAT HARYANA HIMACHAL PRADESH JAMMU AND KASMIR JHARKHAND KARNATAKA KERALA LAKSHADWEEP MADHYA PRADESH MAHARASTRA MANIPUR MEGHALAYA MIZORAM NAGALAND ORISSA PONDICHERRY PUNJAB RAJASTHAN SIKKIM TAMIL NADU TRIPURA UTTAR PRADESH UTTARANCHAL WEST BENGAL OTHER COUNTRIES DADAR AND NAGAR HAVELI DAMAN AND DIU SILVASSA

State Code
AP AN AR AS BH CH CT DL GA GJ HR HP JK JH KA KL LD MP MH MN ME MI NL OR PY PB RJ SK TN TR UP UR WB OT DN DD SL

State Number
28 35 12 18 10 04 22 07 30 24 06 02 01 20 29 32 31 23 27 14 17 15 13 21 34 03 08 11 33 16 09 05 19 00 26 25 36

Use in

Online CST forms with tag name as <Sel_State>

Code list for XML Upload

Page 28

2. Details of Code assigned for use in the XML format: 1 2 3 Resale Used in manufacture/processing of goods for sale Used in mining Used in generation/distribution of electricity or any other form of power Use as containers or packing goods for sale Use in the telecommunication network For packing of any goods or for packing of any container or other materials

Purpose Code

4 5 6 7

Online CST Forms with the tag name as <PurpCd>

Commodity Type

Check out the commodity enabled option in the Reports and Help Menu page E1 E I Form E II Form F Form H Form

Online CST Forms with tag name as <CommCd> Online CST forms with tag name as <SFType >

Statutory Form Type

E2 F H

Code list for XML Upload

Page 29

You might also like