"Payment account identifier" (BT-84) should contain a valid IBAN if SEPA is required as the payment means with code 58 in "Payment means type code" (BT-81).
When ram:TypeCode has the value 58, ram:PayeePartyCreditorFinancialAccount/ram:IBANID does not contain an IBAN that passes the IBAN check. The rule explicitly checks BT-84 in this case.
Payment type code 58 denotes a SEPA payment. For this payment type, the payment account identifier BT-84 must contain a valid IBAN.
No valid payee IBAN was recognized for payment type 58. You can correct the account identifier in the payment details.
- Check whether
ram:TypeCodecontains the value58. - Provide the payee’s valid IBAN in
ram:PayeePartyCreditorFinancialAccount/ram:IBANID. - Check the value through
BankAccount.IBAN. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>58</ram:TypeCode> <ram:PayeePartyCreditorFinancialAccount> <ram:IBANID>123</ram:IBANID> </ram:PayeePartyCreditorFinancialAccount> </ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>58</ram:TypeCode> <ram:PayeePartyCreditorFinancialAccount> <ram:IBANID>DE89370400440532013000</ram:IBANID> </ram:PayeePartyCreditorFinancialAccount> </ram:SpecifiedTradeSettlementPaymentMeans>
BankAccount.IBAN(BT-84)PaymentMeans.TypeCode(SpecifiedPaymentMeans: BT-81)FacturXInvoice.PaymentMeans(ID: BT-81)
Technical details
The test passes other payment type codes. When ram:TypeCode equals 58, the ram:IBANID of the payee’s creditor account is passed to xr:checkIBAN.
The rule applies to document-level ram:SpecifiedTradeSettlementPaymentMeans when ram:TypeCode has the value 58.
rule/@context)assert/@test)