PintLint

Rules / IBR-127

IBR-127 error

Swedish organization number must be stated in the correct format for endpoints

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 statement above is true. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check an invoice