Skip to content

Commit

Permalink
#18 Added Profile "PROFILE_XRECHNUNG_3"
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Sep 6, 2023
1 parent d89d4a4 commit ed2106c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/ZugferdProfiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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',
],
];
}

0 comments on commit ed2106c

Please sign in to comment.