Urgent.News

What's breaking now, across thousands of outlets.

Tech

The four bank-detail errors that actually fail, and the checks that catch them

Three of these you can catch before the payment leaves. The fourth you cannot, and pretending otherwise is how you end up trusting a validator that quietly lets money go to nowhere. Every account identifier below is invented. The check digits are real, so the valid ones genuinely validate, you can run them yourself. 1. The IBAN checksum, which almost nobody actually checks An IBAN carries its own…

The source material outlines four critical errors that can occur during bank transactions, which can often go unnoticed by initial validation checks. These errors include:

1. IBAN checksum errors: IBANs have built-in error detection, which involves specific two-digit check digits. By rearranging the IBAN characters and applying a mod 97 operation, one can validate the checksum. However, if the length of the IBAN is incorrect, it can also be flagged as invalid, even if the checksum is correct.

2. Sort code errors: UK sort codes are six digits long, but when treated as integers, leading zeros can be lost, resulting in a five-digit code. This can be easily identified by checking the length and whether the number contains only digits. If it's five digits, it likely indicates a lost leading zero. Conversely, seven digits indicate that the account number has merged with the sort code field.

3. BIC errors: SWIFT/BIC codes are either eight or eleven characters long, consisting of four characters for the bank, two for the country, two for the location, and optionally three for the branch. The shape of the BIC can be verified using a regex, and the country code in the BIC must match that of the IBAN. This validation helps catch errors where the BIC belongs to a different country than the IBAN.

4. The most challenging error: mismatches in payee names and legal entities: Despite having valid IBANs, BICs, and sort codes, payments can still fail at the receiving bank due to discrepancies between the payee's legal entity name and the name provided in the payment instruction. This issue cannot be caught by local validation checks and requires additional verification from the payer, such as explicitly requesting the legal entity name during onboarding.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Pro-Data Center Party Interrupted By Protesters in D.C.

A party was held in D.C. to celebrate data centers, which have become a flashpoint in the debate over AI’s rapid expansion.

  • Pro-data center party held in D.C. amid opposition to construction.
  • Protester interrupts celebration with passionate rant against water usage.
  • Chant of "USA!" persists despite protest during the event.

More from Monday 28 September →