Context
PT
/ubl:Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity
VRBL-Invoice-PT-2p1 - Item Price Base Quantity
Portugal |
VRBL-Invoice-PT-2p1
| Context ID | INV1443 |
| Usage | O |
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: PT_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:Price>
<!-- ... omitted for readability -->
<cbc:BaseQuantity unitCode="H87">1.00</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PT-2p1-246 | The Item Price Base Quantity must have a maximum of 13 digits before the decimal separator, and a maximum of 3 digits after the decimal separator. |
| VRBL-INV-PT-2p1-247 | The value of the Item Price Base 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-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. |