Peppol BIS Billing 3.0.21 · UBL

DK-R-007: For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DK-R-007]-For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when payment means is 49

Stored validation assertion
not((cbc:PaymentMeansCode = '49')       and not((normalize-space(cac:PaymentMandate/cbc:ID/text()) != '')           and (normalize-space(cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID/text()) != ''))       )

DK-R-007 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 invoices where both the supplier and customer country are 'DK', if the payment means code is '49', the PaymentMandate/ID and PaymentMandate/PayerFinancialAccount/ID must both be present and non-empty. The rule is fatal, so an invoice that has payment means 49 but is missing either value fails validation.

How to fix

In the relevant cac:PaymentMeans element with cbc:PaymentMeansCode '49', add or populate cac:PaymentMandate/cbc:ID and cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID with non-empty values. If the payment data is not available, check the data source or system generating the invoice.

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-007.

Validate an invoice against these rules · All release changes