From d89d4a4d51b50a979cfd842afe65f90359947e1c Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Wed, 6 Sep 2023 13:22:57 +0200 Subject: [PATCH 1/2] #18 Added Profile "PROFILE_XRECHNUNG_2_3" --- src/ZugferdProfiles.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/ZugferdProfiles.php b/src/ZugferdProfiles.php index b6f9b8f7..06752e18 100644 --- a/src/ZugferdProfiles.php +++ b/src/ZugferdProfiles.php @@ -65,6 +65,11 @@ class ZugferdProfiles */ const PROFILE_MINIMUM = 8; + /** + * Internal constant that identifies the XRECHNUNG profile version 2.3 (germany only) + */ + const PROFILE_XRECHNUNG_2_3 = 9; + /** * The definitions of the several profiles */ @@ -173,5 +178,17 @@ class ZugferdProfiles 'xsdfilename' => 'FACTUR-X_MINIMUM.xsd', 'schematronfilename' => 'FACTUR-X_MINIMUM.sch', ], + self::PROFILE_XRECHNUNG_2_3 => [ + 'name' => 'en16931', + 'altname' => 'XRECHNUNG', + 'description' => 'The reference profile is based on the CIUS XRechnung, which is maintained by KoSIT. It represents an ' . + 'extension of EN 16931-1 with its own business rules, the national German laws and regulations. It is therefore more ' . + 'specific than the EN 16931 (COMFORT) profile.', + 'contextparameter' => 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3', + 'attachmentfilename' => 'xrechnung.xml', + 'xmpname' => 'EN 16931', + 'xsdfilename' => 'FACTUR-X_EN16931.xsd', + 'schematronfilename' => 'FACTUR-X_EN16931.sch', + ], ]; } From ed2106c06400b906ec5e55523992809fd2c09b39 Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Wed, 6 Sep 2023 13:30:49 +0200 Subject: [PATCH 2/2] #18 Added Profile "PROFILE_XRECHNUNG_3" --- src/ZugferdProfiles.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/ZugferdProfiles.php b/src/ZugferdProfiles.php index 06752e18..0b2562a6 100644 --- a/src/ZugferdProfiles.php +++ b/src/ZugferdProfiles.php @@ -70,6 +70,11 @@ class ZugferdProfiles */ const PROFILE_XRECHNUNG_2_3 = 9; + /** + * Internal constant that identifies the XRECHNUNG profile version 2.3 (germany only) + */ + const PROFILE_XRECHNUNG_3 = 10; + /** * The definitions of the several profiles */ @@ -190,5 +195,17 @@ class ZugferdProfiles 'xsdfilename' => 'FACTUR-X_EN16931.xsd', 'schematronfilename' => 'FACTUR-X_EN16931.sch', ], + self::PROFILE_XRECHNUNG_3 => [ + 'name' => 'en16931', + 'altname' => 'XRECHNUNG', + 'description' => 'The reference profile is based on the CIUS XRechnung, which is maintained by KoSIT. It represents an ' . + 'extension of EN 16931-1 with its own business rules, the national German laws and regulations. It is therefore more ' . + 'specific than the EN 16931 (COMFORT) profile.', + 'contextparameter' => 'urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0', + 'attachmentfilename' => 'xrechnung.xml', + 'xmpname' => 'EN 16931', + 'xsdfilename' => 'FACTUR-X_EN16931.xsd', + 'schematronfilename' => 'FACTUR-X_EN16931.sch', + ], ]; }