DK-R-009: For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits…
Peppol BIS Billing 3.0.2 · UBL
fatalcountry
Original rule text
For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means equals 50 (Giro)
Stored validation assertion
not(($supplierCountry = 'DK') and (cbc:PaymentMeansCode = '50') and ((substring(cbc:PaymentID, 0, 4) = '04#') or (substring(cbc:PaymentID, 0, 4) = '15#')) and not(string-length(cbc:PaymentID) = 19) )
DK-R-009 is a fatal rule in the country layer of Peppol BIS Billing 3.0.2 · 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-009.