Blog Calculators Case Law
PRODUCTS
VittSphere AccountingVittSphere PracticeVittSphere ONETaxNotice AIGST Notice AIVittSphere RecoverCFO Diagnostic VittSphere ONE login →
GST Compliance

Common e-invoice (IRP) error codes: 2150 duplicate IRN, 2172, 2174, 2211, 2240 and fixes

Our billing software keeps getting e-invoice errors from the IRP. What do the common codes mean?

CA Prabhakar Kumar
Prabhakar Kumar
Chartered Accountant (ICAI, Nov 2019)
📅 30 Nov 2026
⏱ 3 min read
525 words

Common codes

CodeMeaningUsual fix
2150Duplicate IRN: the document (same supplier GSTIN, number, type and year) is already registeredDo 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.
2172For an intra-State transaction, IGST is not applicable; only CGST and SGSTCheck place of supply and buyer State code; correct the tax head
2174Buyer PIN code does not belong to the State code givenCorrect PIN or State using the PIN–State master on the e-invoice portal
2211Supplier and recipient GSTIN cannot be the sameSelf-invoices are not e-invoiced; check the buyer GSTIN
2240Invalid GST rate for the HSN and line number givenUse a valid rate for that HSN. After the September 2025 rate changes, update item masters to the current rate

Habits that prevent most errors

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

ErrorCauseFix
2172Pune supplier charged IGST to Pune buyerChange to CGST + SGST
2150IRN already generated for that invoice numberGet the existing IRN; do not reuse or renumber

Sources

Official sources are listed first; commentary is marked.

CA Prabhakar Kumar — ICAI Chartered Accountant
Written by
Prabhakar Kumar
Chartered Accountant (ICAI, Nov 2019)
Chartered Accountant (FCA, ICAI) and founder of VittSphere Technologies. Writes on Indian taxation, capital gains, GST and personal finance.
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.
🧮 Calculators
Run your own numbers
40 free calculators for income tax, capital gains, TDS, GST and investments — with suggestions after every result.
📨 TaxNotice AI
Received an income-tax notice?
Upload it and get a plain-English reading and a draft reply, with the case law behind it.
🏛️ Prabhakar Kumar & Co.
Chartered Accountants, Pune
Income-tax, GST, audit and Virtual CFO work for individuals and businesses.

Put this into practice — free calculators

Built and verified by an ICAI Chartered Accountant. No signup, no data stored.

Built by a Chartered Accountant

GST Notice AI

Got a GST notice (ASMT-10, DRC-01, REG-17)? Understand it and prepare a reply with the law and judgments.

Try GST Notice AI →