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

Invoiced Quantity

Spain | VRBL-Invoice-ES-FacturaE-3p2
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: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cbc:InvoicedQuantity unitCode="VRBL:ES-B2G:01">10</cbc:InvoicedQuantity>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-22 The value of the Invoiced Quantity Unit of Measure Code must be contained in Unit Code [VRBL-CL-ES-B2G-UnitCode] (prefixed by 'VRBL:ES-B2G:'). Allowed values: VRBL:ES-B2G:01, VRBL:ES-B2G:02, VRBL:ES-B2G:03, VRBL:ES-B2G:04, VRBL:ES-B2G:05, VRBL:ES-B2G:06, VRBL:ES-B2G:07, VRBL:ES-B2G:08, VRBL:ES-B2G:09, VRBL:ES-B2G:10, VRBL:ES-B2G:11, VRBL:ES-B2G:12, VRBL:ES-B2G:13, VRBL:ES-B2G:14, VRBL:ES-B2G:15, VRBL:ES-B2G:16, VRBL:ES-B2G:17, VRBL:ES-B2G:18, VRBL:ES-B2G:19, VRBL:ES-B2G:20, VRBL:ES-B2G:21, VRBL:ES-B2G:22, VRBL:ES-B2G:23, VRBL:ES-B2G:24, VRBL:ES-B2G:25, VRBL:ES-B2G:26, VRBL:ES-B2G:27, VRBL:ES-B2G:28, VRBL:ES-B2G:29, VRBL:ES-B2G:30, VRBL:ES-B2G:31, VRBL:ES-B2G:32, VRBL:ES-B2G:33, VRBL:ES-B2G:34, VRBL:ES-B2G:35.