'''Bank Account Number'''
'''Bank Account Number (BAN)''' is the standard for identifying bank accounts across national borders. Initially it was adopted by the European Committee for banking standards and later it was adopted by the international standard ISO 13616:2007. The registry for this number is currently available at SWIFT.
The format of Bank Account Number is flexible and it can be applied globally. '''It consists of 2 check digits or up to 30 alphanumeric characters of domestic bank.''' The process of incorporating the routing information is called Basic Bank Account Number.
The length of the Bank Account Number should be fixed for any country and should not contain spaces when transmitting electronically. So, when printing in the white paper the number is expressed in the groups of four characters that are separated by a single space and the last group will be of variable length. Thus each country has its own bank code or fixes their bank code.
'''The various algorithms are followed to calculate the Bank Account Number checksums. They are,'''
First, check the total BAN length is correct for the country and if not the BAN is invalid.
Move the four initial characters to the end of string.
Replace each letter in the string with two digits by expands the strings as A=ten, B=11….Z=35.
Consider the string as the decimal integer and compute the remainder of the number on division by 97.
The BAN number can only be valid if the remainder is 1.
The bank that is servicing the account can only provide the correct BAN and the related Bank Identifier Code (BIC). If you need the number then you should contact the owner of the account. With the help of this number, you can get certain services and make yourself comfortable.