Bank Account Validation by Country: Hungary to Norway

This outlines the country-specific bank account validation rules performed in Oracle Fusion Cash Management.

The following countries have country-specific validations:

  • Hungary

  • Iceland

  • India

  • Ireland

  • Israel

  • Iran

  • Iraq

  • Italy

  • Ivory Coast

  • Japan

  • Jordan

  • Kazakhstan

  • Kosovo

  • Kuwait

  • Latvia

  • Lebanon

  • Liechtenstein

  • Lithuania

  • Luxembourg

  • Malta

  • Martinique

  • Mauritania

  • Mauritius

  • Mayotte

  • Mexico

  • Moldova

  • Monaco

  • Montenegro

  • Morocco

  • Netherlands

  • New Zealand

  • Norway

When entering bank accounts, different countries can have certain rules governing the format and content of the following related fields:

  1. Bank Code

  2. Branch Number

  3. Account Number

  4. Check Digit

  5. IBAN

Use the Disable Country Specific Bank Validations profile option to disable the country-specific validations pertaining to the bank code, branch number, account number, check digit, and IBAN. You can set this profile option at the site or user level. The profile is predefined with a default value of No at the site level. If the profile is set to Yes, these validations aren't performed. The checks for unique banks, branches, accounts, and the mandatory requirement of bank account number aren't affected by this profile.

Note: Mandatory IBAN validation is only valid for internal bank accounts. For external bank accounts, IBAN will be optional except for employee bank accounts which are governed by country-specific UI rules.

Hungary

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 28 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Iceland

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

  • If entered, then the length should be of 4 numeric characters.

  • If the length is less than 4, then it's converted to a 4 digit number by prefixing it with as many leading zeroes as is necessary.

Branch Number

  • Optional

  • If entered, then the length should be of 4 numeric characters.

  • If the Bank Code and Branch Number are entered, then both values must match.

Account Number

  • Mandatory

  • Length should be a maximum of 18 numeric characters.

  • If the length is less than 18, then it's converted to an 18 digit number by prefixing it with as many leading zeroes as is necessary.

  • A check algorithm is applied on the Account Number.

Check Digit

  • Optional

  • If a value is entered for the check digit, then it must be a single digit and must match the seventeenth digit of the Account Number.

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 26 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Check Algorithm for Account Number

  1. Check algorithm is performed against the Account Number (from digit 9 to 16). Each of these digits is multiplied with the factors as given in the following table:

Digit

Factor

9th

3

10th

2

11th

7

12th

6

13th

5

14th

4

15th

3

16th

2

These products are added and the sum is divided by 11. The remainder obtained as a result of this division is subtracted from 11 to obtain the calculated check digit. If remainder is 0, then calculated check digit is taken as 0.

This calculated check digit should match the entered check digit (seventeenth digit of the Account Number), else the Account Number isn't valid.

India

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

  • This field is labeled as the IFSC Code

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 34 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Ireland

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

  • If entered, then the length should be of 6 numeric characters.

Branch Number

  • Optional

  • If entered, then the length should be of 6 numeric characters.

  • If the Bank Code and Branch Number are entered, then both values must match.

Account Number

  • Mandatory

  • Length should be 8 numeric characters.

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 22 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Israel

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Mandatory

  • If entered, the length should be a maximum 2 numeric characters

Branch Number

  • Mandatory

  • Length should be 3 numeric characters.

Account Number

  • Mandatory

  • Length should be a maximum of 13 numeric characters.

  • Spaces aren't allowed.

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 23 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Iran

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 26 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Iraq

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 23 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Italy

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Mandatory

  • Length should be a maximum of 5 numeric characters.

Branch Number

  • Mandatory

  • Length should be a maximum of 5 numeric characters.

Account Number

  • Mandatory

  • Length should be a maximum of 12 alphanumeric characters.

  • If the length is less than 12, then it's converted to a 12 digit number by prefixing it with as many leading zeroes as is necessary.

Check Digit

  • Optional

  • If entered, length should be a single alphabetic character and a check algorithm is applied on the Check Digit.

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 27 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Check Algorithm for Check Digit

The check digit is used to validate against the Bank Code, Branch Number, and Account Number. These are concatenated to obtain a 22 character string.

Each character is assigned a value depending upon whether the character is in an odd position or an even position in the string as given in the following table:

Even Position Values

Odd Position Values

A/0 = 0

A/0 = 1

B/1 = 1

B/1 = 0

C/2 = 2

C/2 = 5

D/3 = 3

D/3 = 7

E/4 = 4

E/4 = 9

F/5 = 5

F/5 = 13

G/6 = 6

G/6 = 15

H/7 = 7

H/7 = 17

I/8 = 8

I/8 = 19

J/9 = 9

J/9 = 21

K = 10

K = 2

L = 11

L = 4

M = 12

M = 18

N = 13

N = 20

O = 14

O = 11

P = 15

P = 3

Q = 16

Q = 6

R = 17

R = 8

S = 18

S = 12

T = 19

T = 14

U = 20

U = 16

V = 21

V = 10

W = 22

W = 22

X = 23

X = 25

Y = 24

Y = 24

Z = 25

Z = 23

The first character is an odd position. The values assigned are added up and the sum is divided 26.

The remainder obtained as a result of this division is converted into an alphabet as given in the following table:

Transformation Algorithm

Calculation

Calculation

Calculation

0 = A

9 = J

18 = S

1 = B

10 = K

19 = T

2 = C

11 = L

20 = U

3 = D

12 = M

21 = V

4 = E

13 = N

22 = W

5 = F

14 = O

23 = X

6 = G

15 = P

24 = Y

7 = H

16 = Q

25 = Z

8 = I

17 = R

