stephanstapel / ZUGFeRD-csharp

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

Support for XRechnung 2.1.1 and 2.2.0 #175

Closed TomcatBB closed 2 years ago

TomcatBB commented 2 years ago

Regarding the official XRechnung Site from KOSIT https://www.xoev.de/xrechnung-16828 the Version for valid XRechnungen changed from 01.02.2022 from 2.0.1 to 2.1.1 and also will change on 01.08.2022 to Version 2.2.0. At least the Version Identifiert in:

<ram:GuidelineSpecifiedDocumentContextParameter>
            <ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0</ram:ID>
</ram:GuidelineSpecifiedDocumentContextParameter>

needs to be changed to the new Versions depending from the DateTime.

From 01.02.2022-31.07.2022 urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.1 From 01.08.2022 urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.2

Can you please implement the new Version Numbers, i dont know what are the affects to the Zugferd Versions.

TomcatBB commented 2 years ago

Thank you for the quick fix.

wouldn´t it be good to make the Version picking a Date dependent Check so that on 01.08.2022 we dont need a new Release for supporting Version 2.2.0 ?

And can you please publish a new release that we quickly can use the new Version 2.1.1?

stephanstapel commented 2 years ago

see comment on https://github.com/stephanstapel/ZUGFeRD-csharp/commit/e87de425cb44eb7a144adb9bc6dc2da5a0b2348b#commitcomment-65920911