Rules / IBR-150-AE
The Seller legal registration identifier must be provided when the scheme identifier is '0235'
The Seller legal registration identifier (IBT-030) must be provided when the scheme identifier (IBT-034-1) is '0235'.
Fails when this is false
not(cbc:EndpointID/@schemeID = "0235" and not(cac:PartyLegalEntity/cbc:CompanyID))The schematron test, verbatim. Context: cac:AccountingSupplierParty/cac:Party
Fix
Change the data so the condition below holds. It reads cac:PartyLegalEntity, cbc:CompanyID, cbc:EndpointID, @schemeID. Paste the invoice into the validator to see the exact element that fails.