- Black: Country code
- Coral: Check digits
- Light blue: Bank/branch code
- Dark blue: Account number
- Gray: National check digits. Their position in the IBAN number depends on the
country.
Some countries do not use national check digits.
Function | Generate account number and keep original country | Mask bank code and account number and keep original country | Mask account number and keep original country and bank code | |
---|---|---|---|---|
Behavior |
Input valid: Generates bank account numbers conform to the corresponding country. Input not valid: Generates French IBAN numbers. |
Uses the format-preserving encryption. Input valid: Masks the bank account number. Input not valid: Sends the input data to the "Invalid" flow or returns null in the main flow. |
Uses the format-preserving encryption. Input valid: Masks the bank account number and keeps the bank/branch code. Input not valid: Sends the input data to the "Invalid" flow or returns null in the main flow. |
Input validation | Generate account number and keep original country | Mask bank code and account number and keep original country | Mask account number and keep original country and bank code |
---|---|---|---|
Validate country code | Yes | Yes | Yes |
Validate format | No | Yes | Yes |
Validate IBAN check digits | No | Yes | Yes |
Validate national check digits | No | Yes Only for some countries (see the list below). For the other countries, the national check digits may not be valid. |
Yes Only for some countries (see the list below). For the other countries, the national check digits may not be valid. |
Validate bank/branch code | No | No | No |
Output validity | Generate account number and keep original country | Mask bank code and account number and keep original country | Mask account number and keep original country and bank code |
---|---|---|---|
Validate country code | Yes | Yes | Yes |
Validate format | Yes | Yes | Yes |
Validate IBAN check digits | Yes | Yes | Yes |
Validate national check digits | Yes Only for some countries (see the list below). For the other countries, the national check digits may not be valid. |
Yes Only for some countries (see the list below). For the other countries, the national check digits may not be valid. |
Yes Only for some countries (see the list below). For the other countries, the national check digits may not be valid. |
Validate bank/branch code | No | No | Yes When the input bank/branch code is valid. |
Which national check digits are handled?
- Belgium
- Bosnia
- Croatia
- Czech Republic
- Estonia
- France
- Hungary
- Italy
- Mauritania
- Monaco
- Montenegro
- Norway
- Portugal
- San Marino
- Serbia
- Slovakia
- Slovenia
- Spain
- Timor-Leste
- Tunisia
Some countries do not use national check digits.