Bosnia and Herzegovina IBAN format

An IBAN from Bosnia and Herzegovina is 20 characters long: the country code BA, two check digits, then 3 digits (bank code), 3 digits (branch code), 8 digits (account number), 2 digits (national part (check key or type)). Bosnia and Herzegovina is outside SEPA. Length and structure from the SWIFT IBAN Registry (ISO 13616), transcribed 2026-10-24; the SEPA flag from the EPC list.

Structure

20 characters in all. Registry notation of the BBAN: 3!n3!n8!n2!n (n digits, a upper-case letters, c alphanumerics, ! fixed length).

PositionLengthCharactersMeaning
1–22letterscountry code BA
3–42digitscheck digits (ISO 7064 mod 97-10)
5–73digitsbank code
8–103digitsbranch code
11–188digitsaccount number
19–202digitsnational part (check key or type)

Example

BA59 1234 5678 9012 3456 is a synthetic example: placeholder characters in every part, with the check digits computed so that the mod-97 test passes. It is not a real account and no bank issued it; use it to test an input field, not to pay.

SEPA

Bosnia and Herzegovina is outside the SEPA schemes: a transfer to this IBAN goes through correspondent banks, with fees on both sides and several days of delay. A payout system should warn before paying.

Check one

The API checks the characters, the country, the length (20), the mod-97 check digits and the BBAN pattern, and returns the bank and branch identifier.

curl — validate an IBAN from Bosnia and Herzegovina
curl "https://veriport.io/api/v1/iban/validate?iban=BA591234567890123456"

Questions

How long is an IBAN from Bosnia and Herzegovina?
20 characters, written in groups of four on paper (BA59 1234 5678 9012 3456 as a synthetic example).
Can I find the bank from the IBAN?
The bank identifier is the 3 characters at positions 5–7; the bank’s name and BIC are in SWIFT’s licensed directory, which the API does not resolve.
Does a valid IBAN mean the account exists?
No. The check digits and the structure say the IBAN is well formed; existence and ownership are known to the bank only, at payment time.

Free: five checks, bank identifier, SEPA flag.

Check an IBAN

Sources