How forged invoices slip past naive Mod-97 validators
Positions 3 and 4 of every IBAN hold the international ISO 7064 Mod-97 check digits. Anyone altering an account string can recompute those two digits in milliseconds so basic ERP forms accept it. However, several banking systems also embed a second domestic check digit inside the BBAN itself — such as Italy's 1-letter CIN, Spain's 2-digit CCC, or Belgian and Portuguese national mod-97 keys. When those domestic keys fail despite a valid outer Mod-97, the payment instruction is structurally invalid.
4 structural checks on cross-border payment coordinates
1. Enforce exact ISO 13616 country length and BBAN character classes
Every IBAN jurisdiction mandates a fixed character count and strict numeric vs alphanumeric slots for bank and branch codes. Non-canonical check digits (00, 01, 99) and non-ASCII characters must be rejected outright.
2. Validate domestic national check digits where implemented
Test the IBAN in our checker below: alongside ISO 7064 Mod-97, our engine verifies implemented domestic keys (BE, PT, Spanish CCC, and Italian CIN) and flags national_checksum mismatches even when Mod-97 was recalculated.
3. Compare SWIFT/BIC characters 5–6 (ISO 9362) against the IBAN country prefix
In an 8- or 11-character SWIFT/BIC, characters 1–4 identify the institution and characters 5–6 specify the ISO country of the account-holding branch. Any mismatch between BIC country and IBAN prefix warrants an immediate payment hold.
4. Handle non-IBAN routing countries transparently ('not checked')
Major trading jurisdictions such as the United States (ABA/ACH), Canada (EFT transit), and India (IFSC) do not use IBANs. An honest workflow records IBAN checks for those jurisdictions as 'not checked' (not_checked), never as a pass.