Rules / IBR-127
Swedish organization number must be stated in the correct format for endpoints,, party identification,,, legal entities,,
Swedish organization number must be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061).
Fails when this is false
string-length(normalize-space()) = 10 and string(number(normalize-space())) != 'NaN'The schematron test, verbatim. Context: cbc:EndpointID[@schemeID = '0007'] | cac:PartyIdentification/cbc:ID[@schemeID = '0007'] | cbc:CompanyID[@schemeID = '0007']
Fix
Change the data so the condition below holds. Paste the invoice into the validator to see the exact element that fails.