30
JUNE 2012 Format for XML File Upload EI, EII, H & F Form National Informatics Centre Bangalore Commercial Taxes Department Government of Karnataka National Informatics Centre Karnataka State Unit Bangalore Commercial Taxes Department Vanijya Terige Karyalaya Gandhi Nagar, Bangalore

XML Upload Efh

Embed Size (px)

Citation preview

Page 1: XML Upload Efh

JUNE

2012

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

National Informatics Centre Bangalore

Commercial Taxes Department Government of Karnataka

National Informatics Centre Karnataka State Unit

Bangalore

Commercial Taxes Department Vanijya Terige Karyalaya Gandhi Nagar, Bangalore

Page 2: XML Upload Efh

Code list for XML Upload Page 1

Table of Contents

1 E I Form .........................................................................................................................................................2

1.1 XML File Format ....................................................................................................................................2

1.2 XSD File .................................................................................................................................................3

1.3 Sample XML File ...................................................................................................................................7

2 E II Form ........................................................................................................................................................9

2.1 XML File Format ....................................................................................................................................9

2.2 XSD File .............................................................................................................................................. 10

2.3 Sample XML File ................................................................................................................................ 14

3 F Form ........................................................................................................................................................ 16

3.1 XML File format ................................................................................................................................. 16

3.2 XSD File .............................................................................................................................................. 17

3.3 Sample XML File ................................................................................................................................ 20

4 H Form ....................................................................................................................................................... 22

4.1 XML File format ................................................................................................................................. 22

4.2 XSD File .............................................................................................................................................. 23

4.3 Sample XML File ................................................................................................................................ 27

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

Page 3: XML Upload Efh

Code list for XML Upload Page 2

1 E I Form

1.1 XML File Format

The XML file for E I Form should contain the following details:

Sl No

Parameters Tag in XML Description Data Type and Validations

1 TIN <Tin> TIN number of the dealer 11 digits

2 Seller Name <Sel_Name> Name of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

3 Seller Address < Sel_Addr> Address of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

4 Seller State < Sel_State> State of the seller 2 characters – Refer the state code list in Annexure I

5 Seller TIN < Sel_Tin> TIN number of the seller

11 digits – First 2 digits should have the corresponding state code – Refer the state code list in Annexure I

6 Statutory Form Type <SFType> Statutory Form Type 2 Characters – Refer the code list in Annexure I

8 Invoice Number < InvNo> Invoice Number 13 alpha numeric value from a-z, A-Z and 0-9

9 Invoice Date < InvDt> Invoice Date Date in dd/mm/yyyy format

10 Commodity Description

<CommNm> Commodity Name 40 alpha numeric value from a-z, A-Z and 0-9

11 Commodity Code <CommCd> Code of the selected commodity

5 alpha numeric value from a-z, A-Z and 0-9

12 Quantity <Qty> Quantity 40 alpha numeric value from a-z, A-Z and 0-9

13 Invoice Value <InvVal> Amount (Rs) 15 digits out of which the last 2 digits can be decimal value

14 Purchase Order Number

<PurOrdNo> Purchase Order Number 13 alpha numeric value from a-z, A-Z and 0-9

15 Purchase order date <PurOrdDt> Purchase Order Date Date in dd/mm/yyyy format

16 Purpose Code <PurpCd> Purpose Code Single digit numbers from 1 to 6 – Refer Code List in Annexure I

17 Transporter’s name <TrnName> Transporter’s Company name

40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

18 Transportation Receipt number

<TrnRec> Transportation Receipt number

40 alpha numeric value from a-z, A-Z and 0-9

19 Transportation Receipt date

<TrnRecDt> Transportation Receipt date

Date in dd/mm/yyyy format

20 Transportation origin place

<TrnOrg> Originating place of transportation

40 alpha numeric value from a-z, A-Z and 0-9

21 Transportation < TrnOrgSt> Originating State 2 characters – Refer the state

Page 4: XML Upload Efh

Code list for XML Upload Page 3

Sl No

Parameters Tag in XML Description Data Type and Validations

