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

French IBAN does not always return the right BIC #91

Open
cedk opened this issue May 23, 2022 · 2 comments
Open

French IBAN does not always return the right BIC #91

cedk opened this issue May 23, 2022 · 2 comments

Comments

@cedk
Copy link

cedk commented May 23, 2022

There are many banks with the same bank_code but different BIC. So when getting the BIC from an IBAN schwifty takes the last bank loaded with the bank_code. I think it will be better in case of ambiguity that no BIC is returned.

@n49o7
Copy link

n49o7 commented Oct 9, 2024

In the file bank_registry/manual_fr.json, we see that there are often multiple branches for the same bank. For instance PSSTFRPPLYO, PSSTFRPPPAR, PSSTFRPPTOU and so on, or NORDFRPP and NORDFRPPXXX). In this case, the branch code should help distinguish.

@Natim
Copy link
Contributor

Natim commented Oct 9, 2024

Hello @cedk actually, you have multiple utilities to handle this case.
By default Schwifty will give you the generic BIC (ending with XXX or with the XXX stripped) so that the BIC provided will allow the routing anyway.
You can also get the list of related BIC to let your customer pick the one they want.

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

3 participants