Feature

National ID and QID Reading

Extract identity fields from national ID cards including Qatar ID and Emirates ID.

What is National ID and QID Reading in Mahad OCR?

Available now. National ID cards are read by the AI engine with a document-type-aware prompt, returning the identity fields present on the card. Input: Front (and back where relevant) of the card as PNG, JPG or PDF. Limitation: Cards with unusual layouts, damage or heavy glare may return partial fields.

Available now

What it does

National ID cards are read by the AI engine with a document-type-aware prompt, returning the identity fields present on the card. Card layouts differ by country, so the field set follows the card.

How it works

  1. 1Upload the card image
  2. 2Document type is detected automatically
  3. 3Identity fields are extracted and normalized
  4. 4Expiry is available for downstream monitoring

Sample result

Illustrative response shape using synthetic data.

{
  "document_type": "id_card",
  "values": {
    "full_name": "…",
    "document_number": "…",
    "nationality": "…",
    "expiry_date": "2028-04-30"
  }
}

Supported inputs

Front (and back where relevant) of the card as PNG, JPG or PDF.

Fields returned

  • full_name (and Arabic name where printed)
  • document_number / id_number
  • nationality
  • date_of_birth
  • expiry_date

API

POST /v1/documents/upload (optionally pass doc_type=id_card)

Security & privacy

Tenant-scoped storage and audit logging; no cross-tenant access is possible.

Current limitations

Cards with unusual layouts, damage or heavy glare may return partial fields. Card authenticity is not verified against any government register.

Try it on your own document

Run the live demo, or create an account and get an API key.