Skip to content

greecejs/greece-afm

Repository files navigation

greece-afm Build Status Coverage Status npm

Validation of Greek tax registration number (AFM).

Έλεγχος εγκυρότητας ενός Α.Φ.Μ.

Installation

$ npm install greece-afm

Usage

To validate an AFM:

var validateAfm = require('greece-afm');

validateAfm('094429812'); // true
validateAfm('987654321'); // false

Thanks

Validation algorithm by a gist from @tdoumas

License

MIT

About

Validation of Greek tax registration number (AFM)

Resources

License

Stars

Watchers

Forks

Packages

No packages published