fatalPeppol BIS Billing 3.0profileCIIUBL
The last digit of a Swedish organization number must be valid according to the Luhn algorithm.
The check digit of the Swedish organisation number fails the Luhn algorithm, so the number is mistyped or invented.
Re-enter the number from the register. The last digit is a Luhn checksum over the first nine, so a single transposed pair of digits is caught here.
CII — context rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization[../ram:PostalTradeAddress/ram:CountryID = 'SE' and ram:ID]
u:checkSEOrgnr(normalize-space(ram:ID))
UBL — context //cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity[../cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'SE' and cbc:CompanyID]
u:checkSEOrgnr(normalize-space(cbc:CompanyID))