stephanstapel / ZUGFeRD-csharp

C# assembly for creating and reading ZUGFeRD invoices
Apache License 2.0
213 stars 114 forks source link

ZUGFeRD - Missing qdt namespace #355

Closed quotschmacher closed 1 month ago

quotschmacher commented 1 month ago

I am experiencing the same behaviour described in #322 but with a <ram:ID>urn:cen.eu:EN16931:2017#conformant#urn:zugferd.de:2p0:extended</ram:ID> invoice. In my invoice all DateTimeString are packed in a <udt:DateTimeString>

stephanstapel commented 1 month ago

oha. Can you share a test file? If it should be confidential, send it to stephan dot stapel at web dot de

quotschmacher commented 1 month ago

Thanks a lot - mail is sent!

stephanstapel commented 1 month ago

Thanks for the file. This requires a bigger change, all qdt xpaths need to be replaced in the version 20 reader. I see when I can do this.

quotschmacher commented 1 month ago

Solution should be similar to this https://github.com/stephanstapel/ZUGFeRD-csharp/commit/cf5f40bdd0ab24fe3220e72a4dbfb3c4f796d84b right?

stephanstapel commented 1 month ago

yes, but all over the place of the reader. Working on it.

stephanstapel commented 1 month ago

please try this commit: https://github.com/stephanstapel/ZUGFeRD-csharp/commit/c6e41300d0ca48c41b21501a88c2b19f1a8783c3

quotschmacher commented 1 month ago

Reading the inoice does not throw any exception. Thank you very much! Not quiet sure if it is of any importance, but the profile is not recognized (urn:cen.eu:EN16931:2017#conformant#urn:zugferd.de:2p0:extended) :

image