Build Turkish IBAN
tr_iban_olusturBuilds a Turkish IBAN from a 5-digit bank code and account number, computing ISO 7064 check digits.
A Turkish IBAN is TR + 2 check digits + 5-digit bank code + 1 reserved digit + 16-character account. This pads the account on the left, defaults the reserved digit to 0, computes the mod-97 check digits, and resolves the bank name from the same national table used by IBAN validation when the code is known. Unknown bank codes still produce a structurally valid IBAN with bankName null — existence at the bank is not claimed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bankCode | Yes | 5-digit Turkish national bank / EFT code (e.g. 00062). | |
| reserved | No | Reserved BBAN digit after the bank code. Defaults to 0. | |
| accountNumber | Yes | Account number, up to 16 alphanumeric characters (padded left with zeros). |