E-Invoice JSON Generator (India)
Sales data in, IRP-ready e-invoice JSON out — then the print with IRN and signed QR code.
Free preview.
- Free preview: the checks of every e-invoice, the first ones as a read-only table (up to 10; a single one with amounts hidden) and the first prints (up to 3) as marked pages.
- Locked until you unlock it: download and copy.
- Unlock: Premium pass, ₹799 for 30 days, a one-time payment that never renews.
Ways to unlock shows how to get the full result.
Printing this result is locked in the free preview.
Your business
Kept in this browser for the MySmartCoPilot GST tools; never uploaded.
Your sales data
One row per item, or one per invoice and GST rate. B2B, SEZ, export and deemed-export documents become e-invoices; B2C sales are not e-invoiced and are left out.
Or paste rows from a spreadsheet
Product list optional
SKU or item name, HSN/SAC code, GST rate and unit for each product. It fills in what the sales data leaves out — shop exports have no HSN codes, and orders with several GST rates need each item’s rate.
Columns
Matched from the headings and remembered for files with the same headings. Correct any that are wrong; fields marked required must have a column.
First rows of the sheet
Check
No problems found.
Documents (0)
| Type | Number | Date | Customer | Supply | Taxable | GST | Total | Check |
|---|
E-invoice JSON for the IRP
E-invoices in the upload file
| Document | Buyer GSTIN | Supply | Taxable value | GST and cess | Invoice value | Items |
|---|
- Log in on the e-invoice portal (einvoice1.gst.gov.in) with your own credentials — MySmartCoPilot never asks for them.
- Open e-Invoice → Bulk Upload, choose the file (at most 2 MB; larger registers come as several files) and upload it.
- The portal shows the IRN of each invoice, or why it was refused. Download the results with Download Excel and load that file below to print the e-invoices with their QR codes.
Print e-invoices with IRN and QR code
Load the results Excel from the portal’s bulk upload, or the IRP’s response JSON from your software. Each e-invoice is printed with its IRN, Ack No., Ack Date and the signed QR code. The invoice details come from the signed invoice in a JSON response, otherwise from your sales data above — or drop the bulk file you uploaded together with the results.
Check the signatures with NIC’s public key optional
Download the public key (.pem) or certificate (.cer) for the IRN’s period from the e-invoice portal’s public keys page and load it here: every signed QR code is then verified with it in your browser.
| Document | Buyer GSTIN | Value | IRN | Ack No. and date | Signature |
|---|
Locked in the free preview. Opens the ways to unlock this result.
Locked in the free preview. Batch runs unlock with a pass.
Locked in the free preview. Query results unlock with a pass.
Tax rules and rates change. This calculator follows the rules described on this page and may not cover every situation. Check the official source or a qualified tax professional before filing or invoicing.
About the E-Invoice JSON Generator (India)
Make the e-invoice JSON file for the Invoice Registration Portal (IRP) from the sales data you already have: an Excel or CSV sales register (from Tally, Busy, Vyapar, Zoho or your own sheet), a Shopify, WooCommerce or Amazon export, or invoices saved by the Invoice Generator. Columns are matched once and remembered. Every invoice, credit note and debit note is checked the way the IRP checks it — GSTIN check characters, State and PIN codes, HSN/SAC digits, unit codes, CGST + SGST or IGST by the place of supply, item and invoice totals — and written in the IRP schema (version 1.1) for the portal’s bulk upload, split into files of at most 2 MB.
Once the portal has generated the IRNs, load its results to print each e-invoice with its IRN, Ack No., Ack Date and the signed QR code (with a Premium pass; the free preview shows the first pages marked). MySmartCoPilot never asks for your portal login and never contacts the IRP or a GSP: you upload the file yourself, and everything else happens in your browser.
How to use it
- Enter your business details once: GSTIN, legal name, address, city and PIN. They are the seller of every e-invoice and are kept in this browser for the MySmartCoPilot GST tools.
- Load your sales data: an Excel or CSV file, rows pasted from a spreadsheet, a Shopify, WooCommerce or Amazon export, or Invoice Generator files (.json). Starting from scratch? Download the blank template (never locked, also in the free preview).
- Check the column matching. Document number, date, customer name and GSTIN, HSN/SAC and GST rate need a column; the choice is remembered for files with the same headings.
- Read the check. Fix the errors where the data comes from and load the file again; documents with errors are left out of the upload file. B2C sales are not e-invoiced and are left out too.
- Once the result is unlocked (with a Premium pass), download the bulk upload file and upload it on the e-invoice portal under e-Invoice → Bulk Upload. A register larger than 2 MB comes as several files in a .zip; upload them one after another.
- On the portal, get the results with Download Excel and load that file under Print e-invoices with IRN and QR code: the free preview shows the first e-invoices as marked pages, and the PDFs (one per e-invoice in a .zip, or all in one PDF) download once the print is unlocked.
Examples
INV/26-27/101 to Kaveri Agencies (GSTIN 29…, Karnataka) from Maharashtra: 250 KGS MS angle (HSN 72165000) at 68.40, 18% 1 parcel packing (SAC 998541) at 450, 18%
SupTyp B2B · Pos 29 · AssVal 17550.00 · IgstVal 3159.00 · TotInvVal 20709.00 ItemList[1]: IsServc Y, HsnCd 998541, no unit
CN/26-27/007, 120 KGS × 2.50 rate difference, 18%, against INV/26-27/102 (buyer in Maharashtra)
DocDtls.Typ CRN · AssVal 300.00 · CGST 27.00 + SGST 27.00 · RefDtls.PrecDocDtls[0].InvNo INV/26-27/102
Supply type “Export without payment”, buyer in Dubai, country AE, currency USD, port INNSA1
SupTyp EXPWOP · BuyerDtls Gstin URP, Pos 96, Stcd 96, Pin 999999 · ExpDtls Port INNSA1, ForCur USD, CntCode AE, RefClm N
Common uses
- Businesses above the e-invoicing turnover limit that bill from Excel, a shop platform or simple billing software without e-invoicing.
- Accountants preparing e-invoice files for several clients without filling NIC’s Excel macro workbooks by hand.
- Turning a month of Shopify, WooCommerce or Amazon B2B orders into one upload.
- Printing e-invoices with the IRN and QR code after a bulk upload, in one batch.
What goes into the file
- Seller: your details from step 1 — every e-invoice of a file belongs to one GSTIN.
- Document: type (INV, CRN, DBN), number (as in your sheet), date and supply type — B2B, SEZ with or without payment, export with or without payment, or deemed export; reverse charge, IGST on an intra-State supply and the e-commerce operator’s GSTIN when the columns have them.
- Buyer, ship-to and dispatch-from: name, GSTIN, address, location, PIN and State (the ship-to GSTIN when the sheet has one); for exports GSTIN URP, State 96, PIN 999999 and the buyer’s country code, which the IRP requires.
- Items: description, HSN/SAC (and whether it is a service), quantity and unit, unit price, gross amount, discount, taxable value, GST rate, IGST or CGST + SGST, cess and the item total.
- Totals: taxable value, taxes, document discount, other charges, round-off and invoice value.
- Credit and debit notes: the original invoice number and date. Exports: shipping bill, port, country, currency and whether a refund is claimed. E-way bill part (optional): mode, distance, transporter and vehicle from transport columns — Part-A only (no mode) when the vehicle or transport document the mode needs is missing.
Printing with the IRN and QR code
The IRP returns, for each invoice, the IRN, the acknowledgement number and date, the signed invoice and the signed QR code; NIC’s QR code procedure lets the taxpayer print that signed QR code on the invoice copy. After a bulk upload the portal’s results Excel lists them per invoice (the layout NIC’s own GePP tool imports); software that uses the IRP’s API gets the same in a JSON response. Load either one: the QR code is drawn from the signed text exactly, and the invoice details come from the signed invoice or from the sales data loaded above. To check the signatures, load NIC’s public key from the portal’s public keys page.
What it does not do
It does not generate IRNs. An IRN exists only once the IRP has accepted the invoice — through the portal’s bulk upload, which you do with your own login, or through API access that needs your own GSP or e-invoice API credentials. MySmartCoPilot asks for neither and sends nothing to the IRP; the file is made in your browser. It does not file returns either: e-invoice details reach GSTR-1 from the IRP.
Where the format comes from
Field names, lengths, allowed values and the 2 MB limit are those of the e-invoice portal’s bulk generation tools (EINVOICE_SCHEMA.xlsx, schema version 1.1) and its master codes; the business rules and the rounding tolerance follow NIC’s Generate IRN validations. E-invoicing itself is rule 48(4) of the CGST Rules, 2017, on CBIC’s tax information portal. The schema version is pinned and re-checked against the portal’s files with every release.
Limitations
- The IRP has the final word: it also checks things no file can show, such as whether a GSTIN is active or an IRN already exists for the document, and the time limit within which larger businesses must report invoices (see NIC’s release notes).
- Payment details, batch details, additional documents and other optional IRP blocks are not filled from the register.
- A results Excel without the signed QR codes cannot be printed with QR codes here; print those invoices on the portal (e-Invoice → Print) or load the response JSON.
- The prints are plain e-invoice copies without your logo or signature image; the Invoice Generator makes branded invoices.
- This is not an official NIC tool. The schema is pinned to version 1.1; when NIC publishes a new version, the tool is updated before it is used.
Privacy
Your sales data, the e-invoice JSON and the IRP results are read and written in your browser; nothing is uploaded. Your business details and column choices are kept in this browser’s storage. The optional HSN/SAC master is a static file of this site.
Frequently asked questions
What do I get without a pass?
Without a pass, E-Invoice JSON Generator (India) shows the checks of every e-invoice, the first ones as a read-only table (up to 10; a single one with amounts hidden) and the first prints (up to 3) as marked pages. Until you unlock it, the result can’t be downloaded or copied. A Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.
Does this generate the IRN?
No. The IRN is created by the IRP when it accepts the invoice. This tool prepares the JSON you upload on the e-invoice portal, and afterwards prints the e-invoices with the IRNs the portal returned.
Which documents are e-invoiced?
Invoices, credit notes and debit notes for B2B supplies, supplies to SEZ units and developers, exports and deemed exports. Sales to unregistered buyers (B2C) are not reported to the IRP, so they are left out and counted separately.
What happens to a row with an error?
The whole document is left out of the upload file and its problems are listed with the row number and the field, so you can correct the source and load it again. Documents without errors still go into the file.
My register is larger than 2 MB. Can I still upload it?
The portal takes one bulk file of at most 2 MB. Larger registers are written as several files in a .zip, each a complete, valid list of e-invoices; upload them one after another.
Which results file do I load to print?
The Excel the portal offers with Download Excel after the bulk upload, or the response JSON your software received from the IRP. Responses that hold only the IRN and QR code are matched to the invoices of the sales data loaded above, or of the bulk file you drop with them.
Can I check the e-invoices before uploading?
Every check runs before the file is written.