DK-R-011: For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 digits…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DK-R-011]-For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment Method equals 93 (FIK)
not((cbc:PaymentMeansCode = '93') and ((substring(cbc:PaymentID, 1, 3) = '71#') or (substring(cbc:PaymentID, 1, 3) = '75#')) and not((string-length(cbc:PaymentID) = 18) or (string-length(cbc:PaymentID) = 19)) )DK-R-011 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule applies to cac:PaymentMeans when both supplier and customer country are DK. If cbc:PaymentMeansCode equals 93 and cbc:PaymentID begins with 71# or 75#, then cbc:PaymentID must have a total length of 18 or 19 characters. The document fails when the code is 93, the prefix is present, and the length is neither 18 nor 19. The rule message describes this as adding a 15-16 digit instruction ID to the PaymentID, e.g. 71#1234567890123456.
How to fix
In the cac:PaymentMeans element where cbc:PaymentMeansCode is 93, ensure cbc:PaymentID has total length 18 or 19 characters when it starts with 71# or 75#. For example, a value like 71#1234567890123456 has the prefix plus 16 digits (total 19). The rule only checks total length; the message expects the remaining part to be 15 or 16 digits.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to DK-R-011.
Validate an invoice against these rules · All release changes