VRBL-INV-GR-1p0-14
Basic Info
| Rule | When the Seller Group is Greek, and the Additional Document Reference Group is used as Invoice URL, then the Attachment External Reference URI must be provided. |
| Context |
/ubl:Invoice/cac:AdditionalDocumentReference
|
| Pattern | vrbl-invoice-gr-1p0 |
| Severity | fatal |
Implementation
not(
$GRSupplierCountry= 'GR'
and
cbc:DocumentDescription = concat($VRBL-GR-Prefix, 'INVOICEURL')
)
or
boolean(cac:Attachment/cac:ExternalReference/cbc:URI)