VRBL-INV-GR-1p0-9

Basic Info

Rule When the Seller Group is Greek, then the Buyer Group must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (@schemeID 9933).
Context /ubl:Invoice/cac:AccountingCustomerParty
Pattern vrbl-invoice-gr-1p0
Severity fatal

Implementation

not($GRSupplierCountry= 'GR')
or
boolean(cac:Party/cbc:EndpointID[normalize-space(@schemeID) = '9933'])