IRP error 2239: Unit code is not passed

What the IRP says

For Sl. No {0}, Unit Quantity Code (UQC) is not passed

{0}, {1} and so on stand for the values the IRP fills in. "Sl. No" is the serial number (SlNo) the line has in the file.

Why it happens, in NIC's words

Value for unit is missing for the specified item in the item list

What NIC says to do

Send the value for unit for the specified item

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

In plain words

The line named in the error has no unit. NIC requires a unit code (UQC) on every goods line; on a service line it is optional.

How to fix it

  1. Add the unit (Unit) to that line, using a code from the GST unit list, for example NOS, KGS or MTR.
  2. A service line does not need a unit, but a line marked as a service (IsServc = Y) must also carry a service code (SAC). Do not mark goods as a service to clear this error.

Can you catch it before you upload?

Yes. The free pre-check on this site tests for it before you upload. It checks each goods line for a unit.

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.