PEPPOL-COMMON-R052:Danish Chamber of Commerce P-Number Format Invalid
Fix: Ensure the P-number contains exactly 10 digits with no spaces, dashes, or prefix characters. Look up the correct P-number at datacvr.virk.dk. Upload your invoice to fix this automatically.
PEPPOL-COMMON-R052 validates that a Danish chamber of commerce production unit number (P-number) is in the correct format. The P-number must consist of exactly 10 digits. This rule fires when a party identifier uses scheme 0198 but the value does not meet the format requirements.
Engine Classification
Strip non-numeric characters, validate length is exactly 10 digits.
Confidence: 88% · Applied automatically in pipeline
What is PEPPOL-COMMON-R052?
PEPPOL-COMMON-R052 is a warning validation rule defined in the Peppol BIS 3.0 specification (DK national rules). It validates the The Schematron rule checks that when an endpoint or party identifier uses schemeID 0198 (DK:DIGST P-number), the value must match exactly 10 numeric characters. The P-number (produktionsenhedsnummer) is assigned by the Danish Business Authority (Erhvervsstyrelsen). element in the UBL invoice XML.
The invoice may pass transmission, but this non-compliance can cause problems during tax audits or buyer-side processing.
Target path: The Schematron rule checks that when an endpoint or party identifier uses schemeID 0198 (DK:DIGST P-number), the value must match exactly 10 numeric characters. The P-number (produktionsenhedsnummer) is assigned by the Danish Business Authority (Erhvervsstyrelsen).
Why This Error Matters
Incorrect P-numbers mean the invoice may not route correctly in NemHandel. A malformed P-number could cause delivery to the wrong department or rejection by the receiver.
PEPPOL-COMMON-R052 is a soft failure that can cause issues at the receiving end — tax audits, ERP processing, or VAT reconciliation mismatches.
Invoice may route incorrectly in NemHandel or be rejected.
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
- ·Generates validation warning
- ·Rejected by PEPPOL Access Points
- ·Error returned: PEPPOL-COMMON-R052
- ·Specification: Peppol BIS 3.0
How to Fix It
Before / After
<cbc:EndpointID schemeID="0198">P-123456</cbc:EndpointID>
<cbc:EndpointID schemeID="0198">1234567890</cbc:EndpointID>
Technical Reference
The Schematron rule checks that when an endpoint or party identifier uses schemeID 0198 (DK:DIGST P-number), the value must match exactly 10 numeric characters. The P-number (produktionsenhedsnummer) is assigned by the Danish Business Authority (Erhvervsstyrelsen).Common Causes
- ·Copying P-number with P- prefix instead of just digits.
- ·Confusing P-number (10 digits, 0198) with CVR number (8 digits, 0184).
- ·Truncating or padding the P-number.
- ·Using EAN/GLN (13 digits, 0088) in the P-number field.
Seeing this in production? The API handles PEPPOL-COMMON-R052 automatically. See the fix response →
Commonly Seen In
Frequently Asked Questions
A 10-digit identifier assigned by the Danish Business Authority to each production unit. Used with scheme ID 0198.
CVR is 8 digits for the legal entity (scheme 0184). P-number is 10 digits for a specific production unit (scheme 0198).
Use https://datacvr.virk.dk — search by company name or CVR number.
It strips prefixes/spaces and flags CVR vs P-number confusion for manual review.
Related Errors
Related Content
Last updated: 25 March 2026
Validate your invoice
Drop your XML here to check for PEPPOL-COMMON-R052
Auto-fix PEPPOL-COMMON-R052 in seconds
Upload your invoice and we fix this error automatically. Financial fields are never touched.