Description of the method
.isValidRF() method checks if the given text is a valid RF creditor reference code. Method checks that the value is in alphanumeric format and contains a maximum of 25 characters. RF Creditor Reference is based on ISO 11649. The method also checks the following:
In the reference section of RF, letters are converted into numbers and mod-97 operation is done to the reference in a numeric format. Result of this calculation will have to match the check digits indicated in position 3-4.
|Description:||The example rule checks if the given reference is valid.|
The XML snippet below would pass this check.
The other snippet below however would not pass this check.