VRBL-INV-AE-1p0-95

Basic Info

Rule The(Seller Legal Registration ID MUST be provided when the Seller Endpoint ID Scheme ID is '0235'.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

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