From 2e06b4218c0d475d7bfd06909e410f7e8bd54763 Mon Sep 17 00:00:00 2001 From: Antoine Augusti Date: Fri, 5 May 2017 22:16:25 +0200 Subject: [PATCH] Updates for specification 4.20 --- README.md | 10 ++++++---- data/weights.txt | 3 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 39e7454..04b56fd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Modulus checking is a procedure for validating sort code and account number comb If you want to know more about modulus checking, read this [GoCardless guide](https://gocardless.com/guides/posts/modulus-checking/). ## Validity -This package follows the Vocalink specification, version 4.10, that will be live on 06/03/2017. More information about the specification can be seen on the [Vocalink website](https://www.vocalink.com/customer-support/modulus-checking). +This package follows the Vocalink specification, version 4.20, that will be live on 12/06/2017. More information about the specification can be seen on the [Vocalink website](https://www.vocalink.com/customer-support/modulus-checking). ## API If you prefer to send request to a web service, take a look at the package [moduluschecking-api](https://github.com/AntoineAugusti/moduluschecking-api) that offers an API to validate UK bank account numbers, supporting authentication and rate limits. @@ -25,26 +25,28 @@ The following institutions are supported: - Bradford and Bingley Building Society - Charity Bank - Citibank +- ClearBank - Clydesdale - Co-Operative Bank - Contis Financial Services - Coutts - First Trust +- HSBC +- HSBC - Halifax - Hoares Bank -- HSBC - Lloyds - Metro Bank -- Nationwide Building Society - NatWest +- Nationwide Building Society - Northern - Orwell Union Ltd - Royal Bank of Scotland - Santander - Secure Trust - Starling Bank -- Tesco Bank - TSB +- Tesco Bank - Ulster Bank - Unity Trust Bank - Virgin Bank diff --git a/data/weights.txt b/data/weights.txt index 20cb256..4bd58dc 100644 --- a/data/weights.txt +++ b/data/weights.txt @@ -1,4 +1,5 @@ 010004,016715,MOD11,0,0,0,0,0,0,8,7,6,5,4,3,2,1 +040406,040606,DBLAL,1,3,4,3,9,3,1,7,5,5,4,5,2,4 050000,050020,MOD11,0,0,0,0,0,0,2,1,7,5,8,2,4,1 050022,058999,MOD11,0,0,0,0,0,0,2,1,7,5,8,2,4,1 070116,070116,MOD11,0,0,7,6,5,8,9,4,5,6,7,8,9,-1,12 @@ -103,6 +104,8 @@ 200000,200002,DBLAL,2,1,2,1,2,1,2,1,2,1,2,1,2,1,6 200004,200004,MOD11,0,0,0,0,0,0,0,7,6,5,4,3,2,1,6 200004,200004,DBLAL,2,1,2,1,2,1,2,1,2,1,2,1,2,1,6 +200026,200026,MOD11,0,0,0,0,0,0,0,7,6,5,4,3,2,1,6 +200026,200026,DBLAL,2,1,2,1,2,1,2,1,2,1,2,1,2,1,6 200051,200077,MOD11,0,0,0,0,0,0,0,7,6,5,4,3,2,1,6 200051,200077,DBLAL,2,1,2,1,2,1,2,1,2,1,2,1,2,1,6 200079,200097,MOD11,0,0,0,0,0,0,0,7,6,5,4,3,2,1,6