A UBL invoice should not include the SalesOrderID scheme identifier
/ubl:Invoice | /cn:CreditNote
not(cbc:SalesOrderID/@schemeID)