# BR-NL-31

Source: https://xmlvalid.com/rules/BR-NL-31

> The use of a payment service provider identifier (cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID) is not recommended for SEPA payments (cac:PaymentMeans/cbc:PaymentMeansCode = 58 or 59)

- Level: warning
- Rule sets: SI-UBL 2.0 rules (NLCIUS, UBL) 2.0.3.13, SI-UBL 2.0 G-account rules (NLCIUS, UBL) 1.0.2.13
- Context: `cac:PaymentMeans[$s]`
- Test: `not((normalize-space(cbc:PaymentMeansCode) = '58' or normalize-space(cbc:PaymentMeansCode) = '59')) or not(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID)`

> The use of a payment service provider identifier (ram:PayerSpecifiedDebtorFinancialInstitution/ram:BICID or ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID) is not recommended for SEPA payments (ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode = 58 or 59)

- Level: warning
- Rule sets: NLCIUS rules (CII) 1.0.3.13
- Context: `ram:SpecifiedTradeSettlementPaymentMeans[$s]`
- Test: `not((ram:TypeCode = 58 or ram:TypeCode = 59)) or not(ram:PayerSpecifiedDebtorFinancialInstitution/ram:BICID or ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID)`

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