# Common codes
| Code | Meaning | Usual fix |
|---|---|---|
| 2150 | Duplicate IRN: the document (same supplier GSTIN, number, type and year) is already registered | Do not resubmit; fetch the existing IRN using "get IRN by document details" and update your billing system. Often caused by firing the same request twice. |
| 2172 | For an intra-State transaction, IGST is not applicable; only CGST and SGST | Check place of supply and buyer State code; correct the tax head |
| 2174 | Buyer PIN code does not belong to the State code given | Correct PIN or State using the PIN–State master on the e-invoice portal |
| 2211 | Supplier and recipient GSTIN cannot be the same | Self-invoices are not e-invoiced; check the buyer GSTIN |
| 2240 | Invalid GST rate for the HSN and line number given | Use a valid rate for that HSN. After the September 2025 rate changes, update item masters to the current rate |
# Habits that prevent most errors
- Keep HSN, unit and PIN–State masters synced with the NIC master codes.
- Validate the buyer GSTIN (active status) before invoicing.
- Never retry blindly on a timeout; first check whether the IRN was generated.
- For taxpayers with AATO of ₹10 crore or more, the IRP will not accept documents older than 30 days, so fix and resubmit quickly. See e-invoicing.
Error code meanings occasionally change, and third-party lists are not always consistent. The NIC portal list linked below is the authority.
# Worked example: fixing two errors
| Error | Cause | Fix |
|---|---|---|
| 2172 | Pune supplier charged IGST to Pune buyer | Change to CGST + SGST |
| 2150 | IRN already generated for that invoice number | Get the existing IRN; do not reuse or renumber |
# Read next
- E-invoicing: who must generate an IRN, and by when
- GSTR-1A: fix this month's GSTR-1 before you file GSTR-3B
- GST 2.0: the 5%, 18% and 40% rate structure
# Sources
Official sources are listed first; commentary is marked.
- NIC e-invoice portal: official error code list
- ClearTax developer docs: e-invoice error codes (commentary)
- TaxGuru: common errors while reporting e-invoices to IRP (GSTN list) (commentary)
Also useful
Frequently asked questions
What does e-invoice error 2150 mean?
Duplicate IRN: an IRN already exists for that document. Retrieve the existing IRN rather than resubmitting.
What is e-invoice error 2240?
The GST rate passed for an item is not a valid rate for the HSN code given. Correct the rate in the item master.