N/A

This value should be the same as the user entered check digit or else the Check Digit validation fails.

Ivory Coast

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 28 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Japan

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Mandatory

  • Length should be 4 numeric characters

Alternate Bank Name

  • Optional

Branch Number

  • Mandatory

  • Length should be 3 numeric characters.

Alternate Branch Name

  • Optional

Account Number

  • Mandatory

Account Type

  • Mandatory

  • This field is labeled as Deposit Type.

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 34 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Jordan

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 30 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Kazakhstan

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 20 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Kosovo

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 20 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Kuwait

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

  • Length should be a maximum of 22 characters.

  • Spaces and hyphens are allowed.

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length can't be more than 30 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

Latvia

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 21 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Lebanon

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 28 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Liechtenstein

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 21 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Lithuania

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 20 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Luxembourg

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

  • If entered, then the length should be 3 numeric characters.

Branch Number

  • Optional

  • If entered, then the length should be 3 numeric characters.

  • If the Bank Code and Branch Number are entered, then both values must match.

Account Number

  • Mandatory

  • Length should be a maximum of 13 characters.

Check Digit

  • Optional

  • If entered, then the length should be 2 numeric characters

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 20 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Malta

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 31 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Martinique

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 34 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Mauritania

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 27 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Mauritius

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 30 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Mayotte

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 34 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Mexico

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

  • Length should be between 10 to 11 numeric characters.

  • Spaces and hyphens are allowed.

Check Digit

  • Optional

IBAN

  • Optional

Secondary Account Reference

  • Optional

  • If entered:

    • Should be of 18 digits

    • Should be numeric

Moldova

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 24 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Monaco

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length can't be more than 27 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Montenegro

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 22 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Morocco

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

Check Digit

  • Optional

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 28 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Netherlands

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

  • Two types of account numbers are validated:

  • If the bank account number is numeric and consists of one of the following then bank account will be considered as Post or Giro Account.

    • length is 7 digits or less, or

    • prefixed with 000, or

    • prefixed with P or G

    There's no check digit validation for Post or Giro accounts.

  • For other account numbers, the length should be between 9 and 10 numeric characters. A check algorithm is applied on the Account Number.

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 18 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Check Algorithm for Non-Post or Giro Account Number

  1. If the length is less than 10, then it's converted to a 10 digit number by prefixing it with as many leading zeroes as is necessary.

  2. The Netherlands government provides the following factor table for each of the 10 digits:

Digit

Factor

1st

10

2nd

9

3rd

8

4th

7

5th

6

6th

5

7th

4

8th

3

9th

2

10th

1

These are multiplied and the sum of the products is calculated 4.

If the result so obtained is perfectly divisible by 11 (that's, no remainder on division by 11), then the test is successful, otherwise the account number entered isn't valid.

New Zealand

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Mandatory

  • Length should be 2 numeric characters.

Branch Number

  • Mandatory

  • Length should be 4 numeric characters.

  • This field is labeled Bank State Branch.

Account Number

  • Mandatory

  • Length should be a maximum of 8 numeric characters.

  • Account Suffix should be between 2 to 4 numeric characters.

Check Digit

  • Optional

Description

  • This field is labeled Reference.

IBAN

  • Optional, if entered, the following rules apply.

  • The modulus-97 rule is used to calculate the validity of the IBAN.

  • Length can't be more than 34 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Norway

Validation Rules

The fields are checked for validity by adopting the following rules:

Field

Rule

Bank Code

  • Optional

Branch Number

  • Optional

Account Number

  • Mandatory

  • Length should be of 11 numeric characters.

  • A check algorithm is applied on the Account Number, if the 5th and 6th digits of the account number aren't 00.

For example, for Account Number, 1234001234, the check algorithm won't be applied but for Account Number 02056439653, the check algorithm will be applied as outlined in the Check Algorithm for Account Number, following this table.

Check Digit

  • Optional

IBAN

  • Mandatory

  • If the IBAN isn't entered, a warning message is displayed: IBAN hasn't been entered. This bank account is defined in a country that requires IBAN for payment processing.

  • The modulus-97 rule is used to calculate the validity of the IBAN

  • Length should be 15 characters. Spaces are removed from the left and right. Spaces in the middle aren't removed.

  • The first 2 characters are letters.

  • The third and fourth characters are numbers.

Check Algorithm for Account Number

1. The check digit is set as the last (that's, the 11th digit) of the Account Number. For example, if the account number is 02056439653, then the check digit is set to 3.

2. The Norwegian government provides the following factor table:

Digit

Factor

1st

5

2nd

4

3rd

3

4th

2

5th

7

6th

6

7th

5

8th

4

9th

3

10th

2

The first ten digits of the account number are multiplied by the associated factor. The computed sum is then calculated by summing the totals.

3. Example using account number 02056439653:

Multiply each digit with the given factor. The following table illustrates the factors that determine validation:

Digit

Value

Factor

Result

1st

0

5

0

2nd

2

4

8

3rd

0

3

0

4th

5

2

10

5th

6

7

42

6th

4

6

24

7th

3

5

15

8th

9

4

36

9th

6

3

18

10th

5

2

10

Total

N/A

N/A

163

So the computed sum for this example is 163.

4. The computed sum is then added to the check digit. In the example, 163 + 3 = 166.

5. Divide the result by 11. 166 / 11 = 15 6.

6. Derive the remainder. 166 - (11 * 15) = 1.

7. If the remainder is '0', then the validation is successful, else the check fails.

8. In the given example, the check fails the Account Number as the remainder is 1. If the 11th digit of the Account Number was 2 (that's, the check digit would be 2), then the remainder would be 165 - (11 * 15) = 0 and the check on the Account Number would be successful.