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

Should allow DateTimeString of 610 in OccurrenceDateTime in xslt/ZF_232/FACTUR-X_EN16931.xslt #604

Open
jmichler opened this issue Dec 5, 2024 · 3 comments

Comments

@jmichler
Copy link

jmichler commented Dec 5, 2024

In our ZUGFeRD Invoice we have:
ram:ApplicableHeaderTradeDelivery
ram:ActualDeliverySupplyChainEvent
ram:OccurrenceDateTime
<udt:DateTimeString format="610">202403</udt:DateTimeString>
</ram:OccurrenceDateTime>
</ram:ActualDeliverySupplyChainEvent>
</ram:ApplicableHeaderTradeDelivery>
We run:
java -jar ~/Desktop/zugferd-validierung/files3/Mustang-CLI-2.15.0.jar --action validate --source Beleg.pdf

This gives us:
Value of '@Format' is not allowed. [ID FX-SCH-A-000022] from /xslt/ZF_232/FACTUR-X_EN16931.xslt)

This is a bug though I think, see 6.5.3 of https://konik.io/ZUGFeRD-Spezifikation/Das-ZUGFeRD-Format_1p0.pdf which allows this format 610 (=the entire month) beside of specifying an individual day.

@jmichler
Copy link
Author

jmichler commented Dec 5, 2024

In generating this is supported; see #136

@langfr
Copy link
Contributor

langfr commented Dec 5, 2024

FACTUR-X_EN16931.xslt not an artifact created by the mustangproject but is a part of the ZUGFeRD 2.3.2 specification, downloadable from https://www.ferd-net.de/standards/zugferd-2.3.2/zugferd-2.3.2.html e.g.
So in my opinion it's no good idea to modify this.

@jmichler
Copy link
Author

jmichler commented Dec 5, 2024

I tend to agree; this seems to be a bit inconsistent though. Do you know if there is a forum to discuss this on the ferd-net.de side?

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

2 participants