FAILURE MAP
← Case archive

FA-72484 / Check-digit algorithms / Member archive

IBAN accepts unknown countries of any length · case 04

Identifiers from unsupported countries and truncated IBANs get a mod-97 verdict.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

IBAN validation for the countries DE 22, GB 22, FR 27, NL 18, BE 16, NO 15, MT 31 (other countries: "malformed"). Spaces (print format) are removed and letters are upper-cased. The check digits must be 02..98. Move the first four characters to the end, replace letters with 10..35, and the IBAN is "valid" when the number is 1 mod 97.

Why this case matters

Payment initiation rejects mistyped account identifiers before submitting transfers.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression ["US64SVBKUS6S3300958879"]"valid""malformed"Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