-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,8 @@ public static Profile FromString(this Profile _, string s) | |
case "urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended": return Profile.Extended; | ||
case "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2": return Profile.XRechnung1; | ||
case "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0": return Profile.XRechnung; | ||
case "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.1": return Profile.XRechnung; | ||
case "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.2": return Profile.XRechnung; | ||
} | ||
|
||
return Profile.Unknown; | ||
|
@@ -146,7 +148,7 @@ public static string EnumToString(this Profile profile, ZUGFeRDVersion version) | |
case Profile.Comfort: return "urn:cen.eu:en16931:2017"; | ||
case Profile.Extended: return "urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended"; | ||
case Profile.XRechnung1: return "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2"; | ||
case Profile.XRechnung: return "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0"; | ||
case Profile.XRechnung: return "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.1"; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
stephanstapel
Author
Owner
|
||
default: throw new Exception("Unsupported profile for ZUGFeRD version 21"); | ||
} | ||
default: | ||
|
wouldn´t it be good to make here a Date dependent Check so that on 01.08.2022 we dont need a new Release for supporting Version 2.2.0 ?