Skip to main content
Skip table of contents

Visualisieren einer XRechnung mit dem Befehl CRTXIVIMG

General

In i-effect, you have the option to visualize an XRechnung file using the CRTXIVIMG command.

To use this command, a token must be available in WebControl. You can find instructions on how to generate a token in this manual article: API Token genieren

If you have not yet created an API token, you will receive the following error when executing the command: "API token configuration is missing."

image-20250305-095535.png

Command

To visualize an XRechnung, execute the CRTXIVIMG command and select the desired parameters.

image-20250305-100128.png

Automation in the server module

When using the command in a server task of type MONITOR, you can use server variables for file transfer. This allows XRechnungen in a monitored folder to be automatically detected and, for example, generated as PDFs.

To do this, create a server task of type IFS/MONITOR and specify the directory to be monitored in the data selection.

image-20250305-100954.png
image-20250305-101017.png

If you want to keep the original file, select the "MOVE" option for the parameter "Delete after processing." Since the CRTXIVIMG command does not support archiving the processed file, it will be moved to another directory instead of being deleted.

Add the CRTXIVIMG command as a processing step and use the server variables %IFSPATH% (path from the server task) and %IFSFILE% (filename from the server task) for the input file. This will automatically process all files captured by the data selection with the command.

image-20250305-101348.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.