100% tax compliance with smart e-Invoicing 100% tax compliance with smart e-Invoicing
Integration
across all ERPs
Integration across all ERPs
4 hrs resolution SLA
& 1hr response SLA
4 hrs resolution SLA & 1hr response SLA
MIS Dashboards with
backup & storage
MIS Dashboards with backup & storage
Request a Demo
Index

e-Invoice Format, JSON File, Schema & Template

Updated on: Dec 16th, 2024

|

5 min read

The CBIC has notified the latest e-invoice schema on 30th July 2020. The e-invoicing system was implemented from 1st October 2020. The government extended the e-invoicing applicability to businesses having a turnover exceeding Rs.10 crore from 1st October 2022 and shall . Taxpayers should consider the turnover of any financial year from 2017-18 while checking the e-invoicing applicability.

Eligible taxpayers have been provided with a comprehensive standard format for raising invoice that consists of both mandatory and optional fields. This will be done on their existing ERP or accounting of billing software for invoices and credit-debit notes. The specified taxpayers must ensure that the set parameters are supported by the accounting/billing software used for generation of the invoice. Thereafter, the details are uploaded onto the Invoice Registration Portal (IRP), such as Clear IRP and NIC’s e-invoice portal, to obtain an Invoice Reference Number (IRN) for every document. Such invoice generated will be called the e-invoice.

Latest Update

10th May 2023
CBIC notified the sixth phase of e-invoicing. Henceforth, taxpayers with INR 5 Crore+ turnover in any financial year from 2017-18 must issue e-invoices w.e.f 1st August 2023.

6th May 2023
The GST Network has deferred the implementation of rule to fix time limit of 7 days for reporting the old e-invoices on the IRP portals by three months. Further, the department is yet to announce the new implementation date.

13th April 2023
The GSTN released an advisory on 12th and 13th April 2023 stating that taxpayers with an annual turnover of Rs.100 crore and more must report tax invoices and credit-debit notes to the IRP within 7 days from the date of issue of the invoice/CDN from 1st May 2023.

30th January 2023
Few updates are made on the NIC's e-invoice portal-
(1) User can select POS state code of '96-Other Country' against items where HSN codes are 9965 and 9968 (Services by way of transportation of goods, including by mail or courier).
(2) The documents dated 1/10/2021 or after shall only be considered on the portal.
(3)  The portal has added a new error code 2295 for duplicate requests apart from 2150, with error as 'IRN is already
generated and registered with GSTN Lookup Portal by other IRP'.

Contents of e-invoice and limits

The e-invoice schema contains both mandatory and optional fields. The mandatory fields are those that must be compulsorily there for an invoice to be valid under the e-invoice standard. The optional fields are those that may be incorporated as per the business needs. The maximum number of line items per e-invoice is 1000. In special cases, based on a request, it is raised to 5000 line items.

All the mandatory fields are to be filled in to register an e-invoice on the IRP. A mandatory field without any value can be reported as NIL. An overview of the mandatory sections are as follows:

  • Basic details
  • Supplier’s information
  • Recipient’s information
  • Invoice item details
  • Document total

An overview of the mandatory annexures are as follows:

  • Invoice item details
  • Document total details

How is e-invoice authorised?

After validation of data by the IRP, the seller will receive JSON with a unique IRN, digitally-signed e-invoice and QR code. The QR code contains basic invoice details.

The serial number of invoice will be unique for a GSTIN for a financial year and the same has to be captured by the supplier’s ERP. The IRN will be generated by the IRP using the GSTIN of supplier or document creator, financial year and the unique serial number of the document/invoice.

The supplier has to keep the IRN against each invoice. It is useful to store the IRN in ERP as an invoice without IRN will not be a legal document.

The e-invoice schema is a go-to guide for users to understand what are the different specifications, examples and explanations broadly pre-defined for the invoice fields.

Overview of the notified e-invoice schema

The e-invoice schema contains the following columns:

