← All e-invoice error codes

BR-DE-30 XRechnung: creditor ID for the direct debit missing

When an XRechnung has direct debit details, it must include the seller's SEPA creditor ID.

Auf Deutsch · En français

What the rule says

Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Bank assigned creditor identifier" BT-90 übermittelt werden.

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

Why it happens

The invoice has direct debit details (BG-19), such as a mandate reference or the customer's IBAN, but no bank assigned creditor identifier (BT-90).

How to fix it

Add your SEPA creditor ID (Gläubiger-ID, in Germany issued by the Bundesbank, such as DE98ZZZ09999999999).

Applies to

XRechnung only (German rules by KoSIT).

More about BR-DE-30

Anyone who collects SEPA direct debits needs a creditor ID, and it appears on every pre-notification. XRechnung asks for it as soon as the invoice contains any direct debit detail. In Germany you apply for it free of charge at the Deutsche Bundesbank.

The fields involved

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"

Typical situations

  • The mandate reference was entered, but not the creditor ID.
  • The creditor ID is printed on the PDF but missing in the data.

Example

The creditor ID 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>