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

Error in validation. Fails on valid GLN. #274

Closed
1 task done
aslehjelle opened this issue Dec 11, 2018 · 0 comments
Closed
1 task done

Error in validation. Fails on valid GLN. #274

aslehjelle opened this issue Dec 11, 2018 · 0 comments

Comments

@aslehjelle
Copy link

Please make sure this box is checked before submitting your issue - thank you!

  • Issue is related to guides or validation part of EHF in post-award.

Issues related to PEPPOL BIS or rules part of PEPPOL BIS must be sent to rfc@peppol.eu.

Your issue here:
I get the following response when validation a xml file with the GLN 7080001113360. According to GS1 this seems to be a valid GLN number.

WARNING
EHF Invoice 2.0 (Profile 04)
Download source 31ms ehf-t10-04-2.0 c7614044-8ee5-41e5-ae83-8f22e2381111
WARNING
Common EHF rules for Post-Award
9ms ehf-common-ubl-1.0 c7614044-8ee5-41e5-ae83-8f22e2381111
WARNING
EHF-COMMON-R040 Invalid GLN number provided.
:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1] \ cac:AccountingCustomerParty[1] \ cac:Party[1] \ cac:PartyIdentification[1] \ cbc:ID[1]
Test: matches(., '^[0-9]+$') and u:gln(.)

@juppsi juppsi closed this as completed in d5aa5d1 Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant