Peppol BIS Billing 3.0.21 · UBL

DE-R-025-2: 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-2]-If both supplier and customer are located in Germany, and if "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided.

Stored validation assertion
not(cac:PayeeFinancialAccount) and                     not(cac:CardAccount)

DE-R-025-2 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-17, BG-18.

What this rule requires

The rule checks every PaymentMeans element whose PaymentMeansCode is 59 (direct debit). If both the supplier country and the customer country are DE (normalized, case-insensitive), then that PaymentMeans must not contain a cac:PayeeFinancialAccount (BG-17) or a cac:CardAccount (BG-18). If either child element is present, the invoice fails this fatal rule.

How to fix

In the affected PaymentMeans element (or elements) with PaymentMeansCode 59 and both party country codes DE, remove the cac:PayeeFinancialAccount and cac:CardAccount child elements. If your system generates these elements automatically for direct debit, adjust the mapping so they are omitted for this country combination. Alternatively, review whether the payment means code should be 59; the rule does not specify allowed alternatives.

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

Where to go next

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

Validate an invoice against these rules · All release changes