ErrorPeppol BIS 3.0Input required

PEPPOL-COMMON-R042

Danish organization number (CVR) MUST be stated in the correct format.

What does this rule mean?

An identifier declared as a Danish CVR number does not match the required format.

The scheme identifier promises the value comes from that register, so Peppol checks it: Eight digits with a check digit. If the format is wrong the receiver cannot resolve the party.

Official rule message (standard)

Danish organization number (CVR) MUST be stated in the correct format.

Where the rule applies

Syntax: CII · UBL

The same rule, expressed twice: UBL and CII name the same fields with different paths. Running a CII file against the UBL rules is why you get errors that mean nothing.

UBL

  • cbc:EndpointID[@schemeID = '0184'] | cac:PartyIdentification/cbc:ID[@schemeID = '0184'] | cbc:CompanyID[@schemeID = '0184']

CII

  • ram:URIID[@schemeID = '0184'] | ram:ID[@schemeID = '0184'] | ram:GlobalID[@schemeID = '0184']

Technical test

The rule passes when this Schematron expression holds true:

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

How to fix it

A missing or incorrect business entry only you can supply. Add or correct it, then re-check.

Correct the identifier — or, if it comes from a different register, correct the schemeID.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library