/ubl:Invoice/cac:InvoiceLine/cbc:InvoicedQuantity

Invoiced Quantity

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

Description

The quantity of items (goods or services) that is charged in the Invoice line.

To indicate that a quantity is free-of-charge, use the Free of Charge Indicator cbc:FreeOfChargeIndicator.

Child elements
Usage Element Description Cardinality
O @unitCode Invoiced Quantity Unit of Measure Code

The unit of the quantity

0..1
Details

Example: IN_Credit-Note_with_E-way_bill.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-IN-1p0-60 The value of the Invoiced Quantity Unit of Measure Code must be contained in Quantity Unit Code (subset of UNECE Recommendation 20) [VRBL-CL-IN-QuantityUnitCode-UNECE] or be contained in Quantity Unit Code [VRBL-CL-IN-QuantityUnitCode-India] (prefixed by 'VRBL:IN:').