/ubl:Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity

Item Price Base Quantity

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV1443
Usage O

Description

The number of item units to which the price applies.

Child elements
Usage Element Description Cardinality
O @unitCode Item Price Base Quantity Unit of Measure Code

The unit of the quantity

0..1
Details

Example: NZ_Invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:Price>
      <!-- ... omitted for readability -->
      <cbc:BaseQuantity unitCode="DAY">2</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-261 The value of the Item Price Base Quantity Unit of Measure Code must be contained in UN/ECE Recommendation 20 with Rec 21 extension [VRBL-CL-PINT-UNECE-Rec-20-X21].
VRBL-INV-CORE-42 The Item Price Base Quantity must be a number greater than zero.