# BR-50 Credit transfer requires a payment account identifier

A Payment account identifier (BT-84) shall be present if Credit transfer (BG-17) information is provided in the Invoice.

## Problem Description

> **ERROR**: EN 16931 core business rule (CEN)

> **Where BR-50 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-50: EN 16931 core rule, reported in the stage “EN 16931 rules”.

## Solution

Provide cac:PayeeFinancialAccount/cbc:ID, usually the IBAN, for every credit transfer payment means group.

- [Check XML for free](/en/xrechnung-validator)

## Context and Significance

This is an EN 16931 core rule. BR-50 checks the credit transfer group (BG-17): once cac:PayeeFinancialAccount is present, its cbc:ID (BT-84), usually the IBAN, must not be empty. The difference from BR-61: BR-50 fires on an account group that is present but empty, while BR-61 fires when payment means code 30 or 58 has no account identifier at all. A typical cause is an export that writes an empty account element because the IBAN field in the master data is blank. In CII, BT-84 is ram:PayeePartyCreditorFinancialAccount/ram:IBANID or ram:ProprietaryID.

## Valid Examples

- BT-84 = DE89370400440532013000 with credit transfer

## Invalid Examples

- cac:PayeeFinancialAccount is present but its cbc:ID is empty or missing (<cac:PayeeFinancialAccount/>)

## 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/>
</cac:PaymentMeans>
```

## Affected Fields

- [BT-84 Payment account identifier](/en/resources/xrechnung/bt-84-payment-account-identifier)

## Related Rules

- [BR-49](/en/resources/kosit-validator-errors/br-49-payment-means-type-code-required)
- [BR-61](/en/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](/en/pdf-to-xrechnung): Find validation errors during conversion and review each correction.

## Related Resources

- [Official Specification](https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [All validation errors](/en/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
