DE-R-031: If both supplier and customer are located in Germany, and if the group "DIRECT DEBIT"…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[DE-R-031]-If both supplier and customer are located in Germany, and if the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided.
not(cac:PaymentMeans/cac:PaymentMandate) or (cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID)DE-R-031 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 BG-19, BT-91.
What this rule requires
The rule applies when the supplier country and customer country are both DE. If cac:PaymentMeans/cac:PaymentMandate (the direct debit group) is present, the invoice must also contain cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID as the debited account identifier. If there is no PaymentMandate, the rule passes; otherwise missing the cbc:ID causes a fatal validation error.
How to fix
Either remove cac:PaymentMeans/cac:PaymentMandate if direct debit is not used, or add cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID with the debited account identifier. The rule does not require a specific format for the identifier beyond the element being present with a value.
Guidance on this rule. The original text above is authoritative.
Where to go next
DE-R-031 changed in 1 published Peppol BIS Billing UBL release comparison:
- DE-R-031 in 3.0.17 → 3.0.18: New rule
Validate an invoice against these rules · All release changes