MiDNI QR

Scan Spanish Digital ID QR codes with verification

What is MiDNI?

MiDNI is Spain's official digital identity app that allows citizens to generate QR codes from their DNIe data. These QR codes can be used to share identity information securely without needing the physical card.

Security Features

  • Digitally signed by Spanish government
  • Time-limited validity (expires after minutes)
  • Cryptographically secure
  • Cannot be forged or modified

Requirements

  • User must have MiDNI app installed
  • Valid DNIe registered in MiDNI
  • QR code must be freshly generated
  • Camera permission for scanning

QR Modes

MiDNI offers three different QR code modes, each sharing different levels of information:

Age Verification Mode

Purpose: Confirm if person is over 18 years old

Data Shared:

  • Adult status (Yes/No)
  • No personal information
Minimal Data

Simple DNI Mode

Purpose: Basic identity verification

Data Shared:

  • DNI number
  • First name
  • Surnames
  • Birth date
Basic Data

Complete DNI Mode RECOMMENDED

Purpose: Full identity and address verification

Data Shared:

  • All Simple DNI data
  • Current address (only available in this mode)
  • City and province
  • Parents' names
  • Place of birth
Full Data

Scanning Process

MiDNI QR Scanner Screen

MiDNI QR Scanner Interface

The MiDNI screen explains the three verification modes and provides the "Scan QR Code" button to start the camera.

Step 1 Guest Generates QR

Ask your guest:

"Could you please open your MiDNI app and generate a Complete DNI QR code? We need the full version to get your address for registration."

The guest will:

  1. Open MiDNI app on their phone
  2. Select "Complete DNI" mode
  3. Generate a new QR code
  4. Show the QR code on their screen

Important: QR codes expire after a few minutes for security

Step 2 Open MiDNI Scanner

In DocuGuest, tap "MiDNI" from the home screen

Step 3 Scan QR Code

Tap "Scan QR Code" and point camera at the MiDNI QR:

  • Keep entire QR code in frame
  • Ensure good lighting
  • Hold steady for automatic detection

Data Available by Mode

Data Field Age Verification Simple DNI Complete DNI
Adult Status
DNI Number
First Name
Surnames
Birth Date
Current Address
City
Province
Parents' Names
Place of Birth

Troubleshooting

Invalid QR Format

Problem: "This is not a valid MiDNI QR code"

Solutions:

  • Ensure the QR is from the official MiDNI app
  • Check that you're scanning a MiDNI QR, not other QR types
  • Ask user to generate a new QR from MiDNI app

Expired QR Code

Problem: "This QR code has expired"

Solutions:

  • MiDNI QR codes expire after a few minutes
  • Ask user to generate a fresh QR code
  • Scan immediately after generation

Invalid Signature

Problem: "The digital signature could not be verified"

Solutions:

  • Ensure the QR is complete and not cut off
  • Check for good lighting and focus
  • Try scanning from a different angle
  • Verify the MiDNI app is up to date

Camera Issues

Problem: Camera won't focus or detect QR

Solutions:

  • Clean camera lens
  • Ensure adequate lighting
  • Hold phone steady
  • Keep QR code flat and at right distance