How to connect ISTAT Friuli-Venezia Giulia via WebTur API
Operational guide for connecting SmartPMS to the Friuli-Venezia Giulia Region's WebTur API service: retrieving web service credentials, configuring the ISTAT account, associating Portal ID, CIN, and units, and performing the first manual or automatic submission.
You are in the right place if…7 cases
- “How to connect Webtur API Friuli Venezia Giulia”
- “Which credentials are needed for Webtur FVG”
- “How to send ISTAT automatically in Friuli”
- “Where to find WebTur username and password for SmartPMS”
- “I cannot configure ISTAT WebTur with API credentials”
- “How to enter the CIN and portal ID for WebTur FVG”
- “ISTAT WebTur (Friuli Venezia Giulia)”
How to connect ISTAT Friuli-Venezia Giulia via WebTur API
This guide illustrates the complete procedure for connecting SmartPMS to the WebTur (Friuli-Venezia Giulia) regional portal via the direct REST API connector, enabling the automatic and manual transmission of tourist movement statistical data (Model C59).
📌 Prerequisites: what you need before starting
Before configuring the connection in SmartPMS, ensure you have retrieved the following information:
1. WebTur Web Service Credentials
To enable electronic submission via SmartPMS, you do not use SPID, CIE, or CNS credentials (which are valid only for manual access to the web portal via browser). Instead, you need the technical Web Service credentials issued by the FVG Region:
- Identifier (Username): numeric code (e.g.,
119XXX). - Web Service Password: alphanumeric string (all uppercase) of 32 characters (e.g.,
XXDX7YBXXXXH10XXXXCQXXZ5UARXXX).
How to obtain them: You can request or download the "Credenziali web service" document directly from the WebTur reserved area or by contacting Insiel support at sistemi.direzionali@insiel.it.2. Property Data (visible on WebTur)
By accessing your property profile on WebTur, locate:
- Property Code (Portal ID): the numeric identification code assigned by the Region (e.g.,
98XXX). - CIN (National Identification Code): the ministerial BDSR code (e.g.,
IT030129C2...). Verify that the CIN is marked as Verified in the WebTur profile. - Accommodation capacity: total number of rooms and beds registered on the regional portal.

⚙️ Configuration Procedure in SmartPMS
Step 1: Creating the ISTAT Account
- Log in to SmartPMS and navigate to Bureaucracy > Account > ISTAT.
- Click on the
+ Addbutton in the top right corner. - In the left column, fill in the fields as follows:
- Service Provider: select SmartPMS.
- Company Assignment: select the company to which the accommodation belongs.
- Label: enter a useful description to identify the account (e.g., WebTur - Property Name).
- Type: select
ISTAT Friuli Venezia Giulia Webtur API.
(Attention: do not select the "ISTAT Friuli Venezia Giulia" option, which is reserved for the old manual file export). - Username: enter your numeric web service identifier (e.g.,
119XXX). - Password: enter the 32-character alphanumeric password.
- Click the
Validatebutton: a confirmation message will indicate that the credentials have been successfully recognized by the regional server.

Step 2: Property Configuration (ID Section)
In the right panel, under the ID heading:
- In the top Portal ID field, type the numeric WebTur Property Code (e.g.,
98XXX) and clickAdd. - In the newly created row, fill in the data:
- Portal ID: already populated with the entered code (e.g.,
98XXX). - CIR: you can leave it blank if you enter the CIN.
- CIN: enter the full CIN code (e.g.,
IT030129C2WY6RQYJLT). - Available Rooms: enter the total number of rooms registered for the property (e.g.,
1). - Available Beds: enter the total number of beds registered for the property (e.g.,
2).
Step 3: Unit Mapping
Expand the Linked units panel:
- From the Unit dropdown menu, select the corresponding accommodation in SmartPMS.
- From the Portal ID dropdown menu, select the property code created in Step 2 (e.g.,
98XXX). - Click
Linkto confirm the association.
Step 4: Activating Automatic Submission and Saving
- In the left column:
- Activate the Automatic Submission switch.
- In the Activation Date field, set the date from which the system will start transmitting data automatically every morning. Be careful to enter a date that will allow you to follow the next step: if you want to realign data from the first of the current month, for example, select the correct date.
- (Optional) Activate Close property with sales closure if you wish to transmit closure on dates with blocked sales.
- Click CREATE in the top right to save the configuration.
🚀 First Submission and Data Verification (Manual Submission)
After saving, you can perform a first test submission or retrieve past dates:
- Go to the Bureaucracy > Account > ISTAT list.
- Locate the WebTur API account row and click Actions > Manual submission.
- Select the desired date range (e.g., the last 2-3 days from the beginning of the month) then click SEND.
- Wait a few moments, then click Actions > Logs: you will see the table of details sent for each date, with the Property ID and a green checkmark indicating success.