origin State code list in Annexure I

22 Transportation destination place

<TrnDest> Destination place 40 alpha numeric value from a-z, A-Z and 0-9

23 Transportation destination State

<TrnDestSt> Destination State 2 characters – Refer the state code list in Annexure I

24 Series number/Serial number

<Srno>/<Slno> Series number & Serial number of the C Form

40 alpha numeric value from a-z, A-Z and 0-9

26 Issue date <IssDt> C Form Issue date Date in dd/mm/yyyy format

27 Issue State <IssState> C Form Issue State 2 characters – Refer the state code list in Annexure I

28 Value Declared <ValDecl> 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" />

Page 5: XML Upload Efh

Code list for XML Upload Page 4

<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" />

Page 6: XML Upload Efh

Code list for XML Upload Page 5

<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>

Page 7: XML Upload Efh

Code list for XML Upload Page 6

<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">

Page 8: XML Upload Efh

Code list for XML Upload Page 7

<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>

Page 9: XML Upload Efh

Code list for XML Upload Page 8

<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>

Page 10: XML Upload Efh

Code list for XML Upload Page 9

2 E II Form

2.1 XML File Format

The XML file for E II Form should contain the following details:

Sl No

Parameters Tag in XML Description Data Type and Validations

1 TIN <Tin> TIN number of the dealer 11 digits

2 Seller Name <Sel_Name> Name of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

3 Seller Address < Sel_Addr> Address of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

4 Seller State < Sel_State> State of the seller 2 characters – Refer the state code list in Annexure I

5 Seller TIN < Sel_Tin> TIN number of the seller

11 digits – First 2 digits should have the corresponding state code – Refer the state code list in Annexure

6 Statutory Form Type <SFType> Statutory Form Type 2 Characters – Refer the code list in Annexure I

7 E1 Certificate number

<E1CertNo> EI Certificate number 40 alpha numeric value from a-z, A-Z and 0-9

8 Invoice Number < InvNo> Invoice Number 13 alpha numeric value from a-z, A-Z and 0-9

9 Invoice Date < InvDt> Invoice Date Date in dd/mm/yyyy format

10 Commodity Description

<CommNm> Commodity Name 40 alpha numeric value from a-z, A-Z and 0-9

11 Commodity Code <CommCd> Code of the selected commodity

5 alpha numeric value from a-z, A-Z and 0-9

12 Quantity <Qty> Quantity 40 alpha numeric value from a-z, A-Z and 0-9

13 Invoice Value <InvVal> Amount (Rs) 15 digits out of which the last 2 digits can be decimal value

14 Purchase Order Number

<PurOrdNo> Purchase Order Number 13 alpha numeric value from a-z, A-Z and 0-9

15 Purchase order date <PurOrdDt> Purchase Order Date Date in dd/mm/yyyy format

16 Purpose Code <PurpCd> Purpose Code Single digit numbers from 1 to 6 – Refer Code List in Annexure I

17 Transporter’s Company name

<TrnName> Transporter’s Company name

40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

18 Transportation Receipt number

<TrnRec> Transportation Receipt number

40 alpha numeric value from a-z, A-Z and 0-9

19 Transportation <TrnRecDt> Transportation Receipt Date in dd/mm/yyyy format

Page 11: XML Upload Efh

Code list for XML Upload Page 10

Sl No

Parameters Tag in XML Description Data Type and Validations

Receipt date date

20 Transportation origin place

<TrnOrg> Originating place of transportation

40 alpha numeric value from a-z, A-Z and 0-9

21 Transportation origin State

< TrnOrgSt> Originating State 2 characters – Refer the state code list in Annexure I

22 Transportation destination place

<TrnDest> Destination place 40 alpha numeric value from a-z, A-Z and 0-9

23 Transportation destination State

<TrnDestSt> Destination State 2 characters – Refer the state code list in Annexure I

24 Series number/Serial number

<Srno>/<Slno> Series number & Serial number of the C Form

40 alpha numeric value from a-z, A-Z and 0-9

