ZUGFeRD (IU)
Class name |
com.ebd.hub.datawizard.iu.ZUGFeRD |
This Integration Unit creates a ZUGFeRD PDF/A-3 file from an XML, created in the mapping, and an existing regular PDF file. It expects the path to a PDF file and the path to an XML template (see section XMLTemplateParserUnit) file as mandatory parameters.
Important note: The encoding in the Response must be set to "ISO-8859-1".
Important note: The input PDF file must not be in the PDF/A standard.
Parameters
All parameters are mandatory.
Parameter |
Allowed values |
Default value |
Description |
Add opt. files of folder |
|
|
Note: Only valid for version 2! You can specify the path to a folder containing additional documents to be inserted. Note : Subfolders are ignored. |
Delete PDF Invoice afterwards |
true, false |
false |
If true, the existing PDF file, that is used to create the ZUGFeRD PDF/A-3 file, will be deleted. |
Delete opt. files afterwards |
true, false |
false |
Note: Only valid for version 2! If true, the files specified in parameter Add opt. Files of folder will be deleted after adding. |
PDF Creator (user) name |
|
Lobster_data |
Name that will be used as PDF creator name. |
PDF Invoice-file |
|
|
Path to the existing PDF file. |
Text mode (normalize, preserve, trim, trim-full-white) |
normalize, preserve, trim, trim-full-white |
trim |
Configures the way, values are written into the XML file. preserve - No changes will be made to the text. All whitespaces (leading, trailing, …) will remain in the XML file. trim-full-white - Same as preserve with the exception that a text, containing only whitespaces, will be replaced by an empty text. trim - All leading and trailing whitespaces of a text will be removed. normalize - Same as trim with the addition, that 'inner' whitespaces are reduced to a single space (..1..2.. → 1.2, a dot represents a whitespace). |
template-file |
|
|
Path to the XML template file. |
Use XML short form for empty fields |
true, false |
false |
If true, the short form for empty XML fields is used. |
ZUGFeRD version |
1, 2 |
1 |
Indicates whether ZUGFeRD 1.0 or ZUGFeRD 2.0 is being used. |
with empty fields |
true, false |
false |
If true, all empty fields are created. |
Write mandatory empty field |
true, false |
false |
If true, only empty mandatory fields are created. |
ZUGFeRD conformance level |
BASIC, COMFORT, EXTENDED, EN16931 |
BASIC |
The conformance level that is put into the XML envelope. |