DK-R-005: For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48,…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DK-R-005]-For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97
contains(' 1 10 31 42 48 49 50 58 59 93 97 ', concat(' ', cbc:PaymentMeansCode, ' '))DK-R-005 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 each cac:PaymentMeans in an invoice where both supplier and customer country codes are DK, the value of cbc:PaymentMeansCode must be one of: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93, 97. The test checks that the code, surrounded by spaces, is contained in the string ' 1 10 31 42 48 49 50 58 59 93 97 '. A document fails when any cac:PaymentMeans has a cbc:PaymentMeansCode that is not exactly one of these eleven values.
How to fix
Set cbc:PaymentMeansCode to one of the allowed values: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93, or 97. If there are multiple cac:PaymentMeans elements, each one must use an allowed code. Ensure that the chosen code accurately describes the payment method used.
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-005.
Validate an invoice against these rules · All release changes