26 Issue date <IssDt> C Form Issue date Date in dd/mm/yyyy format

27 Issue State <IssState> C Form Issue State 2 characters – Refer the state code list in Annexure I

28 Value Declared <ValDecl> Amount declared in C Form

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">

Page 12: XML Upload Efh

Code list for XML Upload Page 11

<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" />

Page 13: XML Upload Efh

Code list for XML Upload Page 12

<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">

Page 14: XML Upload Efh

Code list for XML Upload Page 13

<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]*" />

Page 15: XML Upload Efh

Code list for XML Upload Page 14

<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>

Page 16: XML Upload Efh

Code list for XML Upload Page 15

<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>

Page 17: XML Upload Efh

Code list for XML Upload Page 16

3 F Form

3.1 XML File format

The XML file for F Form should contain the following details:

Sl No

Parameters Tag in XML Description Data Type and Validations

1 TIN <Tin> TIN number of the dealer 11 digits

2 Seller Name <Sel_Name> Name of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

3 Seller Address < Sel_Addr> Address of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

4 Seller State < Sel_State> State of the seller 2 characters – Refer the state code list in Annexure I

5 Seller TIN < Sel_Tin> TIN number of the seller

11 digits – First 2 digits should have the corresponding state code – Refer the state code list in Annexure I

6 Statutory Form Type <SFType> Statutory Form Type 2 Characters – Refer the code list in Annexure I

8 Invoice Number < InvNo> Invoice Number 13 alpha numeric value from a-z, A-Z and 0-9

9 Invoice Date < InvDt> Invoice Date Date in dd/mm/yyyy format

10 Commodity Description

<CommNm> Commodity Name 40 alpha numeric value from a-z, A-Z and 0-9

11 Commodity Code <CommCd> Code of the selected commodity

5 alpha numeric value from a-z, A-Z and 0-9

12 Quantity <Qty> Quantity 40 alpha numeric value from a-z, A-Z and 0-9

13 Invoice Value <InvVal> Amount (Rs) 15 digits out of which the last 2 digits can be decimal value

14 Transporter’s Company name

<TrnName> Transporter’s Company name

40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

15 Transportation Receipt number

<TrnRec> Transportation Receipt number

40 alpha numeric value from a-z, A-Z and 0-9

16 Transportation Receipt date

<TrnRecDt> Transportation Receipt date

Date in dd/mm/yyyy format

17 Delivery date <DelDt> Date on which the goods are delivered

Date in dd/mm/yyyy format

Page 18: XML Upload Efh

Code list for XML Upload Page 17

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">

Page 19: XML Upload Efh

Code list for XML Upload Page 18

<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">

Page 20: XML Upload Efh

Code list for XML Upload Page 19

<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]*" />

Page 21: XML Upload Efh

Code list for XML Upload Page 20

<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>

Page 22: XML Upload Efh

Code list for XML Upload Page 21

<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>

Page 23: XML Upload Efh

Code list for XML Upload Page 22

4 H Form

4.1 XML File format

The XML file for H Form should contain the following details:

Sl No

Parameters Tag in XML Description Data Type and Validations

1 TIN <Tin> TIN number of the dealer

11 digits

2 Seller Name <Sel_Name> Name of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

3 Seller Address < Sel_Addr> Address of the seller 40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

4 Seller State < Sel_State> State of the seller 2 characters – Refer the state code list in Annexure I

5 Seller TIN < Sel_Tin> TIN number of the seller

11 digits – First 2 digits should have the corresponding state code – Refer the state code list in Annexure I

6 Statutory Form Type

<SFType> Statutory Form Type 2 Characters – Refer the code list in Annexure I

7 Invoice Number < InvNo> Invoice Number 13 alpha numeric value from a-z, A-Z and 0-9

8 Invoice Date < InvDt> Invoice Date Date in dd/mm/yyyy format

9 Commodity Description

<CommNm> Commodity Name 40 alpha numeric value from a-z, A-Z and 0-9

10 Commodity Code <CommCd> Code of the selected commodity

5 alpha numeric value from a-z, A-Z and 0-9

