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

Item Price Base Quantity

Germany | VRBL-Invoice-DE-ZUGFeRD-2p3
Context ID INV1443
Usage O
Format Quantity
Example Value 1
Mandate Business Term Code BT-149

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: DE-B2B_invoice_380_four_lines.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:Price>
      <!-- ... omitted for readability -->
      <cbc:BaseQuantity unitCode="XPP">1.0</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-EN16931-CM-332 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-UNECE-Rec-20-X21].
VRBL-INV-CORE-42 The Item Price Base Quantity must be a number greater than zero.