Error codes

BR-DE-25-b: Credit transfer or card sent together with a direct debit

Severity: fatal · Syntax: CII, UBL

Official message

Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), dürfen BG-17 und BG-18 nicht übermittelt werden.

What this means

If BT-81 is 59, BG-17 and BG-18 must not be transmitted. UBL checks not(cac:PayeeFinancialAccount) and not(cac:CardAccount).

Typical cause

The direct debit also contains a credit-transfer payee account or a card account.

How to fix it

Remove PayeeFinancialAccount and CardAccount when the code is 59.

UBL

<!-- BT-81 = 59: kein cac:PayeeFinancialAccount und kein cac:CardAccount -->

CII

<!-- BT-81 = 59: no payee financial account and no card account -->

Business term

BT-81, BG-17, BG-18

Related rules

Context and assertion

UBL /ubl:Invoice/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59'] | /cn:CreditNote/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59']

CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans[normalize-space(ram:TypeCode) = '59']

UBL

not(cac:PayeeFinancialAccount) and not(cac:CardAccount)

CII

not(ram:PayeePartyCreditorFinancialAccount) and not(ram:PayeeSpecifiedCreditorFinancialInstitution) and not(ram:PayerSpecifiedDebtorFinancialInstitution) and not(ram:ApplicableTradeSettlementFinancialCard)

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-DE-25-b actually check?

If BT-81 is 59, BG-17 and BG-18 must not be transmitted. UBL checks not(cac:PayeeFinancialAccount) and not(cac:CardAccount).

How do I fix BR-DE-25-b?

Remove PayeeFinancialAccount and CardAccount when the code is 59.

If BR-DE-25-b passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.