Skaar.Kontonummer 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Skaar.Kontonummer --version 1.1.0
                    
NuGet\Install-Package Skaar.Kontonummer -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Skaar.Kontonummer" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Skaar.Kontonummer" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Skaar.Kontonummer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Skaar.Kontonummer --version 1.1.0
                    
#r "nuget: Skaar.Kontonummer, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Skaar.Kontonummer&version=1.1.0
                    
Install Skaar.Kontonummer as a Cake Addin
#tool nuget:?package=Skaar.Kontonummer&version=1.1.0
                    
Install Skaar.Kontonummer as a Cake Tool

Kontonummer 🇳🇴

This package is an implementation of the Norwegian bank account number.

The type Skaar.Kontonummer has validation logic to parse a string containing an account number.

  • With JsonConverter and type converter
  • Parsing includes validation logic
  • Equality and comparison
  • IBAN number
  • IBAN bank lookup
  • Account type

Usage:

var rawInput = "32445395551";
var number = Kontonummer.CreateNew(rawInput); //alt. use Parse or TryParse
var validity = number.IsValid;
var iban = number.Iban;
var bank = number.Bank;
var result = number.ToString();

Icon

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.4 150 4/6/2025
1.1.3 147 4/6/2025
1.1.2 150 4/6/2025
1.1.1 99 4/5/2025
1.1.0 95 4/5/2025

0.1.0: Initial
           1.0.0: Id-numbers and org number
           1.1.0: Account number