DK-R-010: For Danish Suppliers using PaymentMeansCode 93, PaymentID is mandatory. The first three…
Peppol BIS Billing 3.0.20 · UBL
fatalcountry
Original rule text
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.
Stored validation assertion
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.20 · UBL. An invoice that breaks it is rejected.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to DK-R-010.