S.No.Defined ColumnsMeaning
1Technical field nameIt refers to the technical name used for the field
2CardinalityIt indicates whether the item is mandatory or optional and also indicates about the recurrence of the item, i.e. whether the item can be repeated or not
3Small description of the fieldThis is the field name which will be displayed in the e-invoice
4Is it mandatory on invoiceWhether the field is optional or mandatory
5Technical field specificationThis specifies limitations of the string, i.e. the maximum length of the field, date format, and decimal places
6Sample values of the fieldExample for the user to get familiar
7Explanatory notes of the fieldA detailed explanation about the small description of the file, i.e. what it means and what are the details to be mentioned

Mandatory fields of the e-Invoice schema dated 30th July 2020

As per the latest notified e-invoice schema in July 2020, following are the 30 mandatory fields required in an e-invoice.

Sl. no.Name of the fieldList of Choices/ Specifications/Sample InputsRemarks
1Document Type CodeEnumerated List such as INV/CRN/DBNType of document must be specified
2Supplier_Legal NameString Max length: 100 Legal name of the supplier must be as per the PAN card
3Supplier_GSTINMax length: 15  Must be alphanumeric GSTIN of the supplier raising the e-invoice
4Supplier_AddressMax length: 100 Building/Flat no., Road/Street, Locality, etc. of the supplier raising the e-invoice
5Supplier_PlaceMax length: 50 Supplier’s location such as city/town/village must be mentioned
6Supplier_State_CodeEnumerated list of statesThe state must be selected from the latest list given by GSTN
7Supplier PincodeSix digit codeThe place (locality/district/state) of the supplier’s locality
8Document NumberMax length: 16 Sample can be “ Sa/1/2019”For unique identification of the invoice, a sequential number is required within the business context, time-frame, operating systems and records of the supplier. No identification scheme is to be used
9Preceeding_Invoice_Reference and dateMax length:16 Sample input is  “ Sa/1/2019” and “16/11/2020”Detail of original invoice which is being amended by a subsequent document such as a debit and credit note. It is required to keep future expansion of e-versions of credit notes, debit notes and other documents required under GST
10Document DateString (DD/MM/YYYY) as per the technical field specificationThe date when the invoice was issued. However, the format under explanatory notes refers to ‘YYYY-MM-DD’. Further clarity will be required. Document period start and end date must also be specified if selected.
11Recipient_ Legal NameMax length: 100The name of the buyer as per the PAN
12Recipient’s GSTINMax length: 15The GSTIN of the buyer to be declared here
13Recipient’s AddressMax length: 100Building/Flat no., Road/Street, Locality, etc. of the supplier raising the e-invoice
14Recipient’s State CodeEnumerated listThe place of supply state code to be selected here
15Place_Of_Supply_State_ CodeEnumerated list of statesThe state must be selected from the latest list given by GSTN
16PincodeSix digit codeThe place (locality/district/state) of the buyer on whom the invoice is raised/ billed to must be declared here if any
17Recipient PlaceMax length: 100Recipient’s location (City/Town/Village)
18IRN- Invoice Reference NumberMax length: 64 Sample is ‘a5c12dca8 0e7433217…ba4013 750f2046f229’At the time of registration request, this field is left empty by the supplier. Later on, a unique number will be generated by GSTN after uploading of the e-invoice on the GSTN portal. An acknowledgement will be sent back to the supplier after the successful acceptance of the e-invoice by the portal. IRN should then be displayed on e-invoice before use.
19ShippingTo_GSTINMax length: 15GSTIN of the buyer himself or the person to whom the particular item is being delivered to
20Shipping To_State, Pincode and State codeMax length: 100 for state, 6 digit pincode and enumerated list for codeState pertaining to the place to which the goods and services invoiced were or are delivered
21Dispatch From_ Name, Address, Place and PincodeMax length: 100 each and 6 digit for pincodeEntity’s details (name, and city/town/village) from where goods are dispatched
22Is_ServiceString (Length: 1) by selecting Y/NWhether or not supply of service must be mentioned
23Supply Type CodeEnumerated list of codes Sample values can be either of B2B/B2C/ SEZWP/S EZWOP/E XP WP/EXP WOP/DE XPCode will be used to identify type of supply such as business to business, business to consumer, supply to SEZ/Exports with or without payment, and deemed export.
24Item DescriptionMax length: 300 The sample value is ‘Mobile’ The schema document refers to this as the ‘identification scheme identifier of the Item classification identifier’Simply put, the relevant description generally used for the item in the trade. However, more clarity is needed on how it needs to be described for every two or more items belonging to the same HSN code 
25HSN CodeMax length: 8The applicable HSN code for particular goods/service must be entered
26Item_PriceDecimal (12,3) Sample value is ‘50’The unit price, exclusive of GST, before subtracting item price discount, can not be negative
27Assessable ValueDecimal (13,2) Sample value is ‘5000’The price of an item, exclusive of GST, after subtracting item price discount. Hence, Gross price (-) Discount = Net price item, if any cash discount is provided at the time of sale
28GST RateDecimal (3,2) Sample value is ‘5’The GST rate represented as a percentage that is applicable to the item being invoiced
29IGST Value, CGST Value and SGST Value SeparatelyDecimal (11,2) Sample value is ‘650.00’For each individual item, IGST, CGST and SGST amounts have to be specified
30Total Invoice ValueDecimal (11,2)The total amount of the Invoice with GST. Must be rounded to a maximum of 2 decimals

