Faktura

PEPPOL-COMMON-R053

warningPeppol BIS Billing 3.0profileCIIUBL

Danish ERSTORG number (SE) MUST be stated in the correct format.

Why it fails

A Danish SE number is malformed.

How to fix it

Eight digits with a valid modulus-11 check digit.

What the validator checks

CII — context ram:URIID[@schemeID = '0198'] | ram:ID[@schemeID = '0198'] | ram:GlobalID[@schemeID = '0198']

(string-length(string()) = 10) and (substring(string(), 1, 2) = 'DK') and (string-length(translate(substring(string(), 3, 8), '1234567890', '')) = 0)

UBL — context cbc:EndpointID[@schemeID = '0198'] | cac:PartyIdentification/cbc:ID[@schemeID = '0198'] | cbc:CompanyID[@schemeID = '0198']

(string-length(string()) = 10 and substring(string(), 1, 2) = 'DK' and string-length(translate(substring(string(), 3, 8), '1234567890', '')) = 0)

Related rules

Part of PEPPOL-COMMON — Peppol identifier formats.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.