VRBL-INV-HR-CIUS-1p0-20
Basic Info
| Rule | If the Invoice Line Quantity is provided, the Invoice Line Price Base Quantity Unit Code must equal the Invoice Line Quantity Unit 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