Mandatory fields of the e-Invoice schema dated 1st January 2020

As per the earlier notified e-invoice schema in January 2020, following were the 50 mandatory fields required in an e-invoice.

Sl.No.Name of the fieldList of Choices/Specifications/Sample InputsRemarks
1IRNMax length: 50 Sample: 649b01ftThis is a unique reference number for the invoice. It can be generated by the seller or can be left blank before submission to IRP. In case IRN is generated by the seller, the system will validate it and register against the invoice. If this field has been left blank, the e-invoice system will generate an IRN. The invoice is valid only if it has IRN and it is registered on the e-invoice system
2Invoice_Type_CodeMax length: 10 Can be one of the following: Reg/SEZP/SEZWP/EXP/EXPWP/DEXPDenotation for regular, SEZ supplies with payment, SEZ supplies without payment, deemed exports, sale from the bonded warehouse, export without payment of tax, and export with payment of tax
3Invoice NumberMax length: 16 Sample input is ‘Sa/1/2019’For unique identification of the invoice, a sequential number is required within the business context, time-frame, operating systems and records of the supplier. No identification scheme is to be used
4Invoice Date(DD/MM/YYYY)The date when the invoice was issued
5Invoice_Period_Start_Date(DD/MM/YYYY)Not explained
6Invoice_Period_End_Date(DD/MM/YYYY)Not explained
7Preceeding_Invoice_ReferenceMax length:16 Sample input is ‘Sa/1/2019’Detail of original invoice which is being amended by a subsequent document such as a debit and credit note. It is required to keep future expansion of e-versions of credit notes, debit notes and other documents required under GST
8Preceeding_Invoice_Date(DD/MM/YYYY)The date when the invoice was issued
9Supplier_Legal_NameMax length: 100Name as appearing in PAN of the supplier
10Supplier_GSTINMax length: 15 Must be alphanumericGSTIN of the supplier raising the e-invoice
11Supplier_Address1Max length: 100Address of the supplier
12Supplier_StateMax length: 50State of the supplier
13Supplier_PincodeMax length: 6Pincode of the supplier
14Billing_NameMax length: 100The trade name of the buyer should be mentioned here
15Billing_GSTINMax length: 15The GSTIN of the buyer to be declared here
16Billing_POSMax length: 2The place of supply state code to be declared here
17Billing_Address1Max length: 100The place (locality/district/state) of the buyer on whom the invoice is raised/billed to must be declared here, if any
18Billing_StateMax length: 50State of the buyer
19Billing_PincodeMax length: 6Pincode of the buyer
20Payee_NameMax length: 100Name of the person to whom payment is to be made
21Payer_Financial_AccountMax length: 18Account number of payee
22Mode of PaymentMax length: 6Cash/Credit/Direct Transfer
23Financial_Institution_BranchMax length: 11IFS code must be mentioned here
24Dispatch_From_Details Details about the place from which goods has been dispatched
25List (items) A group of business terms providing information about the goods and services invoiced
26Tax_TotalDecimal (10,2)When tax currency code is provided, two instances of the tax total must be present, but only one with tax subtotal
27Paid_amountDecimal (10,2)The sum of amounts which have been paid in advance. Must be rounded to maximum two decimals
28Amount_due_for_paymentDecimal (10,2)The outstanding amount that is requested to be paid. Must be rounded to maximum 2 decimals
29Tax_SchemeMax length: 4Mandatory element. Usually mentions ‘GST’
30Shipping_To_NameMax length: 60A group of business terms providing information about the address to which goods and services invoiced were or are delivered
31Shipping_To_GSTINMax length: 100A group of business terms providing information about the address to which goods and services invoiced were or are delivered
32ShippingTo_Address1Max length: 50A group of business terms providing information about the address to which goods and services invoiced were or are delivered
33ShippingTo_PincodeMax length: 50A group of business terms providing information about the address to which goods and services invoiced were or are delivered.
34ShippintTo_StateMax length: 100A group of business terms providing information about the address to which goods and services invoiced were or are delivered.
35Subsupply TypeMax length: 2A group of business terms providing information about the address to which goods and services invoiced were or are delivered.
36Transaction ModeMax length: 2A group of business terms providing information about the address to which goods and services invoiced were or are delivered
37Company_NameMax length: 60Detail of person and address wherefrom goods are dispatched
38Address1Max length: 100Detail of person and address wherefrom goods are dispatched
39StateMax length: 2Detail of person and address wherefrom goods are dispatched
40PincodeMax length: 6Detail of person and address wherefrom goods are dispatched
41SLNOIntegerSerial Number like 1, 2, 3…
42QuantityDecimal (13,3)The quantity of items (goods or services) that is charged in the invoice line
43RateDecimal (10,2)The number of item units to which the price applies
44Assessable ValueDecimal (13,2)The unit price, exclusive of GST, before subtracting item price discount, cannot be negative
45GST RateDecimal (3,2)The GST rate, represented as percentage that applies to the invoiced item
46IamtDecimal (11,2)IGST amount as per item
47CamtDecimal (11,2)CGST amount as per item
48SamtDecimal (11,2)SGST amount as per item
49Total Invoice ValueDecimal (11,2)The total amount of the invoice with GST. Must be rounded to maximum 2 decimals
50Batch NameMax length: 20Batch number details are important to be mentioned for certain set of manufacturers

