1.1.3 • Published 2 years ago

simple-de-taxid-validator v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

simple-de-taxid-validator

Important

Code of this validator is taken (with small changes like optimization or removing not needed elements) from THIS REPOSITORY. Super thank you guys, you did a great job.

About

This simple package helps you with validating Steuerliche Identifikationsnummer (German personal tax number) according to THIS OFFICIAL DOCUMENT.

IdNr (Steuerliche Identifikationsnummer, German personal tax number).

The IdNr (or Steuer-IdNr) is a personal identification number that is assigned to individuals in Germany for tax purposes and is meant to replace the Steuernummer. The number consists of 11 digits and does not embed any personal information.
Sources:

Installation

simple-de-taxid-validator is available as an npm package.

// with npm
npm i simple-de-taxid-validator
// with yarn
yarn add simple-de-taxid-validator

Usage

import { deTaxIdValidator } from 'simple-de-taxid-validator';

const { isValid } = deTaxIdValidator.validate(value);
const formattedTaxIdNumber = deTaxIdValidator.format(value);

License

This project is licensed under the terms of the MIT license.

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago