- First 2 characters: country code (uppercase letters, ISO 3166-1 alpha-2)
- Next 2 characters: check digits (digits)
- Remaining 11 to 30 characters: country-specific BBAN (Basic Bank Account Number), alphanumeric
BANK_COUNTRY.
Country-specific length
Each IBAN-issuing country has a fixed length defined by the ISO 13616 registry. The following table lists the expected lengths:
Some overseas territories use their parent country’s IBAN format:
Cross-field validation with bank country
When both IBAN andBANK_COUNTRY are provided, the IBAN’s country code (first 2
characters) must match BANK_COUNTRY. Overseas territories resolve to their
parent country before the check. For example, an IBAN starting with GG
(Guernsey) is treated as GB.
Example
The following is an example of validating the IBANGB82WEST12345698765432:
Structure
- Country code:
GB(United Kingdom) - Check digits:
82 - BBAN:
WEST12345698765432(18 characters) - Total length:
22(matches the fixed length forGB)
- IBAN country code:
GB BANK_COUNTRY:GB(matches)