> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roomdoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ID gets scanned as NIE

> An OCR bug that mixed up Spanish DNI and NIE on scan. Already fixed, but if it reappears contact support with the case info.

## What was happening (historical bug)

The document scanner OCR sometimes misread a Spanish DNI format and stored it in the NIE field (or the other way around). Check-in completed, but the data was recorded with the wrong document type, which caused later issues when sending to SES Hospedajes.

## Current status

**This bug is now fixed.** The OCR now correctly tells apart:

* **DNI** (8 digits + letter)
* **NIE** (X/Y/Z + 7 digits + letter)
* **Passport** (variable format depending on country)

If after May 2026 you see a case where a document is stored as the wrong type, **that's not normal** — it's a regression and worth flagging so we can review.

## Special case: French DNI and other European documents

The French DNI doesn't have a "support number" like the Spanish one. For these, the correct flow is:

<Steps>
  <Step title="Don't use the OCR scan to register as DNI">
    The OCR is tuned for the Spanish DNI. Other European IDs may not scan well even if they're valid.
  </Step>

  <Step title="Register manually as 'Other documents'">
    In the check-in flow, choose **Other documents** and fill the fields by hand: document type, number, issuing country, expiry date if asked.
  </Step>

  <Step title="Attach a photo if your property keeps copies">
    Some properties keep a copy of the document for compliance. Do that from the manual flow.
  </Step>
</Steps>

## When to contact support

* The OCR **mixes up DNI and NIE again** (or vice versa) on a specific case, after May 2026.
* A European document (French DNI, Italian, German) that **used to work** is no longer recognised.
* The field gets scanned correctly but **is sent wrong to SES Hospedajes**.

When you contact support, include:

* Booking reference
* Guest's real document type (Spanish DNI, French, NIE, passport...)
* Document type the system stored
* Screenshot of the check-in step where the error shows
