Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bank Of Scotland IBAN returns Wrong BIC #223

Open
Lekhanshlkr opened this issue Sep 30, 2024 · 1 comment
Open

Bank Of Scotland IBAN returns Wrong BIC #223

Lekhanshlkr opened this issue Sep 30, 2024 · 1 comment

Comments

@Lekhanshlkr
Copy link

Lekhanshlkr commented Sep 30, 2024

The IBAN starting with GB45HLFX110013XXXXXXXX is returning wrong BIC. The bank_code is HLFX and branch_code is 110013. The BIC returned by the library is HLFXGB21N85 which is wrong. The correct BIC should be HLFXGB21A47.

The swift code is verified from iban.com, swiftcodesapi and wise

Kindly request to update the database

@icfly2
Copy link
Contributor

icfly2 commented Dec 5, 2024

Looking at the code and data in the repo, there is no sortcode registered for Halifax and the bic registered is also valid, but for a different sortcode. So this is not a simple data update, but there is some logic missing to compute the correct IBAN for UK bic and vice versa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants