Skip to content

Releases: insurello/elm-swedish-bank-account-number

Add Lunar Bank to Bankgirosystemet

05 Sep 13:27
54eaf68
Compare
Choose a tag to compare
2.0.3

Add Lunar Bank to Bankgirosystemet

Add Aion Bank and rename two banks

02 Mar 13:58
d3fef4a
Compare
Choose a tag to compare
2.0.2

Add Aion Bank and rename two banks

Fix leading zero

19 Apr 14:08
b7b843d
Compare
Choose a tag to compare

Fixed: Previously, typing 01234 was considered valid and treated as 1234 but the parsed clearing number contained the leading zero, which is not valid. Now, that leading zero is correctly removed. We do that instead of giving an error, because the instructions for the clearing number typically say “4-5 digits” and a number like 01234 is 5 digits and feels valid to a human.

2.0.0

09 Feb 12:20
cacb883
Compare
Choose a tag to compare

This release adds two new banks:

  • Ferratum Bank
  • Lunar Bank

It also changes the return type of SwedishBankAccountNumber.ClearingNumber.fromString:

- fromString : String -> Result Error ClearingNumber
+ fromString : String -> Result Error ( Category, ClearingNumber )

In other words, you get back not only a ClearingNumber but also a Category that looks like this:

type Category
    = Standard
    | DataclearingOnly
    | Historical

The banks are categorized as follows:

  • DataclearingOnly: Avanza, BlueStep, Landshypotek, Lunar, Lån & Spar, Nordax, Santander.
  • Historical: Forex, MedMera.
  • Standard: Everything else (most of them).

Here’s how to handle the different categories:

  • Standard: The bank is active, and part of both the Bankgiro and Data clearing systems. All is good to go!
  • DataclearingOnly: The bank is active, part of the Data clearing system, but not part of the Bankgiro system. They are marked with “(deltar endast i Dataclearingen, ej i Bankgirosystemet)” in Bankgirot’s PDF. (Bankgirot is a Swedish Clearing organization, while “Dataclearingen” is a transfer system owned by the Swedish Bankers’ Association.) If your system only can make Bankgiro transfers, you might want to show an error message for this category.
  • Historical: You probably want to show a nice error message saying that the bank does not exist anymore.

Fix logo in readme

11 Oct 10:33
575e995
Compare
Choose a tag to compare

No code changes.

Add Northmill Bank

03 Aug 15:14
3bdb60c
Compare
Choose a tag to compare

Inception

04 Dec 11:46
Compare
Choose a tag to compare

Initial release.