sinkien / iban4net Goto Github PK
View Code? Open in Web Editor NEWA port of IBAN4j to .NET
A port of IBAN4j to .NET
Validation of BG80BNBG96611020345678
fails with an IbanFormatException.
This is the example IBAN from the official IBAN registry (https://www.swift.com/sites/default/files/resources/swift_standards_ibanregistry.pdf, p. 25).
Getting error when using an IE IBAN with IbanUtils.Validate
sinkien.IBAN4Net.UnsupportedCountryException: 'IBAN contains not supported country code'
IBANs used:
IE29AIBK93115212345678
IE64BOFI90001720974097
It is working fine for other IBANs I tried from other countries.
Hi,
The following valid IBAN was tested by your library, but it returned an error (CHECK_DIGIT_ONLY_DIGITS).
Valid IBAN: NL 91 ABNA 8571 1893 58
The BIC "DENODEF1SR1" is recognized as valid, but it isn't. The BIC is similar to the German BIC "GENODEF1SR1".
Hi,
I have to use this wonderful dll with an old project in Framework 4.
When I try to integrate Iban4net, there were no warning but it can't compile.
When I switch in 4.5 there was no problem.
So I download the code, downgrade the framework to 4 and recompile. There were no error and everything seems to be ok.
Of course, there were warning in the tests projects but the Iban4net project was good.
I hope to be as explicit as I can
Thanks a lot for your great job
BaesFr
Validation of IE92BOFI90001710027952
thows an UnsupportedCountryException ("IBAN contains not supported country code").
According to iban.com, iban.de and iban-rechner.de the IBAN is perfectly valid and I don't see why Ireland should be in the list of supported countries.
Please add Angola, Mozambique and Cape Verde on Supported Countries.
You can see examples of it on https://en.wikipedia.org/wiki/International_Bank_Account_Number
For instance this one:
MA64011519000001205000534921
Even though valid it results in country-not-supported
Here's the complete list of countries that need to be supported:
b = National bank code
s = Branch code
c = Account number
Central African Republic 27 23n CFkk nnnn nnnn nnnn nnnn nnnn nnn [CF 42 20001000010120069700160]
Chad 27 23n TDkk nnnn nnnn nnnn nnnn nnnn nnn [TD 89 60002000010271091600153]
Comoros 27 23n KMkk nnnn nnnn nnnn nnnn nnnn nnn [KM 46 00005000010010904400137]
Congo, Republic of the 27 23n CGkk nnnn nnnn nnnn nnnn nnnn nnn [CG 39 30011000101013451300019]
Côte d'Ivoire 28 1a, 23n CIkk annn nnnn nnnn nnnn nnnn nnnn [CI 77 A 12312341234123412341234]
Djibouti 27 23n DJkk nnnn nnnn nnnn nnnn nnnn nnn [DJ 21 10002010010409943020008]
Equatorial Guinea 27 23n GQkk nnnn nnnn nnnn nnnn nnnn nnn [GQ 70 50002001003715228190196]
Gabon 27 23n GAkk nnnn nnnn nnnn nnnn nnnn nnn [GA 21 40021010032001890020126]
Guinea-Bissau 25 2c, 19n GWkk ccnn nnnn nnnn nnnn nnnn n [GW 04 GW1430010181800637601]
Honduras 28 4a, 20n HNkk aaaa nnnn nnnn nnnn nnnn nnnn [HN 54 PISA00000000000000123124]
Morocco 28 24n MAkk nnnn nnnn nnnn nnnn nnnn nnnn [MA 64 011519000001205000534921]
Nicaragua 32 4a, 24n NIkk aaaa nnnn nnnn nnnn nnnn nnnn nnnn [NI 92 BAMC000000000000000003123123]
Niger 28 2a, 22n NEkk aann nnnn nnnn nnnn nnnn nnnn [NE 58 NE0380100100130305000268]
Togo 28 2a, 22n TGkk aann nnnn nnnn nnnn nnnn nnnn [TG 53 TG0090604310346500400070]
Libya 25 21n LYkk bbbs sscc cccc cccc cccc c [LY 83 002048000020100120361]
Source:
https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country
Or still alive?
Validation of:
MIDCANC1XXX
NCBCANC1XXX
NEANANCUXXX
MEESANCUCUR
INDSANCUXXX
EINBANCUXXX
....
rise a "Country code not supported error" message
AN country code stands for Netherlands Antilles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.