Docs›More guides

SES Hospedajes export with Mangobeds: the Spain police report from your bookings

6 min read

If your property is in Spain, every guest and every booking has to be reported to the Ministry of the Interior on the SES Hospedajes portal (Real Decreto 933/2021). The SES Hospedajes export in Mangobeds builds the XML files the portal takes, so you upload one file instead of typing each guest by hand.

You set up the guest fields and your establishment code once, in the Guest registration app. After that, exporting takes a few clicks a day.

Who can use it

The export is part of the Guest registration app, which is included in the Pro and Premium plans. Mangobeds offers SES Hospedajes to any property whose country is set to Spain, except in Catalonia and the Basque Country, which run their own portals (Mossos d’Esquadra and Ertzaintza) that Mangobeds does not file to yet. If the app names a different authority, or says it is not where you are yet, check the country, postal code and address in your property settings first.

Two files, not one

SES Hospedajes asks for two different communications, and Mangobeds exports both:

  1. Arrivals (parte de viajeros): every guest checking in on a given day, with their identity document. Due within 24 hours of the arrival.
  2. Bookings (reserva de hospedaje): every booking made on a given day, with the person who booked. Due within 24 hours of the booking.

Each download is one file with all the communications of that type for the day you picked.

What the files need

Some details come from the guest’s own profile, which every booking already has:

  • First and last name
  • Birth date
  • Nationality
  • Phone or email
  • Home address (street, city and postal code)

The rest come from custom guest fields, so your guests fill them in on your booking form:

  • Second surname, for Spanish guests with a DNI
  • Sex
  • Document type: DNI, NIE, passport, or another identity document
  • Document number
  • Document support number, the number printed on the back of a DNI or on a NIE card
  • Kinship, for an adult travelling with a minor

The arrivals file needs all of them. The bookings file only needs the name and a phone or email, and takes the rest when it is there.

Set it up once

1. Turn on Guest registration

  1. Go to Apps and open Guest registration.
  2. Leave Mangobeds selected. The card names SES Hospedajes as your authority.
  3. Tick that you have read this guide and click Turn on.

2. Create the fields

  1. Under Guest fields you see one row for each detail SES Hospedajes asks for.
  2. If you already have a field for a detail, pick it from the list. Fields with the usual names (like "Sex", "Document type" or "Kinship") are picked for you.
  3. If you do not have one yet, click Add field. Mangobeds creates it for you, ready to use. Sex, Document type and Kinship come as dropdowns with the options the portal knows, so guests cannot type something it rejects.

Your picks are saved with the app, so everyone on your team sees the same setup on every device.

3. Enter your establishment code

  1. In the SES Hospedajes file card, type the establishment code SES Hospedajes gave your property when you registered it on the portal. It has up to ten characters.
  2. Click Save.

Every file carries this code, so the portal knows which establishment is reporting.

4. Put the fields on your booking form

A field only collects data once guests see it:

  1. Go to Forms and open your booking form.
  2. Next to Custom guest fields, click Manage.
  3. Tick the fields. Edit each one and turn on Required, so a booking cannot go through without them. Leave Kinship optional: only an adult travelling with a minor needs it.
  4. Save the form.

You can add the same fields to your online check-in in the Check-in app instead, which suits properties that take bookings through Booking.com or Airbnb. For guests who booked before, you fill the details in yourself from the booking’s Guests tab.

How to export

  1. In Guest registration, click Export file. The same export is under Actions on the Bookings page, as SES Hospedajes.
  2. Pick Arrivals or Bookings, and the day.
  3. Check the list. Guests ready to go have a green tick.
  4. Click Download .xml.
  5. On the SES Hospedajes portal, open Alta masiva de comunicaciones, choose the matching type of communication and upload the file.

The file is named after the type and the date, for example ses-hospedajes-PV-2026-12-01.xml for arrivals (PV is the portal’s code for parte de viajeros) and ses-hospedajes-RH-2026-12-01.xml for bookings (reserva de hospedaje). If the export says the app is off or the establishment code is missing, open Guest registration and finish the setup above.

When a guest is missing details

A guest with something missing is left out of the file and listed below the ready ones, with what is missing (for example "document support number"). If a value was entered but the portal will not accept it, you see it too, like "Nowhere" not recognised as a municipality.

Click Edit guest next to the name, fill in the details, then come back and the guest moves to the ready list. A booking goes in the file only when every guest on it is complete, so the portal never receives half a group.

Tips for the details

  • Spanish addresses are matched to their official municipality (the INE code) from the city and the postal code. Write the city as it is usually written, for example "Las Palmas de Gran Canaria" or "Sevilla". If Mangobeds cannot match it, the guest is listed as missing the municipality.
  • Document type takes "DNI", "NIE", "Passport", and for other identity cards or driving licences "Identity card" or "Driving licence". DNI and NIE numbers are checked for their control letter, so a typo shows up before the upload, not after.
  • Minors do not need a document. When a minor is on the booking, at least one adult on it has to say how they are related in the Kinship field (parent, legal guardian and so on). Until then the booking stays out of the arrivals file.
  • Phone or email: the portal wants one of them for every person. Mangobeds uses the phone when there is one and the email otherwise.

Good to know

  • Only confirmed bookings are included.
  • The arrivals file takes the guests whose stay starts on the day you pick; the bookings file takes the bookings created on that day, on your property’s local time.
  • The booking’s check-in time comes from the guest’s estimated time of arrival when they gave one, otherwise from your property’s check-in time. Check-out uses your property’s check-out time.
  • How the booking was paid is read from its first successful payment in Mangobeds (card, cash, bank transfer). A booking with no payment yet is reported as paid at the property.
  • Turning the app off keeps your guest fields and their values. Only the export stops.

Want it fully automatic?

The export is the simple route: you upload one file a day per type. If you would rather never open the portal, pick Chekin in the same Guest registration app, which files to SES Hospedajes for you. For the overview of guest registration in Mangobeds, read Police reports and guest registration with Mangobeds.

Mangobeds is a property management system, not a legal advisor. Which guests to report, by when and to whom is set by the Ministry of the Interior and some regions, and it changes. Check with your local authority before relying on a rule in this guide.