Peppol BIS Billing 3.0.15 · UBL

DK-R-008: For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15#…

Peppol BIS Billing 3.0.15 · UBL

fatalcountry

Original rule text

For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro)

Stored validation assertion
not((cbc:PaymentMeansCode = '50')       and not(((substring(cbc:PaymentID, 1, 3) = '01#')           or (substring(cbc:PaymentID, 1, 3) = '04#')           or (substring(cbc:PaymentID, 1, 3) = '15#'))         and (string-length(cac:PayeeFinancialAccount/cbc:ID/text()) = 7)         )       )

DK-R-008 is a fatal rule in the country layer of Peppol BIS Billing 3.0.15 · UBL. An invoice that breaks it is rejected.

Where to go next

DK-R-008 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes