Open Moellre opened 7 years ago
This is generally a good point. This is another topic that must be mentioned regarding the potenially new codelist team!!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Ideally PEPPOL EDEC should come up with validation rules per identifier scheme
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
A future feature that I think would be really good is some kind of validation of the values used as identifier. Once again a point at "the ELMA SMP service where its only possible to register a correct Norwegian organization number NO:ORG (9908:123456789)
My and Ahti has actually a case where a recipient where registered with an "incorrect" number according to its identifier.
The recipient got registererd with 0007:556702693401 but 556702693401 is NOT a correct Swedish organization number. It should be just 5567026934. (without the last 01, which is part of the Swedish VATnumber) the correct VAT for this reciver is SE556702693401
In the same way, it should be easy to do a check for a correct GLN with a “MOD11” check.
The VAT Validation should be “easy” for someone that can code, since there is a EU function http://ec.europa.eu/taxation_customs/vies/
Of course this requires that there is some kind of a framework surrounding the different formats of “organization number” I know the formats here in the Nordic, but I haven’t found any info regarind other countries. WikiPedia has this info about VAT https://en.wikipedia.org/wiki/VAT_identification_number