einvoice / EN 16931 / XRechnung rule reference

BR-DE-20

With payment means code 59 (SEPA direct debit), BT-91 should be a correct IBAN.

"Debited account identifier" (BT-91) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 59 SEPA als Zahlungsmittel gefordert wird.

Deutsche Fassung: Amtlicher KoSIT-Text (official KoSIT assert text).

Requires
with payment means code 59 (SEPA direct debit), BT-91 should be a correct IBAN.
Business terms
BT-81 BT-91
Syntax
Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
Location (UBL-2.1 path)
/ubl:Invoice/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59']
Fix
Correct `/ubl:Invoice/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59']` so that with payment means code 59 (SEPA direct debit), BT-91 should be a correct IBAN.
Fix (Deutsch)
Korrigieren Sie `/ubl:Invoice/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59']`, sodass gilt: "Debited account identifier" (BT-91) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 59 SEPA als Zahlungsmittel gefordert wird.
Severity
warning
Provenance source
xrechnung-ubl
Provenance assert

"Debited account identifier" (BT-91) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 59 SEPA als Zahlungsmittel gefordert wird.

The Location above is a UBL-2.1 path, and no UN/CEFACT-CII path for this rule is published here; Fix and Fix (Deutsch), verbatim from remediation_catalog.json and not reworded here; the UN/CEFACT-CII binding of this rule is differentially proven against the official KoSIT XRechnung 2.5.0 (XRechnung 3.0.2) Schematron.

Everything here is free and open source — pick up whatever helps, at your own pace: