EN16931 / XRechnung / Peppol BIS 3 Validator

SE-R-001

fatal UBL

Rule text

[SE-R-001]-For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters.

Where the rule is checked

SyntaxSeverityContext (XPath)Test (XPath)
Peppol-UBLfatal//cac:AccountingSupplierParty/cac:Party[cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'SE' and cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/substring(cbc:CompanyID, 1, 2) = 'SE']string-length(normalize-space(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:CompanyID)) = 14

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

Check your invoice against this rule