VRBL-INV-HR-CIUS-1p0-20
Basic Info
| Rule | If the Invoiced Quantity is provided, the Item Price Base Quantity Unit of Measure Code must equal the Invoiced Quantity Unit of Measure Code. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity
|
| Pattern | vrbl-invoice-hr-cius-1p0 |
| Severity | fatal |
Implementation
not(boolean(../../cbc:InvoicedQuantity)) or @unitCode = ../../cbc:InvoicedQuantity/@unitCode