To access TSS Configuration module, run Microsiga Protheus® Wizard:

1. Run the executable file in \bin\smartclient\totvswizard.exe or run the SmartClient and enter SRVWIZARD in the Initial Program

2. On the Wizard initial screen, select Web Modules and click New Module. Fill out the fields:

- Instance name: Any name can be assigned. However, to identify that the web service configured refers to NFSE, NFSE is suggested.

- Image root directory: A directory is automatically created with the instance name.

- Select the environment: Select the environment created for NFS-e.

Important:

Select the field Enable processes during server startup. This field creates the ONSTART session in the Server .ini file to start NFS-e JOBS when the service is started.

3. On the next screen, the relationship of companies/branches to access TSS is established. In the Host field, IP address or the name of web service server must be entered. If the server is the same machine where configuration is made, localhost can be used. If HTTP port used is different from the default port 80, you must enter this port, according to the example below:

Important:

After selecting Company/Branch, click Relate.

If there is more than one company, and you want to configure a web service for each of them, it must be made individually. In this case, a slash (/) must be added in order to make TSS understand that the host belongs to another company/branch. Example: localhost:8080/filial2.

This procedure is not compulsory, since companies can work with only one Web Service. Thus, the same environment and database of SPED/TSS are pointed out.

4. Then, a screen is displayed to configure the number of users that can access TSS at the same time. We suggest that you enter the minimum of 20 and the maximum of 30 users.

5. By clicking Finish, a message is displayed to install Microsiga Protheus® module. Select Yes. Then, appserver.ini file is created.

6. Access appserver.ini file to check the default configuration.

Important:

As SPED does not require licenses, you must delete the row PREPAREIN from .INI file because this command indicates license requirement.


To work with Electronic Invoice (NF-e or NFS-e), you must create one more JOB, made directly in .ini file.

By restarting Microsiga Protheus® service, check whether HTTP service and JOBS created were made.

After all steps completed, perform a test by accessing Webservice URL through Internet Explorer.

From this moment, NF-e can be configured through Invoicing module.