VRBL-INV-PEPPOL-RS-29
Basic Info
| Rule | The Invoice Line Price Base Quantity Unit Code code must be same as the Invoice Line Quantity Unit Code. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Price/cbc:BaseQuantity
|
| Pattern | vrbl-invoice-peppol-bis3p0-reduced-syntax |
| Severity | fatal |
Implementation
not(boolean(@unitCode))
or
@unitCode = /ubl:Invoice/cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode