errorbusinessPeppol BIS 3.0

PEPPOL-COMMON-R042:Danish organization number (CVR) MUST be stated in the correct format.

Fix: Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (PEPPOL-COMMON-R042). Upload your invoice to fix this automatically.

Danish organization numbers (CVR) must follow the correct format. CVR is an 8-digit identifier assigned by the Danish Business Authority.

Severity
Fatal
Rule set
Peppol BIS 3.0
Country
All EU
Fix type
AUTO-FIX
Confidence
90%
Category
identifier

Engine Classification

Normalize Danish CVR number to 8 digits

Confidence: 90% · Applied automatically in pipeline

What is PEPPOL-COMMON-R042?

PEPPOL-COMMON-R042 is a fatal validation rule defined in the Peppol BIS 3.0 specification. It validates the CompanyID element in the UBL invoice XML.

When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.

Target path: //cbc:CompanyID[@schemeID='0184']

Why This Error Matters

Invoice will be rejected by PEPPOL validation. Danish recipients require valid CVR numbers for business identification.

PEPPOL-COMMON-R042 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Rejected by PEPPOL Access Points
  • ·Error returned: PEPPOL-COMMON-R042
  • ·Specification: Peppol BIS 3.0

How to Fix It

1.

Find the incorrectly formatted value

Check cbc:CompanyID[@schemeID='0184'] at //cbc:CompanyID[@schemeID='0184']. The current value does not match the required format.

2.

Apply the correct format

Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (PEPPOL-COMMON-R042).

3.

Update your export settings

If this occurs consistently, check your invoicing software's locale and format settings for XML export. Re-validate to confirm PEPPOL-COMMON-R042 is resolved.

Before / After

Failing XML
<Invoice>
  <!-- Issue: Danish CVR number must be exactly 8 digits -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per Peppol BIS 3.0 -->
</Invoice>

Technical Reference

XPath//cbc:CompanyID[@schemeID='0184']
SpecPeppol BIS 3.0
Operationnormalize
StrategyNormalize Danish CVR number to 8 digits

Common Causes

  • ·Wrong number of digits in CVR
  • ·Spaces or formatting characters included
  • ·Missing leading zeros
  • ·Old format or wrong identifier type used
  • ·Typo in CVR number

Seeing this in production? The API handles PEPPOL-COMMON-R042 automatically. See the fix response →

Frequently Asked Questions

Danish organization numbers (CVR) must follow the correct format. CVR is an 8-digit identifier assigned by the Danish Business Authority.

Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (PEPPOL-COMMON-R042). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, PEPPOL-COMMON-R042 is a critical error that will cause invoice rejection. It must be fixed before submission.

Many instances of PEPPOL-COMMON-R042 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.

Related Content

Last updated: 14 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for PEPPOL-COMMON-R042

Auto-fix PEPPOL-COMMON-R042 in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.