VRBL-INV-PEPPOL-PINT-19
Basic Info
| Rule | If Despatch Line Item Reference exists then there must not be Dispatch Document Reference Group on document level. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-peppol-pint |
| Severity | fatal |
Implementation
(
not(boolean(cac:DespatchDocumentReference))
and
boolean(cac:InvoiceLine/cac:DespatchLineReference/cac:DocumentReference/cbc:ID)
)
or
not(boolean(cac:InvoiceLine/cac:DespatchLineReference/cac:DocumentReference/cbc:ID))