Skip to content
DoItJag

E-invoice JSON validator

India · GST

Paste or open your e-invoice JSON. It is checked against the INV-01 schema (version 1.1) and the arithmetic rules NIC publishes, and every problem is listed with the field to fix.

E-invoice schema and checks as of 20 November 2026, checked against the CGST and IGST Acts, the CGST Rules and CBIC notifications. Source: CBIC tax information portal and the notifications listed below.

This is an estimate, not legal or tax advice. It is not an official computation. Check the GST portal (gst.gov.in) or a tax professional before you file or pay.

Provisions used by this tool

Catch the rejection before the portal does

Businesses that must e-invoice send each B2B invoice as a JSON file to the Invoice Registration Portal. The portal checks it, and if anything is off it returns an error code instead of an IRN. Fixing those one at a time in a live billing run is slow. This validator applies the same published checks on your own computer first, so you can correct the data in your accounting software before uploading.

What is checked

Every field is compared with the INV-01 schema, version 1.1, as NIC publishes it: required sections, text lengths, number ranges, allowed codes and formats such as the dd/mm/yyyy date. Beyond the schema, the tool repeats the cross-checks described on NIC’s validations page. The State code must agree with the first two digits of each GSTIN. A sale inside one State must use CGST and SGST, and one between States, an export or an SEZ supply must use IGST. Each item’s assessable value, tax amounts and line total are recalculated, and so are the invoice totals, allowing the published margin of about one rupee either way. Exports need the buyer recorded as URP with code 96, and reverse-charge rules are applied to the supply types that allow them.

Reading the report

Each problem is listed with the exact path of the field, such as ItemList[0].CgstAmt, and a plain explanation. Errors are things the portal would reject; warnings are unusual entries worth a second look. You can download the list as a text file for your software vendor.

What only the portal can check

Whether a GSTIN is active, whether an HSN code exists in the master, whether a PIN code belongs to the State, unit codes, the list of permitted tax rates and duplicate invoice numbers all need the portal’s live data. A clean result here removes the format mistakes, not those. Ordinary invoices that do not need an IRN can be made with the GST invoice generator.

How to use it

  1. Open a JSON file or paste the JSON (one invoice or a list).
  2. Press Check JSON.
  3. Fix each error listed against its field path.
  4. Download the report if you want to share it with your accountant or software vendor.

Privacy: how it works

The JSON is read and checked in your browser. It is not uploaded anywhere.

Official sources

Rates and rules come from the CGST and IGST Acts, the CGST Rules and CBIC notifications, read on CBIC's tax information portal, in the Gazette of India and in GST Council copies (links in the box under the tool). Returns are filed on gst.gov.in. DoItJag is not affiliated with CBIC, GSTN or the GST Council.

Frequently asked questions

Does a pass here mean the IRP will accept it?

Not always. The portal also checks live masters this tool cannot see: whether each GSTIN is active, HSN codes, PIN-to-State mapping, unit codes, allowed tax rates and duplicate invoice numbers.

What tolerance is allowed on tax amounts?

NIC allows the passed value to be from the rupee part of the calculated value minus ₹1 up to the next whole rupee plus ₹1. For a calculated ₹2,345.04, anything from ₹2,344 to ₹2,347 passes.

Is my invoice data uploaded?

No. The JSON is read and checked in your browser; nothing is sent to the portal or to us.