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

Item Price Base Quantity

Spain | VRBL-Invoice-ES-PeppolBIS-3p0
Context ID INV1443
Usage O
Format Quantity
Example Value 1
Mandate Business Term Code BT-149
Final Format Path /ubl:Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity

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: ES_creditnote.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:Price>
      <!-- ... omitted for readability -->
      <cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-RS-29 The Item Price Base Quantity Unit of Measure Code code must be same as the Invoiced Quantity Unit of Measure Code.
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.