errorDNKOIOUBL (Denmark)

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

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). It checks whether for danish suppliers, a credit note cannot have a negative total (payableamount).

When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.

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

Why This Error Matters

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

DK-R-016 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.

Validator Behavior

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

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 →

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle DK-R-016 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.