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