VRBL-INV-PEPPOL-PINT-19
Basic Info
| Rule | If Despatch Advice Reference exists then there must not be Despatch Advice Reference 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))