denormalize-steuernummer
v1.0.4
Published
De-normalize a national format of German tax number (Steuernummer)
Downloads
1,386
Readme
denormalize-steuernummer
De-normalize a national German tax number (Steuernummer)
Installation
$ npm install denormalize-steuernummer
Usage
const denormalizeSteuernummer = require("denormalize-steuernummer");
denormalizeSteuernummer("3201012312340")
// => { taxState: "DE-BW", taxNumber: "93815/08152" }
denormalizeSteuernummer("3201012312340")
// => { taxState: "DE-SN", taxNumber: "201/123/12340" }
API
denormalizeSteuernummer(normalizedSteuernummer)
normalizedSteuernummer
Type: string
Normalized German tax number (Steuernummer).