errorcountryDNKOIOUBL (Denmark)

DK-R-013:Danish suppliers must specify the schemeID when using PartyIdentification/ID...

Fix: Danish suppliers must specify the schemeID when using PartyIdentification/ID for either supplier or customer. The scheme identifies what type of ID is being used. Upload your invoice to fix this automatically.

Danish suppliers must specify the schemeID when using PartyIdentification/ID for either supplier or customer. The scheme identifies what type of ID is being used.

Severity
Fatal
Rule set
OIOUBL (Denmark)
Country
DNK
Fix type
AUTO-FIX
Confidence
80%
Category
structural

Engine Classification

Ensure order reference is present for Danish public invoices

Confidence: 80% · Applied automatically in pipeline

What is DK-R-013?

DK-R-013 is a fatal validation rule defined in the OIOUBL (Denmark) specification (DNK national rules). It validates the ID element under OrderReference in the UBL invoice XML.

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

Target path: /Invoice/cac:OrderReference/cbc:ID

Why This Error Matters

Invoice will be rejected by Danish validation. Party IDs must include scheme identifier for proper interpretation.

DK-R-013 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
  • ·Fails UBL schema validation
  • ·Error returned: DK-R-013
  • ·Specification: OIOUBL (Denmark)

How to Fix It

1.

Find the missing or empty field

Check cbc:ID at /Invoice/cac:OrderReference/cbc:ID. This field is required but is either missing or empty.

2.

Set the required value

Danish suppliers must specify the schemeID when using PartyIdentification/ID for either supplier or customer. The scheme identifies what type of ID is being used.

3.

Re-validate your invoice

Upload the corrected invoice to confirm DK-R-013 is resolved.

Before / After

Failing XML
<Invoice>
  <!-- Issue: For Danish Suppliers it is mandatory to use schemeID when Pa -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per OIOUBL (Denmark) -->
</Invoice>

Technical Reference

XPath/Invoice/cac:OrderReference/cbc:ID
SpecOIOUBL (Denmark)
Operationset_default
StrategyEnsure order reference is present for Danish public invoices

Common Causes

  • ·SchemeID missing from party identification
  • ·ID provided without scheme identifier
  • ·ERP does not export scheme information
  • ·Party ID copied without scheme attribute
  • ·Manual invoice creation missed scheme requirement

Seeing this in production? The API handles DK-R-013 automatically. See the fix response →

Frequently Asked Questions

Danish suppliers must specify the schemeID when using PartyIdentification/ID for either supplier or customer. The scheme identifies what type of ID is being used.

Danish suppliers must specify the schemeID when using PartyIdentification/ID for either supplier or customer. The scheme identifies what type of ID is being used. You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, DK-R-013 is a critical error that will cause invoice rejection. It must be fixed before submission.

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

Related Errors

Related Content

Last updated: 14 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for DK-R-013

Auto-fix DK-R-013 in seconds

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