E-invoice error explained
Codes 30 (credit transfer) and 58 (SEPA credit transfer) mean that the buyer transfers the money to you.
Codes 30 (credit transfer) and 58 (SEPA credit transfer) mean that the buyer transfers the money to you. Your bank account must then be in group BG-17 (BR-DE-23-a). Card data (BG-18) and direct debit data (BG-19) must not be present at the same time (BR-DE-23-b).
BR-DE-23-a: If BT-81 "Payment means type code" contains a code for credit transfer (30, 58), BG-17 "CREDIT TRANSFER" must be transmitted.
BR-DE-23-b: If BT-81 "Payment means type code" contains a code for credit transfer (30, 58), BG-18 and BG-19 must not be transmitted.
Source: KoSIT configuration XRechnung 3.0.2 (31 Jan 2026).
Add ram:PayeePartyCreditorFinancialAccount with ram:IBANID (optionally ram:AccountName) to ram:SpecifiedTradeSettlementPaymentMeans, and ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID if needed. Remove ram:DirectDebitMandateID, ram:CreditorReferenceID, ram:PayerPartyDebtorFinancialAccount and ram:ApplicableTradeSettlementFinancialCard. If the customer pays by direct debit, use code 59.
Wrong (CII)
<ram:SpecifiedTradeSettlementPaymentMeans>
<ram:TypeCode>58</ram:TypeCode>
</ram:SpecifiedTradeSettlementPaymentMeans>Right (CII)
<ram:SpecifiedTradeSettlementPaymentMeans>
<ram:TypeCode>58</ram:TypeCode>
<ram:PayeePartyCreditorFinancialAccount>
<ram:IBANID>DE02120300000000202051</ram:IBANID>
<ram:AccountName>Muster GmbH</ram:AccountName>
</ram:PayeePartyCreditorFinancialAccount>
<ram:PayeeSpecifiedCreditorFinancialInstitution>
<ram:BICID>BYLADEM1001</ram:BICID>
</ram:PayeeSpecifiedCreditorFinancialInstitution>
</ram:SpecifiedTradeSettlementPaymentMeans>Sales / Project Operations: Sales and Project Operations have no e-invoice output out of the box. In the WBS Invoice Accelerator for Dynamics 365 the Accelerator writes code 58 only when the brand profile has an IBAN, and then always with the IBAN and BIC. It writes no direct debit or card data.
Business Central: Fill IBAN and SWIFT Code on the Company Information page.
Finance: The bank account in the legal entity's Bank account field (Bank account information FastTab) needs a valid IBAN.
Check your invoice for free. The validator shows every finding with an explanation and its location in the XML.