VRBL-INV-PEPPOL-PINT-115
Basic Info
| Rule | The Item Price Base Quantity Unit of Measure Code must be same as Invoiced Quantity Unit of Measure Code. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Price
|
| Pattern | vrbl-invoice-peppol-pint |
| Severity | fatal |
Implementation
not(
boolean(../cbc:InvoicedQuantity)
and
boolean(cbc:BaseQuantity/@unitCode)
)
or
cbc:BaseQuantity/@unitCode = ../cbc:InvoicedQuantity/@unitCode