Simple validator for Steuerliche Identifikationsnummer (German personal tax number) according to the official docs (see readme).

Overview

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.

You might also like...

Fast, compiled, eval-free data validator/transformer

spectypes Fast, compiled, eval-free data validator/transformer Features really fast, can be even faster than ajv detailed errors, failure will result

Dec 29, 2022

What does the Cosmos Hub validator set looks like without ICF delegations?

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Sep 2, 2022

A library that generates OpenAPI (Swagger) docs from Zod schemas

Zod to OpenAPI A library that uses zod schemas to generate an Open API Swagger documentation. Purpose and quick example Usage Installation The openapi

Dec 30, 2022

A JavaScript function to convert a number into words

Number to Words by Nicholas C. Zakas If you find this useful, please consider supporting my work with a donation. Description A function that accepts

Aug 7, 2022

A simple library to validate Mexican CURPs (Personal ID)

Validate CURP A simple and lightweight library to validate Mexican CURPs (Personal ID). Install NodeJS Use NPM: $ npm install --save validate-curp Or

Nov 24, 2022

Just A Personal Card for Cristian Del Rio (CristianJDelRio)

Just A Personal Card for Cristian Del Rio (CristianJDelRio)

NPX CARD This my NPX card show you a little bit about me directly via console or terminal 👇 just hit npx cristianjdelrio SCREENSHOT The final output

Oct 26, 2021

Dead simple Object schema validation

Yup Yup is a JavaScript schema builder for value parsing and validation. Define a schema, transform a value to match, validate the shape of an existin

Jan 2, 2023

A simple and composable way to validate data in JavaScript (and TypeScript).

A simple and composable way to validate data in JavaScript (and TypeScript).

A simple and composable way to validate data in JavaScript (and TypeScript). Usage • Why? • Principles • Demo • Examples • Documentation Superstruct m

Jan 9, 2023
Owner
Wojciech
hi there
Wojciech
This is the code repository of the official mun testnet validator node source code.

How to join Munchain network Infrastructure **Recommended configuration:** - Number of CPUs: 4 - Memory: 16GB - OS: Ubuntu 22.04 LTS - Allow all incom

MUN Blockchain 16 Dec 15, 2022
A simple environment variables validator for Node.js and web browsers

A simple environment variables validator for Node.js and web browsers

Mathieu Acthernoene 25 Jul 20, 2022
Simple password validator made with Javascript 💛

Password Validator Simple password validator made with Javascript ?? Branch history base-code: a complex logic to password validator. In next branches

Lais Frigério 8 Jul 25, 2022
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

Ajv JSON schema validator The fastest JSON validator for Node.js and browser. Supports JSON Schema draft-06/07/2019-09/2020-12 (draft-04 is supported

Ajv JSON schema validator 12k Jan 4, 2023
ForgJs is a javascript lightweight object validator. Go check the Quick start section and start coding with love

Hey every one im really happy that this repo reached this many stars ?? ,but this repo needs your contibution I started to better document the code th

Hamdaoui Oussama 1.7k Dec 21, 2022
Tiny Validator for JSON Schema v4

Tiny Validator (for v4 JSON Schema) Use json-schema draft v4 to validate simple values and complex objects using a rich validation vocabulary (example

Geraint 1.2k Dec 21, 2022
A JSONSchema validator that uses code generation to be extremely fast

is-my-json-valid A JSONSchema validator that uses code generation to be extremely fast. It passes the entire JSONSchema v4 test suite except for remot

Mathias Buus 948 Dec 31, 2022
Super Fast Complex Object Validator for Javascript(& Typescript).

Super Fast Object Validator for Javascript(& Typescript). Safen supports the syntax similar to the type script interface. This makes it easy to create

Changwan Jun 31 Nov 25, 2022
Easy HTML Form Validator

Easy HTML Form Validator

Ali Nazari 314 Dec 26, 2022
Facile is an HTML form validator that is inspired by Laravel's validation style and is designed for simplicity of use.

Facile is an HTML form validator that is inspired by Laravel's validation style and is designed for simplicity of use.

upjs 314 Dec 26, 2022