VRBL-INV-PEPPOL-PINT-115

Basic Info

Rule The Invoice Line Price Base Quantity Unit Code must be same as Invoice Line Quantity Unit 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