The last digit of a Swedish organization number must be valid according to the Luhn algorithm.
//cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity[../cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'SE' and cbc:CompanyID]
u:checkSEOrgnr(normalize-space(cbc:CompanyID))