# BR-DE-19 SEPA payment account should contain a valid IBAN

For SEPA credit transfer (code 58 in BT-81), the payment account identifier (BT-84) should be a valid IBAN. The XRechnung rules check its format and its check digits (modulo 97). BR-DE-19 is a warning, not an error.

## Problem Description

> **WARNING**: German XRechnung rule (KoSIT, BR-DE) · XRechnung 3.0

> **Where BR-DE-19 is checked**
>
> A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-DE-19: XRechnung rule (Germany), reported in the stage “National rules (CIUS)”.

## Solution

Normalize spaces, remove labels such as IBAN:, and store only the IBAN value in BT-84.

- [Check XML for free](/en/xrechnung-validator?source=resource&rule=BR-DE-19)

## Context and Significance

Many exports carry bank details as display text. Validators expect the structured account field to contain only the routable identifier.

## Valid Examples

- DE89370400440532013000

## Invalid Examples

- IBAN: DE89 3704 0044 0532 0130 00
- Example Bank checking account

## Code Examples

### Valid XML
```
<cac:PaymentMeans>
  <cbc:PaymentMeansCode>58</cbc:PaymentMeansCode>
  <cac:PayeeFinancialAccount>
    <cbc:ID>DE89370400440532013000</cbc:ID>
  </cac:PayeeFinancialAccount>
</cac:PaymentMeans>
```

### Invalid XML
```
<cac:PaymentMeans>
  <cbc:PaymentMeansCode>58</cbc:PaymentMeansCode>
  <cac:PayeeFinancialAccount>
    <cbc:ID>IBAN: DE89 3704 0044 0532 0130 00</cbc:ID>
  </cac:PayeeFinancialAccount>
</cac:PaymentMeans>
```

## Affected Fields

- [BT-81 Payment means type code](/resources/xrechnung/bt-81-payment-means-type-code)
- [BT-84 Payment account identifier](/resources/xrechnung/bt-84-payment-account-identifier)

## Related Rules

- [BR-61](/resources/kosit-validator-errors/br-61-credit-transfer-account-required)

## Validation Tools

- [Official KoSIT Validator](https://github.com/itplr-kosit/validator): Run the official KoSIT validator with the XRechnung configuration to check EN 16931 and XRechnung rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Find validation errors during conversion and review each correction.

## Related Resources

- [Official Specification](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [All validation errors](/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
