warningEN 16931syntax binding ruleUBL
A UBL invoice shall not include the Invoice ID scheme identifier
The invoice number carries a schemeID attribute.
Remove schemeID from cbc:ID. The invoice number is a plain string; there is no scheme for it.
UBL — context /ubl:Invoice | /cn:CreditNote
not(cbc:ID/@schemeID)