arturmkrtchyan / iban4j

A Java library for generation and validation of the International Bank Account Numbers (IBAN ISO_13616) and Business Identifier Codes (BIC ISO_9362).
http://iban4j.org
Apache License 2.0
276 stars 125 forks source link

Dutch IBAN does not validate #10

Closed skiwi2 closed 10 years ago

skiwi2 commented 10 years ago

A special class of Dutch IBAN numbers fails to validate.

Number in question: NL19INGB0005154161

The history about this type of numbers is that it is a really old Dutch bank account, that got subsequently upgraded to the nowadays standard of Dutch account numbers and then got upgraded to an IBAN number.

Possibly different rules apply to this number, I'll try to get more information on this.

http://www.tuxx.nl/betalingsverkeer/iban_controle_module/ validates it as a correct IBAN number.

arturmkrtchyan commented 10 years ago

Hi @skiwi2, thanks for sharing this example I will check it soon.

skiwi2 commented 10 years ago

I think this was an error on my side, the IBAN string here had two extra blanks at the end.