Skip to content

TUI (Tunisia’s Unique Identifier) format validator

License

Notifications You must be signed in to change notification settings

McZen-Technologies/TUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TUI.js (Tunisia’s Unique Identifier)

NPM Downloads

The unique identifier serves as the taxpayer's identifier to the tax authorities in Tunisia, it's composed of 7 digits with a control key, for more details check out trovit.tn

Usage in the browser

<script src="https://cdn.jsdelivr.net/npm/@mczen-technologies/tui"></script>
<script>
	new TUI("0789012H").isValid(); // true
</script>

Or as a module

<script type="module">
	import TUI from 'https://cdn.jsdelivr.net/npm/@mczen-technologies/tui/module.js/+esm';
	console.log(new TUI("0789012H").isValid())
</script>