iban4j icon indicating copy to clipboard operation
iban4j copied to clipboard

#74: fix BY iban structure

Open ccostin93 opened this issue 4 years ago • 0 comments

fixes https://github.com/arturmkrtchyan/iban4j/issues/74

see https://bank.codes/iban/structure/belarus/ The strange thing is that the best was already correct.

{new Iban.Builder()
    .countryCode(CountryCode.BY)
    .bankCode("NBRB")
    .branchCode("3600") // <-- branchCode was given, not accountType
    .accountNumber("900000002Z00AB00")
    .build(), "BY13NBRB3600900000002Z00AB00"},

ccostin93 avatar Nov 28 '20 00:11 ccostin93