Invoice number rules and duplicate IRN
1 min read
Updated 03 Oct 2026
3 views
AI summary
16 characters, unique per year, allowed symbols, and why "Duplicate IRN" appears.
3 sections
Rule 46 and IRP rules for the number
- Maximum 16 characters.
- Allowed: letters, digits, and the special characters / and - only.
- Cannot start with 0, / or -.
- Must be unique for the financial year per GSTIN. You can have multiple series (for branches or types), but no number may repeat.
- The IRP treats numbers as case-insensitive:
abc/1andABC/1count as the same.
Example that works: INV/26-27/0010
"Duplicate IRN" (error 2150)
It means an IRN already exists for that GSTIN + year + document type + number. Common causes:
- The same invoice was sent twice (retry after a timeout).
- The number was used earlier and then cancelled — cancelled numbers stay blocked.
- A different branch or software is using the same series.
What to do
- On a retry, fetch the existing IRN by document number instead of generating again.
- If it was a genuine clash, give the invoice a new number and generate a fresh IRN.
- Keep one series per location/software, e.g. a different prefix for each branch.
In Hisab Central, set the voucher numbering prefix so the full number stays within 16 characters, including the year part.
Sources
PreviousIRN cancellation, time limit and amendments Next in E-Invoice Common IRN and e-invoice API errors
Was this guide helpful?