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

Invoiced Quantity

Portugal | VRBL-Invoice-PT-2p1
Context ID INV1178
Usage M

Description

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

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

The unit of the quantity

0..1
Details

Example: PT_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cbc:InvoicedQuantity unitCode="H87">3.00</cbc:InvoicedQuantity>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-2p1-195 The Invoiced Quantity does not meet the defined format: decimal value with 3 decimal places and 13 unit places, than can be negative.
VRBL-INV-PT-2p1-196 The value of the Invoiced Quantity Unit of Measure Code must be contained in UN/ECE Recommendation 20 [VRBL-CL-UnitCode-Rec20]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/
VRBL-INV-EN16931-CM-331 The value of the Invoiced Quantity Unit of Measure Code must be contained in UN/ECE Recommendation 20 with Rec 21 extension [VRBL-CL-UNECE-Rec-20-X21].