Giter Site home page Giter Site logo

Comments (1)

mdomke avatar mdomke commented on August 22, 2024

schwifty uses the official SWIFT specification that can be found here. If you look at section 2.25 of the IBAN registry linked from the SWIFT site you can see that the bank identifier is specified to be from position 1-4 of the BBAN and the branch identifier from 5-10.

BBAN = ESSE 404865 62136016
       ^  ^ ^    ^
       1  4 5    10

You have to acknowledge that schwifty uses a more generalized terminology for naming the different parts of an IBAN. The library doesn't know about any country specific wording (like sort code) nor does it take into account what additional national format might be applied to the different segments. So I think that considering the official specification schwifty's behavior is correct.

from schwifty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.