ibans 0.0.2-alpha icon indicating copy to clipboard operation
ibans: ^0.0.2-alpha copied to clipboard

Validate and parse IBAN strings and provide useful information about, such as country, bank name, number currency.

ibans #

likes likes likes

A simple yet powerful package for validating parsing ibans

Features #

  • Validating IBAN

    • Checks if the country supports iban
    • Validate the IBAN string size for the specific country
    • Validate the check code for countries with fix check code
    • Validate the structure of BBAN for the specific country
    • Validate the entire IBAN using MOD 97 operations described by ISO-7064
  • Parsing IBAN will get the following info

    • Country name
    • Country Alpha2 code
    • Check Code
    • Basic Bank Account Number
    • (If Available) Bank Code
    • (If Available) Account number
    • (If Available) SWIFT
    • (If Available) bank initials
    • (If Available) Bank Name
    • (If Available) Branch code
    • (If Available) Account Type
    • (If Available) Account Holder
    • (If Available) Balance Account Number
    • (If Available) Currency Code

Usage #

Using the package is as simple as shown below

Parse IBAN #

to parse an iban just call


    import 'package:ibans/ibans.dart';
    import 'package:ibans/src/models.dart';

    main() {
      Iban iban = parse('AO06005500009209313310152');
      print(iban.country.code);
      print(iban.country.name);
      print(iban.bank.name);
    }

#

Contributing #

Contributions are welcome, please open an issue or send a PR. Please read our Contributing and code of conduct

#

License #

This project is available under MIT License

3
likes
120
pub points
52%
popularity

Publisher

unverified uploader

Validate and parse IBAN strings and provide useful information about, such as country, bank name, number currency.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, protobuf

More

Packages that depend on ibans