BR-NL-31

The rule sets below word this rule differently; each wording is shown with its rule set.

warning: reported, still valid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

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)

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)

Checked with Netherlands SI-UBL 2.0 Invoice (NLCIUS), Netherlands SI-UBL 2.0 Credit Note (NLCIUS)

Message

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)

Context
ram:SpecifiedTradeSettlementPaymentMeans[$s]
Test
not((ram:TypeCode = 58 or ram:TypeCode = 59)) or not(ram:PayerSpecifiedDebtorFinancialInstitution/ram:BICID or ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID)

Checked with Netherlands NLCIUS Invoice (CII)