EN16931 / XRechnung / Peppol BIS 3 Validator

PEPPOL-COMMON-R049

fatal UBL

Rule text

[PEPPOL-COMMON-R049]-Swedish organization number MUST be stated in the correct format.

Where the rule is checked

SyntaxSeverityContext (XPath)Test (XPath)
Peppol-UBLfatalcbc:EndpointID[@schemeID = '0007'] | cac:PartyIdentification/cbc:ID[@schemeID = '0007'] | cbc:CompanyID[@schemeID = '0007']string-length(normalize-space()) = 10 and string(number(normalize-space())) != 'NaN' and u:checkSEOrgnr(normalize-space())

Source: Peppol BIS Billing 3.0 Schematron, UBL (OpenPeppol, docs.peppol.eu validation artefacts 3.0.21).

Check your invoice against this rule