Generate police customer profiles report "Hospedajes" for Spain in Mews Operations

The Spanish police customer profiles report (Hospedajes) integration in Mews Operations helps you meet legal requirements in Spain by generating a daily report with guest information. Use this integration to automatically compile customer profiles, ensuring that you capture all required details. Generate the report each night to cover guest arrivals and manually upload the file to the Spanish Hospedajes platform. 

 

Note: For properties in the Basque Country and Catalonia, use the respective customer profiles report integration:

 

This is not a direct integration, so you need to manually upload the file to the Spanish Hospedajes platform. 

 

Note: When there are no checked-in reservations on the day of the report, properties should not upload the report to the Hospedajes platform. Uploading a file with empty values triggers a formatting error. 

 

In this article, you can learn about: 

 

How to set up the integration 

To set up the Spanish police customer profiles (Hospedajes) integration: 

  1. In Mews Operations, go to the main menu   > Marketplace
  2. Search for Spanish police customer profiles integration (Hospedajes). 

Mews Marketplace - Spanish police customer profiles integration screen.

  1. Click Explore
  2. Click Connect integration. 
  3. Click Edit on the integration to add your property information. Note: You need to enable the integration to use it. To do so, check the checkbox at the top of the screen next to Enabled. 
  4. Enter your property details, including: 
    1. Service*: Select the correct service for your property, for example, Stay. 
    2. Property code*: Unique identifier assigned by the Spanish government. 

Note: Fields marked with * are mandatory. 

  1. Under Recipient emails, add your email address to receive the report each night. 
  2. Set the Daily report execution time to run at, or before, 11 PM. 
  3. Click Save to complete the setup. 
  4. Click OK on the success message.  

 

You have now set up the integration. If you have filled out all customer profiles correctly, the system automatically generates the reports for you. 

 

Filling in the mandatory information 

Complete the following fields for each guest profile to ensure the Spanish police customer profiles (Hospedajes) report is accurate: 

  • Customer Information: 
    • First name 
    • Last name 
    • Second last name (for Spanish nationals) 
    • Traveler type (auto-generated by the system) 
    • Email address or telephone number 
  • Identity document (for adults): 
    • Identity document type 
    • Identity document number 
  • For minors: 
    • Birthdate 
  • Address Information: 
    • Address line 1 (Street) 
    • Province/State 
    • For Spanish addresses: Spanish Municipality Code  
    • For non-Spanish addresses: Municipality or City Name  
    • Postal Code 
    • Country Code 

 

Generated report example 

After completing the mandatory fields, the integration generates an XML file. The integration automatically generates stay information, including the following:  

  • Reservation identifier 
  • Creation date reservation 
  • Arrival date reservation 
  • Departure date reservation 
  • Number of persons 
  • Payment type 

 

If any mandatory fields are missing, the integration creates a zip file containing an errors.txt document listing which profiles have incomplete data.  

  • Successful report generation example: 12345-27-09-2024 07-34-02.xml  

successful report generation example - customer profile hospedajes police report

  • Error file example: If any fields are missing, the integration creates a zip file with an errors.txt document listing which profiles have incomplete data. 

customer profiles hospedajes - error file example Error file example - customer profiles

 

Resolving potential errors

To resolve potential errors, do the following:

  1. Go to the customer profiles report.
  2. Click on the respective customer surname to open their profile tab. 
  3. Add the missing information.
  4. Manually generate the report. Note: Set the Mode to Arrival.
  5. Export the report. Note: When exporting, choose Spanish police customer profiles integration (Hospedajes).

 

Uploading the report 

To upload the report: 

  1. Download the generated XML file from Mews. 
  2. Log in to the Hospedajes platform. 
  3. In the communication type section, choose Parte de viajeros.
  4. Manually upload the XML file. 

 

Note: This is not a direct integration, so you need to manually upload the file to the Spanish Hospedajes platform. 

 

You can learn more about generating other police reports for Spain here

Was this article helpful?
00



Feedback