<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=4138537&amp;fmt=gif">
Skip to content
English
  • There are no suggestions because the search field is empty.

.isValidIBAN()

Method checks the given IBAN

Description of the method

Description: .isValidIBAN() method checks the given IBANs structure based on the country code and the correctness of the check control sum.
Available for: string
Parameters: -
Return type: boolean

Example

Context: TransacitonType1
OCL: self.Debtor.IBAN.isValidIBAN()
Description: The example rule checks if the given IBAN is valid.

The XML snippet below would pass this check.

<Debtor>
    <IBAN>FI211345600000785
</IBAN>

</Debtor>

The other snippet below however would not pass this check.

<Debtor>
    <IBAN>INVALIDIBAN123456</IBAN>
</Debtor>