validate_iban
Check an IBAN's format, length, and MOD-97-10 checksum for 77 countries. Returns validity, country, and BBAN details without external API calls.
Instructions
Validate an IBAN (International Bank Account Number).
Checks format and length for 77 countries and verifies the ISO 7064 MOD-97-10 checksum. No external API — pure math.
Args: iban: IBAN string with optional spaces (e.g. "DE89 3704 0044 0532 0130 00")
Returns: dict with keys: valid, country_code, country, length, expected_length, length_valid, checksum_valid, bban, formatted, cost_usd
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes |