Polish indetifiaction numbers REGON and NIP are using Mod11 checksum algorithm but with weights that does not increase linearly, e.g. 14 digit REGON has weights: 2 4 8 5 0 9 7 3 6 1 2 4 8.
It would be nice to have the possibility to provide custom weights as a parameter to Mod1XCheck annotation.
Provide constraint annotations for three Polish identification numbers: * NIP (information can be found here - https://pl.wikipedia.org/wiki/NIP) * REGON (information can be found here - https://pl.wikipedia.org/wiki/REGON) * PESEL (information can be found here - https://pl.wikipedia.org/wiki/PESEL) |
|