arhs/iban.js

[FR] HSBC bank IBAN invalid

Closed this issue · 2 comments

Hi,

The "IBAN.isValid" method seems to work fine for French specification in general, but i encounter some invalid IBAN when i use the sample from HSBC.

Here the values from their spec:

France | FR | 27 | FR24 2002 0202 2606 0002 4M02 606

It seems that the iso7064Mod97_10 is not equals to 1.

Is this a normal behaviour?

Thanks in advance for your help.

Hey Yohann, thanks for the report.
The validator on https://www.iban.com also marks this IBAN as invalid because the check digit.
I think the error is on the HSBC website... Good luck reporting a bug to them :-/

Ok, sorry and thanks for your help @LaurentVB