When processing cross-border transactions, an invalid IBAN need not be immediately rejected. Senders frequently include formatting errors, spaces, or unnecessary prefixes that can be safely removed without altering the underlying account data.
To ensure high straight-through processing (STP) rates while mitigating routing risks, follow this escalation path: Standard Repair, Validation, and Aggressive Cleanup.
Before rejecting an IBAN, isolate the core routing data by performing these safe, structural corrections on the string:
Once the string is stripped to its alphanumeric base, process it through a robust validation tool. A simple mathematical checksum is insufficient. Ensure your validation checks:


If standard repair fails validation, you can attempt targeted, logical data substitutions. Any IBAN modified in this phase must be re-validated from scratch. If the modified IBAN passes both the structural and institution-existence checks, the cleanup is considered successful.
Crucial Rule: You cannot clean up or guess the two Check Digits (the numbers immediately following the country code). They are the mathematical anchor of the entire string and must remain unaltered for validation to work.
It is extremely unlikely that a sensibly cleaned IBAN that passes both structural and network existence validation will fail unless the account itself is closed or non-existent (potentially the IBAN could have been generated using a wrong account number).
For extra assurance, cross-check supplementary payment details:
Relying on manual guesswork introduces unnecessary risk. Automated cleanup logic and comprehensive global payment directories are required to execute these repairs and validations safely and instantly.
In cross-border SWIFT-based payments, the relationship between the BIC and the IBAN provided by the originator (whether the bank client or the payee identified in a multi-hop SWIFT payment) can be used to further validate the payment message.
Once the IBAN is validated, its alignment with the BIC helps confirm the sender's intent to route funds to the correct institution. Strictly speaking, only the Head Office BIC is required to execute the transaction over the SWIFT network, as the head office will automatically route the payment to the appropriate branch.
While using the most specific BIC is preferred to ensure straight through processing (STP), the transaction will still succeed with alternative BICs, as payees rarely distinguish between a Branch BIC, Head Office BIC or SEPA Owner BIC. Therefore, within a SWIFT payment context, validation tools should accept non-optimal BICs as valid as long as they correspond to the institution hosting the payee's account.

Formatting issues, such as presentation spaces or lowercase letters, can often be normalised automatically. Changes to account-identifying characters require verified information and appropriate controls.
Yes. An IBAN can pass structural and checksum checks without identifying the intended beneficiary’s account. Validation is not proof of account ownership.
Not automatically. Investigate whether the difference reflects a legitimate branch, head-office or correspondent arrangement before deciding how to proceed.
Resolve IBAN issues without guesswork.
Give payment teams the validation tools and payment reference data to distinguish formatting errors from discrepancies that need further investigation.