11 Quantity <Qty> Quantity 40 alpha numeric value from a-z, A-Z and 0-9

12 Invoice Value <InvVal> Amount (Rs) 15 digits out of which the last 2 digits can be decimal value

13 Purchase Order Number

<PurOrdNo> Purchase Order Number 13 alpha numeric value from a-z, A-Z and 0-9

14 Purchase order date

<PurOrdDt> Purchase Order Date Date in dd/mm/yyyy format

15 Purpose Code <PurpCd> Purpose code Single digit numbers from 1 to 6 – Refer Code List in Annexure I

16 Transporter’s Company name

<TrnName> Transporter’s Company name

40 alpha numeric characters from a-z, A-Z, 0-9, space, - and full stop

17 Transportation Receipt number

<TrnRec> Transportation Receipt number

40 alpha numeric value from a-z, A-Z and 0-9

18 Transportation Receipt date

<TrnRecDt> Transportation Receipt date

Date in dd/mm/yyyy format

19 Delivery date <DelDt> Date on which the goods are delivered

Date in dd/mm/yyyy format

Page 24: XML Upload Efh

Code list for XML Upload Page 23

Sl No

Parameters Tag in XML Description Data Type and Validations

20 Commodity Exported

<CommExported> Name of the commodity exported

-

21 Commodity Quantity

<CommQty> Quantity of the commodity exported

-

22 Commodity Value <CommVal> Value of the commodity exported

-

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>

Page 25: XML Upload Efh

Code list for XML Upload Page 24

</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" />

Page 26: XML Upload Efh

Code list for XML Upload Page 25

<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">

Page 27: XML Upload Efh

Code list for XML Upload Page 26

<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>

Page 28: XML Upload Efh

Code list for XML Upload Page 27

</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>

Page 29: XML Upload Efh

Code list for XML Upload Page 28

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 State Name State Code State Number Use in

1 ANDHRA PRADESH AP 28

Online CST forms with tag

name as <Sel_State>

2 ANDAMAN AND NICOBAR AN 35

3 ARUNACHAL PRADESH AR 12

4 ASSAM AS 18

5 BIHAR BH 10

6 CHANDIGARH CH 04

7 CHHATTISGARH CT 22

8 DELHI DL 07

9 GOA GA 30

10 GUJARAT GJ 24

11 HARYANA HR 06

12 HIMACHAL PRADESH HP 02

13 JAMMU AND KASMIR JK 01

14 JHARKHAND JH 20

15 KARNATAKA KA 29

16 KERALA KL 32

17 LAKSHADWEEP LD 31

18 MADHYA PRADESH MP 23

19 MAHARASTRA MH 27

20 MANIPUR MN 14

21 MEGHALAYA ME 17

22 MIZORAM MI 15

23 NAGALAND NL 13

24 ORISSA OR 21

25 PONDICHERRY PY 34

26 PUNJAB PB 03

27 RAJASTHAN RJ 08

28 SIKKIM SK 11

29 TAMIL NADU TN 33

30 TRIPURA TR 16

31 UTTAR PRADESH UP 09

32 UTTARANCHAL UR 05

33 WEST BENGAL WB 19

34 OTHER COUNTRIES OT 00

35 DADAR AND NAGAR HAVELI DN 26

36 DAMAN AND DIU DD 25

37 SILVASSA SL 36

Page 30: XML Upload Efh

Code list for XML Upload Page 29

2. Details of Code assigned for use in the XML format:

Purpose Code

1 Resale

Online CST Forms with the tag

name as <PurpCd>

2 Used in manufacture/processing of goods for sale

3 Used in mining

4 Used in generation/distribution of electricity or any other form of power

5 Use as containers or packing goods for sale

6 Use in the telecommunication network

7 For packing of any goods or for packing of any container or other materials

Commodity Type

Check out the commodity enabled option in the ‘Reports and Help Menu’ page

Online CST Forms with tag name as

<CommCd>

Statutory Form Type

E1 E I Form Online CST forms with tag name as

<SFType >

E2 E II Form

F F Form

H H Form