---
problem: 'You need a Spanish reporting export and want to know which file to use, which stays it includes and whether downloading it completes a filing.'
---

# Modelo 179 and the CRUA export (Spain)

Compare Modelo 179 XML with the 2025 CRUA ZIP, check the contents and download a prepared file.

## How it works

You can generate Modelo 179 XML for Spain from **Accounting**, where available. For the 2025 CRUA ZIP, open **Support** and look for **Spanish Regulation File**.

### Modelo 179 XML {#modelo-179}

The Modelo 179 generator offers years 2018–2024.

The generator asks for:

- A year.
- Booking sources.
- A declarant selected from your recipients.

The selected declarant needs:

- A legal name.
- An identification type.
- An identification number.

For an initial validation, select at least 1 booking source. Validation considers rentals enabled for Modelo 179. It selects bookings that meet these criteria:

- Check-in in the selected year.
- Currency EUR.
- A final price above 0.

Review the rental and booking errors, correct them and validate again before generating XML.

### What the CRUA export includes {#crua-contents}

The current CRUA export is fixed to 2025. It selects stays that meet all of these criteria:

| Criterion | Included stays |
|---|---|
| Booking status | Booked. |
| Stay ends | After the start of 1 January 2025. |
| Stay starts | Before the end of 31 December 2025. |

The export selects the tourism NRUA first. For the rental's legal information, see [Location, licence and legal details](https://rental-ninja.com/help/location-and-legal-details#legal).

The ZIP contains CSV files grouped by CRU:

- A semicolon-separated CSV for each CRU with qualifying bookings, named with that CRU.
- A `crua_mapping.txt` file matching CRU codes to rental names.

Each CSV row contains, in order:

| Column | Contents |
|---|---|
| 1 | NRUA. |
| 2 | Check-in date. |
| 3 | Check-out date. |
| 4 | The booking's adults plus children. |
| 5 | A fixed value of `1`. |

Dates use day/month/year formatting in UTC. Review the dates and guest counts against your records before using the files, especially for stays near midnight or a year boundary.

### A download is not a fresh export {#prepared-file}

**Spanish Regulation File** retrieves an existing ZIP. It does not generate a new export or ask you to choose a year. Downloading does not itself refresh the export.

The CRUA files are intended for use in N2. Preparing and submitting the filing are separate from downloading the Rental Ninja ZIP. Confirm the applicable filing requirements with your adviser.

### Access and a missing download {#access}

To download the CRUA ZIP, you need:

- The Team Owner or Administrator role.
- Accounting permission.
- A team with access to the Accounting module.

The app displays **Spanish Regulation File** when it retrieves a download link.

## Why it works this way

- Police guest registration and CRUA filing are separate processes. A police-registration receipt does not confirm that a CRUA filing is complete.

## Set it up

For Modelo 179, you need accounting access. Modelo 179 must be enabled for your team.

1. Open **Accounting**.
2. Select **Validador / XML**, where available.
3. Expand the new Modelo 179 validation form.
4. Select the year.
5. Select at least 1 booking source.
6. Select a declarant with complete legal identification.
7. Select Validar.
8. Review and correct errors.
9. Validate again from the generator menu.
10. If validation contains bookings, open the generator menu.
11. Choose **Generate New Document** or **Generate Modification Document**, as appropriate.
12. Confirm the download.

For the CRUA ZIP:

1. Sign in as the Team Owner or an Administrator with accounting access.
2. Open your account menu.
3. Select **Support**.
4. If **Spanish Regulation File** is available, select it to download the prepared ZIP.
5. Extract the ZIP.
6. Use the mapping file to match CRU codes to rentals.
7. Review the files before preparing the separate filing.

### Good to know {#good-to-know}

Downloading either file is not a filing receipt.

Police guest registration is a separate process. See [Guest registration with the police](https://rental-ninja.com/help/police-registration) for that reporting workflow.

The Modelo 179 form requires Modelo 179 to be enabled for your team. The generator is not the tool for downloading the 2025 CRUA ZIP.

Initial validation returns no bookings without sources or booking references. Unavailable blocks and tentative bookings are excluded.

When errors remain, the screen can still offer a download. It shows a warning before you confirm.

> [!WARNING]
> If validation finds no bookings, do not generate XML. With no sources selected, the XML can include otherwise matching bookings from all sources. A downloaded XML file is not confirmation that the tax authority has accepted it.

Stays crossing a year boundary keep their full dates rather than being clipped to 2025.

Rentals whose selected NRUA is empty are skipped. The export uses the temporary NRUA only when the tourism value is missing or null. Check that the tourism NRUA is populated correctly: a blank stored tourism value can cause a rental to be skipped even when a temporary NRUA is present.

A mapped CRU may have no CSV if it has no qualifying bookings in the prepared export.

A later download may contain newer changes only if a new ZIP has been prepared in the meantime.

If the row is missing, check your access and ask support to check whether a prepared export is available. A missing row is not proof that there are no qualifying bookings: the app also hides it when it cannot retrieve the link.
