Powell.UtrTaxNumberTools 1.0.1

This project allows you to validate UK Unique Tax Reference (UTR) Numbers. It also allows you to generate valid ones.

Install-Package Powell.UtrTaxNumberTools -Version 1.0.1
dotnet add package Powell.UtrTaxNumberTools --version 1.0.1
<PackageReference Include="Powell.UtrTaxNumberTools" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Powell.UtrTaxNumberTools --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

csharp-utr-tax-number

Validation and Generation of UTR tax numbers.

Supports net35, net40, net45 and netstandard20.

Usage

Validation

var validator = new Validator();
var result = validator.Validate(utr);
Assert.That(result.Equals(true));

Generation

var generator = new Generator();
var utr = generator.Generate();

// with ditrict
var generator = new Generator("020"); // london district
var utr = generator.Generate();

csharp-utr-tax-number

Validation and Generation of UTR tax numbers.

Supports net35, net40, net45 and netstandard20.

Usage

Validation

var validator = new Validator();
var result = validator.Validate(utr);
Assert.That(result.Equals(true));

Generation

var generator = new Generator();
var utr = generator.Generate();

// with ditrict
var generator = new Generator("020"); // london district
var utr = generator.Generate();

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 1,040 1/28/2019