Peppol BIS Billing 3.0.21 · UBL

DE-R-030: If both supplier and customer are located in Germany, and if the group "DIRECT DEBIT"…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DE-R-030]-If both supplier and customer are located in Germany, and if the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided.

Stored validation assertion
not(cac:PaymentMeans/cac:PaymentMandate)                        or (cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID='SEPA']                          | cac:PayeeParty/cac:PartyIdentification/cbc:ID[@schemeID='SEPA'])

DE-R-030 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-90.

What this rule requires

This fatal rule applies when both the supplier and customer are located in Germany. If the invoice contains a direct debit mandate (cac:PaymentMeans/cac:PaymentMandate), then a SEPA creditor identifier (cbc:ID[@schemeID='SEPA']) must be present in either the supplier's party identification or the payee's party identification. The test passes either when no cac:PaymentMeans/cac:PaymentMandate exists, or when such a SEPA ID exists.

How to fix

If direct debit is used, add a cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID with schemeID='SEPA' containing the creditor identifier (BT-90), or add it under cac:PayeeParty/cac:PartyIdentification/cbc:ID. If direct debit is not used, remove the cac:PaymentMeans/cac:PaymentMandate element so the rule is satisfied by the not(...) branch.

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

Where to go next

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

Validate an invoice against these rules · All release changes