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
270 stars 124 forks source link

Add Burundi (ISO 13616) #140

Closed abadev2024 closed 2 months ago

abadev2024 commented 3 months ago

Could you please add Burundi to the supported countries? It is oficially listed by ISO 13616. Thank you in advance.

The following code snippets could be helpful.

structures.put(CountryCode.BI, new BbanStructure( BbanStructureEntry.bankCode(5, 'n'), BbanStructureEntry.branchCode(5, 'n'), BbanStructureEntry.accountNumber(13, 'n')));

{new Iban.Builder() .countryCode(CountryCode.BI) .bankCode("10000") .branchCode("10001") .accountNumber("0000332045181") .build(), "BI4210000100010000332045181"},

hajk1 commented 3 months ago

@abadev2024 Yes, I will fix it for the next release.