{"id":21444931,"url":"https://github.com/NaluKit/iban4g","last_synced_at":"2025-07-14T18:32:00.937Z","repository":{"id":46795609,"uuid":"102397588","full_name":"NaluKit/iban4g","owner":"NaluKit","description":"A port of Artur Mkrtchyan's iban4j project so that it will work with Java, GWT or J2CL. A library for generation and validation of the International Bank Account Numbers IBAN (ISO_13616) and Business Identifier Codes BIC (ISO_9362). ","archived":false,"fork":false,"pushed_at":"2024-01-03T07:33:59.000Z","size":321,"stargazers_count":11,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2024-04-18T05:12:48.406Z","etag":null,"topics":["artur-mkrtchyan-iban4j","bic","gwt","gwt-library","iban","iban4j","j2cl","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NaluKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-04T19:59:44.000Z","updated_at":"2024-03-31T14:19:54.000Z","dependencies_parsed_at":"2024-01-03T08:33:33.961Z","dependency_job_id":"9d8aea78-2ba4-4f01-b0be-63934ff431cf","html_url":"https://github.com/NaluKit/iban4g","commit_stats":null,"previous_names":["mvp4g/iban4g"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fiban4g","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fiban4g/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fiban4g/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fiban4g/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NaluKit","download_url":"https://codeload.github.com/NaluKit/iban4g/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225991852,"owners_count":17556375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artur-mkrtchyan-iban4j","bic","gwt","gwt-library","iban","iban4j","j2cl","java"],"created_at":"2024-11-23T02:22:08.599Z","updated_at":"2025-07-14T18:32:00.919Z","avatar_url":"https://github.com/NaluKit.png","language":"Java","funding_links":[],"categories":["IBAN and BIC"],"sub_categories":[],"readme":"# IBAN4G\n\n![GWT3/J2CL compatible](https://img.shields.io/badge/GWT3/J2CL-compatible-brightgreen.svg)  [![License](https://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) [![Chat on Gitter](https://badges.gitter.im/hal/elemento.svg)](https://gitter.im/Nalukit42/Lobby) [![Build \u0026 Deploy](https://github.com/NaluKit/iban4g/actions/workflows/build.yaml/badge.svg)](https://github.com/NaluKit/iban4g/actions/workflows/build.yaml) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.nalukit/iban4g/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.nalukit/iban4g)\n\nA port of Artur Mkrtchyan's iban4j project, so that it works in a pure Java project and projects using GWT or J2CL. Artur's\nproject can be found \u003ca href=\"https://github.com/arturmkrtchyan/iban4j\"\u003ehere\u003c/a\u003e\n\nA Java, GWT and J2CL ready library for generation and validation of the International Bank Account\nNumbers (\u003ca href=\"http://en.wikipedia.org/wiki/ISO_13616\" target=\"_blank\"\u003eIBAN ISO_13616\u003c/a\u003e) and Business Identifier\nCodes (\u003ca href=\"http://en.wikipedia.org/wiki/ISO_9362\" target=\"_blank\"\u003eBIC ISO_9362\u003c/a\u003e). The library can be used on the client\nand server side!\n\n**The library can be used in a Java-, GWT- or J2CL-environment.**\n\nDocumentation and most of the classes are copied from [iban4j](https://github.com/arturmkrtchyan/iban4j).\n\n#### Iban quick examples:\n\nThat's the way how to generate an Iban using the **new** keyword:\n\n```\nIban iban = new Iban.Builder()\n                .countryCode(CountryCode.AT)\n                .bankCode(\"19043\")\n                .accountNumber(\"00234573201\")\n                .build();\n```\n\nand that is the way to generate an IBAN without using the **new** keyword:\n\n```\nIban iban = Iban.builder()\n                .countryCode(CountryCode.AT)\n                .bankCode(\"19043\")\n                .accountNumber(\"00234573201\")\n                .build();\n```\n\nCreating an Iban object from String:\n\n```\nIban iban = Iban.valueOf(\"DE89370400440532013000\");\n```\n\nand from formatted String:\n\n```\nIban iban = Iban.valueOf(\"DE89 3704 0044 0532 0130 00\", IbanFormat.Default);\n```\n\nGenerating a random Iban:\n\n```\n // How to generate random Iban\n Iban iban = Iban.random(CountryCode.AT);\n Iban iban = Iban.random();\n Iban iban = Iban.builder()\n                 .countryCode(CountryCode.AT)\n                 .bankCode(\"19043\")\n                 .buildRandom();\n```\n\nValidating an Iban:\n\n```\ntry {\n    IbanUtil.validate(\"AT611904300234573201\");\n    IbanUtil.validate(\"DE89 3704 0044 0532 0130 00\", IbanFormat.Default);\n    // valid\n} catch (IbanFormatException |\n         InvalidCheckDigitException |\n         UnsupportedCountryException e) {\n    // invalid\n}\n```\n\n#### Bic quick examples:\n\n```\n //How to create Bic object from String\n Bic bic = Bic.valueOf(\"DEUTDEFF\");\n\n\n //How to validate Bic\n try {\n     BicUtil.validate(\"DEUTDEFF500\");\n     // valid\n } catch (BicFormatException e) {\n     // invalid\n }\n```\n\n#### Maven dependency:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.nalukit\u003c/groupId\u003e\n  \u003cartifactId\u003eiban4g\u003c/artifactId\u003e\n  \u003cversion\u003e3.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Module dependency:\n\n(Only in case you are using iban4g with GWT!)\n\n```xml\n\u003cinherits name=\"com.github.nalukit.iban4g.Iban4g\" /\u003e\n```\n\n#### References\n\n- [Artur Mkrtchyan's IBAN4j project](https://github.com/arturmkrtchyan/iban4j)\n- [https://en.wikipedia.org/wiki/ISO_13616](https://en.wikipedia.org/wiki/ISO_13616)\n- [https://en.wikipedia.org/wiki/ISO_9362](https://en.wikipedia.org/wiki/ISO_9362)\n- [https://www.ecb.europa.eu/paym/retpaym/paymint/sepa/shared/pdf/iban_registry.pdf](https://www.ecb.europa.eu/paym/retpaym/paymint/sepa/shared/pdf/iban_registry.pdf)\n- [https://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf](https://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf)\n- [https://www.swift.com/resource/iban-registry-pdf](https://www.swift.com/resource/iban-registry-pdf)\n- [https://bank.codes/iban/structure](https://bank.codes/iban/structure)\n\n## To get in touch with the developer\n\nPlease use the [Nalu Gitter room](https://gitter.im/Nalukit42/Lobby).\n\n## Notes\n\nIn case you find a bug, please open an issue.\n\n## License\n\nCopyright 2015 Artur Mkrtchyan\n\nModifications Copyright 2020 Frank Hossfeld\n\nLicensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0\n\n## Migration to io.github\n\nMigration to the new namespace is quite simple. There only to things to do:\n\n1. change the groupId from `com.github.nalukit` to `ìo.github.nalukit`\n2. replace all imports from `import com.github.nalukit` to `import io.github.nalukit`  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNaluKit%2Fiban4g","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNaluKit%2Fiban4g","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNaluKit%2Fiban4g/lists"}