VRBL-INV-AE-1p0-118

Basic Info

Rule When the Seller Endpoint ID Scheme ID is '0235' and the Seller Legal Registration ID is provided, the Seller Party Legal Entity Company ID Scheme Agency ID MUST be present.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(cbc:EndpointID/@schemeID = '0235' and cac:PartyLegalEntity/cbc:CompanyID)
or
cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID