/ubl:Invoice/cac:InvoiceLine/cac:Item/cbc:PackQuantity

Invoice Line Pack Quantity

Switzerland | VRBL-Invoice-CH-YellowBill-3p0
Context ID INV1661
Usage O

Description

The unit packaging quantity; the number of subunits making up this item.

Child elements
Usage Element Description Cardinality
- @unitCode Invoice Line Pack Quantity Unit Code

The unit of the quantity

0..1
Details

Example: VRBL_CH_INVOICE_Invoice-FULL.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:Item>
      <!-- ... omitted for readability -->
      <cbc:PackQuantity unitCode="EA">1</cbc:PackQuantity>
      <!-- ... omitted for readability -->
    </cac:Item>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CH-YELLOWBILL-3p0-42 The value of the Invoice Line Pack Quantity Unit 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:').