VRBL-INV-GR-1p0-10

Basic Info

Rule When the Seller Group is Greek, then the Buyer Group must provide their full name.
Context /ubl:Invoice/cac:AccountingCustomerParty
Pattern vrbl-invoice-gr-1p0
Severity fatal

Implementation

not($GRSupplierCountry= 'GR')
or
boolean(cac:Party/cac:PartyName/cbc:Name)
and
not(normalize-space(cac:Party/cac:PartyName/cbc:Name) = '')