IRP error 2258: Supplier state code does not match the GSTIN

What the IRP says

Supplier GSTIN state codedoes not match with the state code passed in supplier details

Why it happens, in NIC's words

The state code passed and first two digits of the GSTIN passed in the Supplier details do not match

What NIC says to do

In the Supplier details, first two digits of the GSTIN should match the state code passed

NIC's wording, from its published list of IRP errors, as read on 1 October 2026.

In plain words

The state code in the supplier details (SellerDtls.Stcd) is not the same as the first two digits of the supplier GSTIN.

How to fix it

  1. Set the supplier's state code to the first two digits of the supplier GSTIN, for example 27 for a GSTIN that starts with 27.
  2. If the state code is right, the GSTIN itself is mistyped. Compare it with the GST registration certificate.

Can you catch it before you upload?

Yes. The free pre-check on this site tests for it before you upload. It compares the two on every invoice.

Check your e-invoice JSON

Free, with no sign-up. The file is checked in your browser and never leaves it. A clean result does not mean the IRP will accept the invoice.