Small Business

How to Prepare GST E-Invoice JSON for the IRP Without an ERP

Build e-invoice JSON in schema 1.1, catch GSTIN, HSN, date and total errors before upload, and keep a register of IRN numbers and acknowledgements.

Saizul Amin
Saizul Amin19 Nov 2026 · 4 min read
How to Prepare GST E-Invoice JSON for the IRP Without an ERP

E-invoicing is no longer a big-company job. Once your aggregate annual turnover (AATO) in any year since 2017-18 crosses Rs 5 crore, every B2B invoice, credit note and debit note has to be reported to an Invoice Registration Portal (IRP). The IRP checks the data, signs it and returns an Invoice Reference Number (IRN) with a QR code. Many smaller businesses do not have an ERP that talks to the IRP, so they fill the government offline utility or upload a JSON file. The free GST e-invoice JSON generator lets you type the invoice once, see the errors the IRP is likely to reject, and download a clean file.

What the IRP actually wants

The schema (version 1.1) groups an invoice into blocks: transaction details (supply type such as B2B, SEZ with or without payment, export, deemed export), document details (type, number, date in dd/mm/yyyy), seller, buyer, an item list and the value totals. Each item carries a description, a service flag, the HSN or SAC code, quantity and unit, unit price, discount, the assessable value, the GST rate and the IGST or CGST plus SGST amounts. Small mistakes are common: a document number with a leading zero, a PIN code with five digits, a GST rate that does not exist, or a buyer state code that does not match the GSTIN.

Step 1: set up the invoice

Open the Invoice tab. Choose the supply type and document type, type the document number (up to 16 characters, letters, digits, slash and hyphen) and the date, and pick the place of supply. Tick reverse charge if the buyer pays the tax, or the IGST box for an intra-state supply that must still carry IGST, such as a supply to an SEZ unit in your own state.

Step 2: fill seller and buyer

Both party cards ask for GSTIN, legal name, trade name, address, city, PIN, state code, phone and email. The GSTIN is checked for format and for its last check character, so a single wrong letter is caught at once. For an export, the JSON uses URP, state code 96 and PIN 999999 for the buyer automatically.

Step 3: add items

Each row has description, service tick, HSN or SAC, quantity, unit code (NOS, KGS, BOX and so on), unit price, discount in rupees, GST rate, cess rate and other charges. The tool works out the assessable value and decides between IGST and CGST plus SGST from the seller state and place of supply. Use the round-off button to bring the total to the nearest rupee; the IRP accepts a round-off of up to Rs 99.99 either way.

Worked example

Sharma Electricals in Maharashtra sells 40 LED panels at Rs 1,450 with a Rs 2,000 discount to a buyer in Karnataka, and adds installation at Rs 6,000 under SAC 995461. The panels come to Rs 56,000 and the service to Rs 6,000, so the assessable value is Rs 62,000. Because the supply is inter-state, IGST at 18% is Rs 11,160 and the invoice value is Rs 73,160. The service line goes into the JSON with IsServc set to Y and no unit.

Step 4: read the checks and download

The JSON and checks tab lists errors in red and points to check in amber. It flags a future date, an invoice older than 30 days when your AATO is Rs 10 crore or more, a service code that starts with 99 but is not ticked as a service, discounts larger than the line and tax charged on a supply without payment of tax. When the error count is zero, download this invoice or all drafts as one array for bulk upload, or copy the JSON.

Step 5: keep the register

After upload, open the Register tab and record the status (draft, uploaded, IRN received, cancelled), the 64-character IRN, the acknowledgement number and date. You can search by number, buyer or IRN, see totals by status and export the whole register to CSV or print it. Remember that an IRN can be cancelled on the IRP only within 24 hours; after that, issue a credit note.

Good habits

Use the "copy as next number" button to keep a clean series, save the project file regularly and import old JSON files back into the editor if you need to correct and re-send one. Keep the AATO box current, because it controls the 30-day warning.

Limits

This is not tax or legal advice and not an IRP or GSP. The tool cannot generate an IRN or a signed QR code, and it does not check whether a GSTIN is active, whether a document number was already used or whether an HSN code is valid for your goods. The IRP runs more checks than the ones shown here, so its response is final.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages