# BR-50

Source: https://xmlvalid.com/rules/BR-50

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

- Level: error
- Rule sets: EN 16931 rules (UBL) 1.3.17, EN 16931 rules 1.3.16 (UBL), EXTENDED-CTC-FR rules (UBL) 1.4.0.04
- Context: `cac:PaymentMeans[cbc:PaymentMeansCode='30' or cbc:PaymentMeansCode='58']/cac:PayeeFinancialAccount`
- Test: `normalize-space(cbc:ID) != ''`

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

- Level: error
- Rule sets: EN 16931 rules (CII) 1.3.17, EN 16931 rules 1.3.16 (CII), EXTENDED-CTC-FR rules (CII) 1.4.0.04, Factur-X BASIC WL rules 1.09, Factur-X EN 16931 rules 1.09.2, Factur-X EXTENDED rules 1.09.2
- Context: `//ram:SpecifiedTradeSettlementPaymentMeans[ram:TypeCode='30' or ram:TypeCode='58']/ram:PayeePartyCreditorFinancialAccount`
- Test: `normalize-space(ram:IBANID) != '' or normalize-space(ram:ProprietaryID) != ''`

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

- Level: error
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cac:PaymentMeans[cbc:PaymentMeansCode='30' or cbc:PaymentMeansCode='58']/cac:PayeeFinancialAccount`
- Test: `(cbc:ID) != ''`

Validate a document against these rules: https://xmlvalid.com/validate
