VRBL-INV-AE-1p0-109

Basic Info

Rule The Seller Party Legal Entity Company ID Scheme Agency Name MUST be provided when the Seller Party Legal Entity Company ID Scheme Agency ID type is 'TL' (Commercial/Trade license).
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(@schemeAgencyID = 'TL')
or
@schemeAgencyName