← All e-invoice error codes

BR-DE-23-b XRechnung: transfer mixed with card or direct debit

A credit transfer must not come with card or direct debit details.

Auf Deutsch · En français

What the rule says

Wenn BT-81 "Payment means type code" einen Schlüssel für Überweisungen enthält (30, 58), dürfen BG-18 und BG-19 nicht übermittelt werden.

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

Why it happens

The payment method is a credit transfer (code 30 or 58), but the invoice also has card details (BG-18) or direct debit details (BG-19).

How to fix it

Remove the card and direct debit details, or, if the customer pays another way, change the payment method code.

Applies to

XRechnung only (German rules by KoSIT).

More about BR-DE-23-b

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.

This usually means leftovers: a creditor ID or mandate reference saved in the company settings is written into every invoice, even those paid by transfer.

The fields involved

BT-81 Payment means type code
CII ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode
UBL cac:PaymentMeans/cbc:PaymentMeansCode
BG-17 Credit transfer
CII ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount
UBL cac:PaymentMeans/cac:PayeeFinancialAccount
BG-18 Payment card information
CII ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard
UBL cac:PaymentMeans/cac:CardAccount
BG-19 Direct debit
CII ram:SpecifiedTradePaymentTerms/ram:DirectDebitMandateID, ram:CreditorReferenceID, ram:PayerPartyDebtorFinancialAccount
UBL cac:PaymentMeans/cac:PaymentMandate

Typical situations

  • The SEPA creditor ID is written into every invoice.
  • A customer switched from direct debit to transfer, and the mandate stayed.

Example

A transfer on its own, in CII:

<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:TypeCode>58</ram:TypeCode>
  <ram:PayeePartyCreditorFinancialAccount>
    <ram:IBANID>DE89370400440532013000</ram:IBANID>
  </ram:PayeePartyCreditorFinancialAccount>
</ram:SpecifiedTradeSettlementPaymentMeans>