ZUGFerdPDF
Configuration file |
None. Configuration is done directly with a string in field "Config file". |
Class name |
com.ebd.hub.datawizard.postexec.ZUGFerdPDF |
Description
This postexecuter creates a ZUGFeRD PDF/A-3 file from a regular XML file created in the profile (see section XMLNoTemplateUnit) and a regular PDF file. The postexecuter expects the path to the PDF file in field "Config file".
It is also possible to define the Conformance Level after a colon in the parameter, i.e. the characteristics of the XML invoice data according to the specifications of ZUGFeRD (allowed values are "BASIC", "COMFORT", "EXTENDED", "EN16931").
Separated by another colon, the ZUGFeRD version number is given at the end. Permitted values are 1 and 2. If no value is specified, the default value is 1.
If version 2 is used, the path to a folder containing additional documents to be included can be specified after another colon (subfolders are ignored.). The files of the folder are deleted after inclusion. If the specified folder is empty, the folder itself will be deleted.
Syntax of the configuration string:
<PDF path>:<level>:<version>:<include path> |
Important note: The input PDF file must not be in the PDF/A format.
Important note: The encoding for the postexecuter in phase 5 has to be "UTF8". If the postexecuter is used in phase 6, the content of a Response has to be set to "Content of IU" and the encoding has to be "UTF8" here as well.
Note: Placeholders @VAR_NAME@ for variables and %CONST_NAME% for constants are allowed.
Example
./temp/INVOICE/IN_12_150715.pdf:EXTENDED:2./files/include |