EORI Validation: Execute cli (service)


Background processing cannot be started from the user interface. from the user interface. To execute the background processing, open a command line in the directory where the file


and call it with the parameter --mode=auto.

The background processing will then process all EORI files that are in the in the import directory. In the backup directory a copy of the copy of the import file is always saved in the backup directory and the finished in the export directory. In the log directory individual processing steps are recorded.

The call for the EORI Validation with the option --mode=auto can be scheduled via a repeating task or cronjob.


Run ew_service_eori --help and you will get the overview of all parameters of the EORI Validation that you can pass to the cli or service.

Usage of: ew_service_eori.exe [options]
-h  --help              Show this help
-v  --version           Version Return the version information.
    --lang              Language (de,en). Overwrites settings.
    --mode              Set the validation mode (single, batch, auto).
    --dataobject        JSON object for single validation mode.
    --inputfile         Input ImportData file for batch validation.
    --outputfile        Output file for batch validation.
    --testmail          Send a testmail.
    --validatefile      Check file, if structure is readable.
    --returncodeseori   Writes the returncodes for EORI to user dir.

-h --help

View all necessary parameters that support cli of EORI Validation.

-v --version

Print the current installed version of the EORI Validation.


Use this parameter to specify or override the language of the EORI Validation.


The mode in which the EORI Validation should be performed.


This parameter is necessary for a single validation of an EORI number.

-i --inputfile

Use this parameter to specify the file with data to be imported for the EORI Validation.

-o --outputfile

Specify the export file for the EORI Validation with this parameter. It is important that it is not identical to the import file.


From the EORI Validation, test a sending of a test e-mail. After processing a file, an e-mail can be sent to you at the end. can be sent to you.


Check the EORI import file for formal correctness beforehand.


This parameter creates a configuration file for the EORI Validation to edit the return values of the EOS interface.

Outputs from cli/Service

All outputs are in JSON format and vary according to your return values.


Configuration of the ew_service_eori CLI is done via INI files or via the user interface application. Further information please refer to the EORI configuration files page.