← All e-invoice error codes

BR-DE-25-a XRechnung: direct debit details missing

For a SEPA direct debit (code 59), an XRechnung must include exactly one set of direct debit details.

Auf Deutsch · En français

What the rule says

Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), muss genau BG-19 "DIRECT DEBIT" übermittelt werden.

The rule's official wording (CEN / KoSIT). The German XRechnung rules are published in German.

Why it happens

The payment method is SEPA direct debit (BT-81 = 59), but the invoice has none of the direct debit details (BG-19): mandate reference, creditor ID or the customer's IBAN.

How to fix it

Add the mandate reference, your SEPA creditor ID and the customer's IBAN from the signed mandate.

Applies to

XRechnung only (German rules by KoSIT).

More about BR-DE-25-a

XRechnung checks that the payment details match the payment method code (BT-81): a transfer comes with bank account details for the payee (BG-17), a card payment with card details (BG-18), a direct debit with mandate details (BG-19), and each method with its own group only.

A direct debit tells the customer in advance what you'll collect and from where, so the invoice needs the mandate details. BR-DE-30 and BR-DE-31 then check that the creditor ID and the customer's IBAN are both there.

The fields involved

BT-81 Payment means type code
CII ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode
UBL cac:PaymentMeans/cbc:PaymentMeansCode
BG-19 Direct debit
CII ram:SpecifiedTradePaymentTerms/ram:DirectDebitMandateID, ram:CreditorReferenceID, ram:PayerPartyDebtorFinancialAccount
UBL cac:PaymentMeans/cac:PaymentMandate
BT-90 Bank assigned creditor identifier
CII ram:ApplicableHeaderTradeSettlement/ram:CreditorReferenceID
UBL cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID schemeID="SEPA"
BT-91 Debited account identifier
CII ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID
UBL cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID

Typical situations

  • Code 59 was chosen, but the mandate details were never entered.
  • The software writes the debit details only to the PDF text.

Example

A complete SEPA direct debit, in CII:

<ram:CreditorReferenceID>DE98ZZZ09999999999</ram:CreditorReferenceID>
...
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:TypeCode>59</ram:TypeCode>
  <ram:PayerPartyDebtorFinancialAccount>
    <ram:IBANID>DE02120300000000202051</ram:IBANID>
  </ram:PayerPartyDebtorFinancialAccount>
</ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradePaymentTerms>
  <ram:DirectDebitMandateID>MANDAT-2026-017</ram:DirectDebitMandateID>
</ram:SpecifiedTradePaymentTerms>