Code Monkey home page Code Monkey logo

javamoduluschecker's Introduction

Modulus Checker Build Status Maven Central codecov

This is a Java implementation of UK Bank Account Modulus Checking. Modulus Checking is a process used to determine if a given account number could be valid for a given sort code.


Receiving a valid modulus check result only means that the Sort Code and Account Number pair could exist not that they do!


The algorithms, test cases and reference data can be found on the vocalink website. That site should be considered the authoritative source for the modulus checking algorithm and weighting data.

CodeScene

Get more details at codescene.io.

Usage

String sortCode = "012345";
String accountNumber = "12345678";
ModulusChecker modulusChecker = new ModulusChecker();
var result =  modulusChecker
			.checkBankAccount(sortCode,accountNumber);

License

This software is released under the MIT license.

NB the resource text files valacdos.txt and scsubtab.txt are produced and released by Vocalink not me

Vocalink Version

Current version: v0.1.0 uses v4.8 of Vocalink Modulus Checking copied from their site on 2018-03-23

Release History
  • version: v1.1.0 switches to version v5.0 of Vocalink spec
  • version: v1.0.0 switched to kotlin from Java
  • version: v0.1.0 uses v4.8 of Vocalink
  • version: v0.0.0 uses v4.0 of Vocalink Modulus Checking copied from their site on 2017-01-04

javamoduluschecker's People

Contributors

pauldambra avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

javamoduluschecker's Issues

Reference data refreshing?

Hi Paul,

Nice work.
I'm considering using your software in replacement of an external service we are currently using to validate bank account numbers
The only problem is the necessity to manually update the modulus weight table. I guess whenever that happens a new version of your library needs to be released into the maven repo?

Do you think it would make sense to create some sort of a crone job that would periodically refresh that table from the vocalink website?

New version of Modulus Checker as of 21 August 2017

Dear Customer

You have signed up to receive email notifications when a new version of the ‘Validating account numbers: UK modulus checking’ specification is updated.

This mail is to inform you that the specification and associated table have been updated and are available for download here. https://www.vocalink.com/customer-support/modulus-checking

The specification will be valid from 21 August 2017, however please note that modulus checking information may be in the specification for sorting codes that are not currently set up. All sorting codes should be checked against the current industry sorting code directory (ISCD) or the extended industry sorting code directory (EISCD) to ensure they are valid.

If you have any queries, wish to cancel these notifications or amend the email address the notifications are sent to please contact Diana Pirtea on 0203 818 2142 or reply to this email.

Regards

Product Authority Team | Vocalink

new valacdos version from 17th September

Dear Customer You have signed up to receive email notifications when a new version of the ‘Validating account numbers: UK modulus checking', specification is updated. This mail is to inform you that the specification and associated table have been updated and are available for download here. The specification will be valid from 17 September 2018, however note that modulus checking information may be in the specification for sorting codes that are not currently set up. All sort codes should be checked against the current Extended Industry Sorting Code Directory (EISCD) which you can subscribe to here. If you have any queries, wish to cancel these notifications or amend the email address the notifications are sent to please contact Stephen Baines on 0203 818 2134 or reply to this email. Regards Product Authority Team | Vocalink

https://www.vocalink.com/customer-support/modulus-checking/?utm_campaign=1808-MODCHECK-KB%20v1&utm_medium=email&utm_source=Eloqua&elqTrackId=de625e715a354db895d6c0adcd1294aa&elq=6237a8779b8a4607b83288a1528c950a&elqaid=913&elqat=1&elqCampaignId=1917

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.