Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

IBAN.IsValid

Checks whether an IBAN is valid.

Component Version macOS Windows Linux Server iOS SDK
IBAN 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "IBAN.IsValid"; IBAN )   More

Parameters

Parameter Description Example
IBAN The IBAN to check. "DE29100100100987654321"

Result

Returns 1, 0 or error.

Description

Checks whether an IBAN is valid.
Ignores invalid characters in input, e.g. strip out dots, spaces or dashes.

The IBAN must:
  • have a valid country code.
  • have the minimum length for the country.
  • match the structure of the country's IBAN format (See IBAN.RegEx)
  • have a valid checksum.

Returns 1 if valid or 0 if not.

You may want to do a trim() on the number yourself.

Examples

Check whether IBAN is valid:

MBS("IBAN.isValid"; "DE29100100100987654321")

See also

Blog Entries

This function checks for a license.

Created 26th February 2021, last changed 31st August 2023


IBAN.Format - IBAN.RegEx