Validate german tax numbers and convert them to country wide schema
See also https://de.wikipedia.org/wiki/Steuernummer#Aufbau_der_Steuernummer
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Just install it with maven
mvn clean install
<dependency>
<groupId>de.kaffeekrone</groupId>
<artifactId>jsteuernummer</artifactId>
<version>1.0</version>
</dependency>
Snapshots (Repository http://oss.sonatype.org/content/repositories/snapshots)
<dependency>
<groupId>de.kaffeekrone</groupId>
<artifactId>jsteuernummer</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
Steuernummer.of("151/815/08156", Region.TH);
// or if you don't know the region/state
Steuernummer.of("02/815/08156").getRegion();