DK-R-010: For Danish Suppliers using PaymentMeansCode 93, PaymentID is mandatory. The first three…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DK-R-010]-For Danish Suppliers using PaymentMeansCode 93, PaymentID is mandatory. The first three characters of the PaymentID MUST be 71#, 73# or 75# (kortartskode), and PayeeFinancialAccount/ID MUST be exactly 8 characters long.
not((cbc:PaymentMeansCode = '93')
and not(((substring(cbc:PaymentID, 1, 3) = '71#')
or (substring(cbc:PaymentID, 1, 3) = '73#')
or (substring(cbc:PaymentID, 1, 3) = '75#'))
and (string-length(cac:PayeeFinancialAccount/cbc:ID/text()) = 8)
)
)DK-R-010 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
For an invoice where both supplier and customer country codes are DK, if cbc:PaymentMeansCode is 93, the rule requires cbc:PaymentID to be present and its first three characters to be one of 71#, 73#, or 75# (the "kortartskode"), and the text of cac:PayeeFinancialAccount/cbc:ID to have exactly 8 characters. The test fails when the payment means code is 93 but the payment ID prefix is not one of those three or the account ID length is not exactly 8. This is a fatal rule, so a document that does not satisfy it is rejected.
How to fix
When using cbc:PaymentMeansCode value 93, ensure cbc:PaymentID is present and its first three characters are exactly 71#, 73#, or 75#. Ensure cac:PayeeFinancialAccount/cbc:ID contains exactly 8 characters, with no leading or trailing spaces or other extra characters. If these conditions cannot be met, do not use payment means code 93.
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-010.
Validate an invoice against these rules · All release changes