/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode

Item Classification Code

India | VRBL-Invoice-IN-1p0
Context ID INV1398
Usage O

Description

A code for classifying the item by its type or nature.

Under Indian GST e-invoicing, the HSN/SAC Code of Goods/Services. Use the corresponding list identifier.

Child elements
Usage Element Description Cardinality
M @listID Item Classification Code List ID

The identification of a list of codes.

0..1
Details

vrbl-invoice-in-1p0

If provided each item needs to have valid HSN code with at least 4 digits. Items of goods type should be 4 or 6 or 8 digits and items of service type should be 4 or 5 or 6 digits. HSN Code should be valid as per the GST master.

Example: IN_Credit-Note_with_E-way_bill.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:Item>
      <!-- ... omitted for readability -->
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode listID="HS">1001</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <!-- ... omitted for readability -->
    </cac:Item>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-IN-1p0-116 When used for the HSN Code, the required minimum number of characters for the Item Classification Code is 4.
VRBL-INV-IN-1p0-117 When used for the HSN Code, the allowed maximum number of characters for the Item Classification Code is 8.