Open crlsmsq opened 2 years ago
Hi, which schemeID do you need? And you probably need it on a GlobalID of the tradeparty? We're just improving on SchemeIds [83f4b7] but so far thats not yet released.
thanks and kind regards Jochen
Hi,
Thank you for the prompt response. Indeed I was referencing the latest codes [83f4b7] you mentioned while importing version 2.5.2 (which does not have the schemedID yet). Thanks for pointing that out.
We were able to validate zugferd v1, but if we wanted to validate an exported zugferd v2 we are having these errors,
11:04:56.055 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.056 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 4: Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. (From /xslt/ZF_220/FACTUR-X_EN16931.xslt) 11:04:56.056 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.056 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 4: Value of '@schemeID' is not allowed. (From /xslt/ZF_220/FACTUR-X_EN16931.xslt) 11:04:56.056 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.056 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 4: Value of '@unitCode' is not allowed. (From /xslt/ZF_220/FACTUR-X_EN16931.xslt) 11:04:56.056 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.056 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 4: Value of '@unitCode' is not allowed. (From /xslt/ZF_220/FACTUR-X_EN16931.xslt) 11:04:56.056 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.057 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 4: Value of '@unitCode' is not allowed. (From /xslt/ZF_220/FACTUR-X_EN16931.xslt) 11:04:56.071 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.071 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 24: [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension (From /xslt/cii16931schematron/EN16931-CII-validation.xslt) 11:04:56.071 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.071 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 24: [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension (From /xslt/cii16931schematron/EN16931-CII-validation.xslt) 11:04:56.071 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.071 [http-nio-8083-exec-6] ERROR o.m.validator.ZUGFeRDValidator - Error 24: [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension (From /xslt/cii16931schematron/EN16931-CII-validation.xslt) 11:04:56.077 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.078 [http-nio-8083-exec-6] INFO o.m.validator.ZUGFeRDValidator - Notice 27: [BR-DE-21] Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen. (From /xslt/XR_22/XRechnung-CII-validation.xslt) 11:04:56.078 [http-nio-8083-exec-6] INFO o.m.validator.XMLValidator - FailedAssert 11:04:56.078 [http-nio-8083-exec-6] INFO o.m.validator.ZUGFeRDValidator - Notice 27: [BR-DE-19] "Payment account identifier" (BT-84) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 58 SEPA als Zahlungsmittel gefordert wird. (From /xslt/XR_22/XRechnung-CII-validation.xslt) 11:04:56.084 [http-nio-8083-exec-6] INFO o.m.validator.ZUGFeRDValidator - Parsed PDF:valid XML:invalid Signature:Mustang Checksum:FB64B69F6DCA314004A74966EE86AEC141EF9A3E Profile:urn:cen.eu:en16931:2017 Version:2 Took:1279ms Errors:[4,4,4,4,4,24,24,24,27,27]
We were able to resolve the issue on @unitCode by setting our parameter on Product Unit to C62 (same as on your example xml - im by no means expert on these standards and just following the error logs provided on the logs for the acceptable values) but since SchemedID is not yet available on 2.5.2, do you have any suggestion on this? Or am I missing something?
Thank You!
Thank you for your wonderful work. We're currently using Invoice class, and we're also trying to use the validator to validate the exported Zugfred A1 and A3 files, but unfortunately we couldn't validate Zugfred V2 files because it looking for the SchemedID is not in the TradeParty Class in the current 2.5.2 release.
When can we see the SchemedID class release? :)