errorcountryDNKOIOUBL (Denmark)

DK-R-016:For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)

Fix: Review your Invoice XML structure and correct the issue described by this rule. Check relevant cbc: and cac: elements per OIOUBL (Denmark) (DK-R-016).

Danish credit notes cannot have a negative PayableAmount. Credit notes should have positive amounts representing the credit being issued.

Severity
Fatal
Rule set
OIOUBL (Denmark)
Country
DNK
Fix type
BLOCKED

Engine Classification

Financial or legal field · Modification blocked by policy

Reason: Danish credit notes cannot have negative payable amounts. This may indicate the document type should be changed to an invoice, which requires business decision.

What is DK-R-016?

DK-R-016 is a fatal validation rule defined in the OIOUBL (Denmark) specification (DNK national rules).

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

This error requires manual correction — financial fields are protected by policy.

Why This Error Matters

Invoice will be rejected by Danish validation. Credit note amounts must be positive.

DK-R-016 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Validator Behavior

  • ·Causes invoice rejection
  • ·Fails UBL schema validation
  • ·Error returned: DK-R-016
  • ·Specification: OIOUBL (Denmark)

How to Fix It

1.

Identify the issue in your invoice

Danish credit notes cannot have a negative PayableAmount. Credit notes should have positive amounts representing the credit being issued.

2.

Correct this in your invoicing software

Review your Invoice XML structure and correct the issue described by this rule. Check relevant cbc: and cac: elements per OIOUBL (Denmark) (DK-R-016).

3.

Re-export and validate

Generate a new invoice export from your accounting system and re-validate to confirm DK-R-016 is resolved.

Before / After

Failing XML
<Invoice>
  <!-- Issue: Danish credit notes cannot have negative PayableAmount. -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per OIOUBL (Denmark) -->
</Invoice>

Technical Reference

SpecOIOUBL (Denmark)
StrategyBLOCKED: Negative credit note amount indicates a calculation or logical error. Cannot determine if amount should be made positive or if document type is wrong. Source system must clarify.

Common Causes

  • ·Negative total entered on credit note
  • ·Double negative from credit note reversal
  • ·Calculation error produced negative amount
  • ·Credit note confused with invoice adjustment
  • ·Amounts not properly signed for credit note

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

Frequently Asked Questions

Danish credit notes cannot have a negative PayableAmount. Credit notes should have positive amounts representing the credit being issued.

Review your Invoice XML structure and correct the issue described by this rule. Check relevant cbc: and cac: elements per OIOUBL (Denmark) (DK-R-016). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

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

Many instances of DK-R-016 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-016

Detect DK-R-016 before submission

This error involves a financial field that can't be auto-modified. We'll flag it with a clear diagnosis so you can fix it at the source.