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

Invoiced Quantity

Switzerland | VRBL-Invoice-CH-YellowBill-3p0
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: VRBL_CH_INVOICE_CreditNote.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cbc:InvoicedQuantity unitCode="EA">10</cbc:InvoicedQuantity>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CH-YELLOWBILL-3p0-40 The value of the Invoiced Quantity Unit of Measure Code must be contained in Subset of UNECE Recommendation 20 unit of measure codes applicable for Switzerland [VRBL-CL-CH-UnitOfMeasure-UNECE-Rec20] or be contained in Subset of UNECE Recommendation 21 unit of measure codes applicable for Switzerland, prefixed by X [VRBL-CL-CH-UnitOfMeasure-UNECE-Rec21] or be contained in Extended values for Unit of Measure applicable for Switzerland [VRBL-CL-CH-UnitOfMeasure-Extension] (prefixed by 'VRBL:CH:').