anskaffelser / ehf-postaward-g2

Specifications part of EHF Post-Award, 2nd generation.
33 stars 37 forks source link

Error in validation. Fails on valid GLN. #274

Closed aslehjelle closed 5 years ago

aslehjelle commented 5 years ago

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

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(.)