Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of values - Future Feature maybe? #16

Open
Moellre opened this issue Apr 28, 2017 · 4 comments
Open

Validation of values - Future Feature maybe? #16

Moellre opened this issue Apr 28, 2017 · 4 comments

Comments

@Moellre
Copy link

Moellre commented Apr 28, 2017

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

@phax phax self-assigned this Apr 28, 2017
@phax phax added this to the 1.1 milestone Apr 28, 2017
@phax
Copy link
Owner

phax commented Apr 28, 2017

This is generally a good point. This is another topic that must be mentioned regarding the potenially new codelist team!!

@stale
Copy link

stale bot commented May 14, 2019

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.

@stale stale bot added the wontfix label May 14, 2019
@phax phax removed the wontfix label May 15, 2019
@phax
Copy link
Owner

phax commented May 15, 2019

Ideally PEPPOL EDEC should come up with validation rules per identifier scheme

@stale
Copy link

stale bot commented Aug 13, 2019

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.

@stale stale bot added the wontfix label Aug 13, 2019
@phax phax added pinned and removed wontfix labels Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants