VRBL-INV-SG-1p4-8
Basic Info
| Rule | Order references in an Invoice shall be provided on either Invoice Line level or on Document level, not both. |
| Context |
/ubl:Invoice/cac:OrderReference/cbc:ID
|
| Pattern | vrbl-invoice-sg-1p4 |
| Severity | fatal |
Implementation
(. = 'NA')
or
not(boolean(/ubl:Invoice/cac:InvoiceLine/cac:OrderLineReference/cac:OrderReference/cbc:ID))