Peppol BIS Billing 3.0.21 · UBL

DE-R-025-1: If both supplier and customer are located in Germany, and if "Payment means type code"…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DE-R-025-1]-If both supplier and customer are located in Germany, and if "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided.

Stored validation assertion
cac:PaymentMandate

DE-R-025-1 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-81, BG-19.

What this rule requires

The rule requires that when both the supplier and the customer are located in Germany (country code DE) and a payment means has the code '59' for direct debit, the cac:PaymentMeans element must contain a cac:PaymentMandate child element. This corresponds to the 'DIRECT DEBIT' group (BG-19) in the message. The test only checks for the presence of cac:PaymentMandate; it does not check its contents.

How to fix

Ensure that every cac:PaymentMeans element whose cbc:PaymentMeansCode is '59' and whose invoice has supplier and customer country codes equal to 'DE' contains a cac:PaymentMandate child element. If the element is missing, add it as a direct child of the relevant cac:PaymentMeans.

Guidance on this rule. The original text above is authoritative.

Where to go next

DE-R-025-1 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes