Home › Error code lexicon › BR-DE-23-a
BR-DE-23-a Field BG-17 German business rules (BR-DE)

Fix BR-DE-23-a: Account for credit transfer (BG-17) missing

If BT-81 "Payment means type code" contains a code for credit transfer (30, 58), BG-17 "CREDIT TRANSFER" must be provided.

BR-DE-23-a in your own invoice? Upload the file and find every error in seconds.

What does BR-DE-23-a mean?

With payment means 30 or 58 (credit transfer) the invoice must name the account the buyer pays to (BG-17). In CII it sits in 'ram:PayeePartyCreditorFinancialAccount' within the payment means. The rule comes from KoSIT (XRechnung) and is an error there. For ZUGFeRD our validator only reports it as info.

Common causes of BR-DE-23-a

How to fix BR-DE-23-a

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BG-17 along this XPath://ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount
  2. Apply the fix. With payment means 30 or 58 (credit transfer) the invoice must name the account the buyer pays to (BG-17). Enter the IBAN in 'ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', for example 'DE02120300000000202051'. If you collect the amount by direct debit, use payment means 59. For ZUGFeRD the validator only reports the rule as info; it applies to XRechnung.
  3. Validate again. Save the file and validate it again to check that BR-DE-23-a is no longer reported.
Concrete fix

With payment means 30 or 58 (credit transfer) the invoice must name the account the buyer pays to (BG-17). Enter the IBAN in 'ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', for example 'DE02120300000000202051'. If you collect the amount by direct debit, use payment means 59. For ZUGFeRD the validator only reports the rule as info; it applies to XRechnung.

XPath//ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount

Before / after: the XML example

This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).

Wrong
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:TypeCode>58</ram:TypeCode>
</ram:SpecifiedTradeSettlementPaymentMeans>
Correct
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:TypeCode>58</ram:TypeCode>
  <ram:PayeePartyCreditorFinancialAccount>
    <ram:IBANID>DE02120300000000202051</ram:IBANID>
  </ram:PayeePartyCreditorFinancialAccount>
</ram:SpecifiedTradeSettlementPaymentMeans>

Frequent questions about BR-DE-23-a

How do I fix BR-DE-23-a?
Enter the IBAN the buyer pays to in 'ram:PayeePartyCreditorFinancialAccount/ram:IBANID'. Without an account EN 16931 also reports CII-SR-470.
What does BR-DE-23-b check?
The second part of the same rule: with credit transfer the invoice must not contain card or direct debit data.

Related error codes

Check BR-DE-23-a automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online: upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file: you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice