BR-DE-31

Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Debited account identifier" BT-91 übermittelt werden.

In English If a direct debit (BG-19) is given, the debited account identifier (BT-91) must be given.

error: the document is invalid XRechnung Fehlermeldungen und ihre Lösung →

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element

Context
/ubl:Invoice | /cn:CreditNote
Test
not(cac:PaymentMeans/cac:PaymentMandate) or (cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID)

Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)

Context
/rsm:CrossIndustryInvoice
Test
(($BT-89-path or $BT-90-path) and $BT-91-path) or $BG-19-not-existing

Checked with XRechnung 3.0 Invoice (CII)