Frequently asked questions
7Can I use my SPID or CIE credentials for the connection?
No. SPID (as well as CIE or CNS) is reserved exclusively for manual access to the web portal by the user via a browser. The direct telematic integration of SmartPMS requires dedicated technical credentials called Web Service, consisting of a numeric Identifier and a 32-character alphanumeric Password issued by the FVG Region.
I manage multiple apartments or properties: can I include them all in the same ISTAT account?
WebTur Web Service credentials for tourist rentals and accommodation facilities are linked to the individual registered file/property. If you manage multiple apartments with distinct property codes and CINs, you will need to create a separate ISTAT Account in SmartPMS for each property, entering the respective credentials provided by the Region for each one.
What should I enter in the CIR field if I have already filled in the CIN?
If you have the CIN (National Identification Code) and it is verified in your property file on WebTur, you can leave the CIR field empty. SmartPMS prioritizes the CIN in the transmission of regional telematic flows.
What does the error 'CIN property not associated with this user' mean?
This message indicates that the CIN entered in SmartPMS does not belong to the property registry linked to the web service user account used for access, or that the CIN has not yet been associated and validated in the WebTur file. Access WebTur with SPID, open the property file, and verify that the entered CIN is identical and marked with the Verified status.
Can I manually send data for past days before activation?
Yes. After validating and saving the account, go to Bureaucracy > Account > ISTAT, click on Actions > Manual submission, select the desired period, and start the submission. You can verify successful receipt by clicking on Actions > Logs.
In Friuli-Venezia Giulia, is it still necessary to manually download and upload the TXT file to WebTur?
No. Previously, WebTur required the periodic export of a file in .txt format to be downloaded from SmartPMS and uploaded manually in the 'File upload' section of the regional portal.
With the release of the direct telematic integration 'ISTAT Friuli Venezia Giulia Webtur API', SmartPMS communicates directly with the FVG Region servers, transmitting movement data (model C59) automatically every morning via REST web service. The old TXT file method is obsolete and should no longer be used.
ISTAT submission errors: how to read logs and what to check before contacting support?
Where to read logs
- Go to Bureaucracy > Account > ISTAT.
- On the WebTur API account row, click on Actions > Logs.
- For each day, you will find Date, Property ID (the Portal ID), Outcome (green checkmark if the portal received the data, red icon if there was an error), Message and Errors returned by the portal, and Submission Date. If a day was submitted multiple times, the most recent row counts.
- Identify the last successful submission and the days in error, copy the exact message, and note the dates.
Automatic submission starts every morning and transmits days that have already concluded: the most recent days without logs may simply not have been transmitted yet.
Then check, in this order
- Retry submission: Actions > Manual submission, with the range of dates in error. If the message indicates that the portal was unreachable, the error is temporary: just resubmit later.
- Credentials: Actions > Edit > Validate. Validation only checks Web Service credentials: if it succeeds but submissions fail, the cause lies in the Portal ID, the CIN, or the linked units.
- Portal access and CIN association: access WebTur and verify that the property is active and that the CIN is Verified and associated with the Web Service user. If the credentials have been regenerated, update them in SmartPMS.
- Portal ID and units: in Actions > Edit, each unit must be linked to a Portal ID present in the ID section, with CIN, rooms, and beds filled in. If no unit is linked, the submission will not start and no log will appear.
What to send to support if the problem persists
- the error message copied exactly from the logs;
- the affected dates;
- the outcome of the Validation;
- whether or not you can access WebTur directly;
- whether manual submission fails or works.
Related guides
Activation
Activation
Activation
Activation
Activation