norwegian-tin-validator
A robust Norwegian TIN (Tax Identification Number) validator library supporting both D-numbers and F-numbers, including the new TIN format introduced in 2032. Also supports all synthetic test TINs and all test IDs used by Skatteetaten.
Features
- Validate Norwegian TINs (F-numbers and D-numbers)
- Support for new TIN format (from 2032)
- Handles synthetic test TINs
- Supports all test IDs used by Skatteetaten
- Simple API for integration
Installation
Add to your Cargo.toml:
= "0.1"
Usage
Rust
use NorwegianTin;
Documentation
License
Apache-2.0 License. See the LICENSE file for details.
Contributing
Contributions and issues are welcome! Please open an issue or pull request on GitHub.
Acknowledgements
Based on official documentation from Skatteetaten.