Send ZUGFeRD or xRechnung invoices with SNDFILE
This functionality is only supported from version 2.9.10 onwards.
ZUGFeRD/XRechnung files generated with i-effect can be sent automatically using the SNDFILE command. When using SNDFILE, the special value *FRMFILE can be used for recipients and senders. This uses the information about the buyer and seller stored in the ZF23INVHT database to determine the necessary information for the shipping method and mode from the i-effect partner master and sender profiles. The configuration found is then used to send the file.
If a different sender or recipient is desired for sending the ZUGFeRD/XRechnung file, the database fields EXTERNAL_ORIGINATOR and EXTERNAL_RECIPIENT from ZF23INVHT can be used to refer to the respective partner or sender profile from the i-effect partner master and to use the configuration from these.
Order of determining sender and recipient
The following sequence applies when determining the sender and recipient from the source data:
The values entered in the table ZF23INVHT. EXTERNAL_RECIPIENT and ZF23INVHT.EXTERNAL_ORIGINATOR
Indices found by the file parser (ID of buyer/seller of the ZUGFeRD/XRechnung file)
Search order for the recipient
The first value found in the source data is used to search the master data in the following order.
The partner ID
Partner attribute *GLN (only applies to the global ID)
Partner characteristic *INTERNAL (only applies to the general ID)
Search order for the sender
The first value found in the source data is used to search the master data in the following order.
The sender profile ID (only applies to the global ID)