The optional fields include references to contracts, vendor purchase order, e-way bill number, phone number or email ID, and the place of dispatch of the goods to mention a few.

Complete format of e-Invoice

Below link provides the detailed format of an e-Invoice

Sample View of e-Invoice Format

Here is a sample e-invoice as generated by the ERP software.

GSTN’s Initial Proposed format of e-Invoice

The GST portal initially released two types of e-invoice templates. One template was only with mandatory fields and the other was with both mandatory and optional fields. These templates were in excel. The template containing only mandatory fields:

Initial Proposed template for e-invoice is provided in the link given below

Find the Frequently Asked Questions (FAQ’s) about e-Invoicing

Clear offers taxation & financial solutions to individuals, businesses, organizations & chartered accountants in India. Clear serves 1.5+ Million happy customers, 20000+ CAs & tax experts & 10000+ businesses across India.

Efiling Income Tax Returns(ITR) is made easy with Clear platform. Just upload your form 16, claim your deductions and get your acknowledgment number online. You can efile income tax return on your income from salary, house property, capital gains, business & profession and income from other sources. Further you can also file TDS returns, generate Form-16, use our Tax Calculator software, claim HRA, check refund status and generate rent receipts for Income Tax Filing.

CAs, experts and businesses can get GST ready with Clear GST software & certification course. Our GST Software helps CAs, tax experts & business to manage returns & invoices in an easy manner. Our Goods & Services Tax course includes tutorial videos, guides and expert assistance to help you in mastering Goods and Services Tax. Clear can also help you in getting your business registered for Goods & Services Tax Law.

Save taxes with Clear by investing in tax saving mutual funds (ELSS) online. Our experts suggest the best funds and you can get high returns by investing directly or through SIP. Download Black by ClearTax App to file returns from your mobile phone.

Cleartax is a product by Defmacro Software Pvt. Ltd.

Company PolicyTerms of use

ISO

ISO 27001

Data Center

SSL

SSL Certified Site

128-bit encryption