General configurations
Interface ZF23INVHT - Header table
When filling the database fields, the following fields in the header table ZF23INVHT in particular must be filled as described here.
Field | Sample content | Explanation |
|---|---|---|
HTNAPPREF | ZUGFERD | This is interface data from or for the ZUGFeRD format. |
HTNAPPVER | 2.3.2 | ZUGFeRD Version 2.3.2 |
HTNAPPFMT | UBL | Data originates from or is intended for the presentation of an XRECHNUNG invoice in Universal Business Language (UBL) format. |
MANDANT | 01 | The field can be used to select or mark data records for different organisations. |
HTDIRECT | *OUT | Data for generating files |
HTSTATE | empty = to be processed (HTDIRECT='*OUT') or has been read in and not yet processed (HTDIRECT='*IN') | |
EXTERNAL_ORIGINATOR | Name of a different sender identification defined in the master data of i-effect and to be used for sending this data. See Send ZUGFeRD or xRechnung invoices with SNDFILE | |
EXTERNAL_RECIPIENT | Name of a different recipient identification defined in the master data of i-effect and to be used for sending this data. See Send ZUGFeRD or xRechnung invoices with SNDFILE |
PDF template and existing PDF files
It is possible to create a PDF, which is combined with the generated XML during mapping, using a template or to use an existing PDF file for the ZUGFeRD PDF. Which method is chosen depends on the content of the database fields HTTEMPLDIR and HTPDF:
Field | Contents | Function |
|---|---|---|
HTTEMPLDIR | extended | The folder name of the template to be used to generate a PDF. The folder must be located under /home/ieffect/zugferd/templates. If the field is empty, the template folder matching the mapping is used automatically. This parameter is used to access your own templates in a separate folder. |
HTPDF | /home/ieffect/pdf/zugferd.pdf zugferd.pdf | The path to an existing PDF file or the name of the PDF to be created. If a complete path (with a leading / ) is specified, no PDF is created, but an attempt is made to use the specified PDF for combining XML and PDF. If only a file name (including file extension) is specified, the PDF is created using a template and is given the specified name. The file is created in the output directory specified in the RUNMAP command. If the field is empty, a name is automatically generated according to this pattern: |