Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 876 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 876 Bytes

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>