# MAR\_ID (Moroccan ID)

| **Front**             |                                                                                                                                                                                                                                                                                                 |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| firstName             | First Name                                                                                                                                                                                                                                                                                      |
| firstNameArabic       | First Name in Arabic                                                                                                                                                                                                                                                                            |
| lastName              | Last Name                                                                                                                                                                                                                                                                                       |
| lastNameArabic        | Last Name in Arabic                                                                                                                                                                                                                                                                             |
| dateOfBirth           | Date of Birth                                                                                                                                                                                                                                                                                   |
| dateOfBirthFormatted  | ISO-8601 format yyyy-MM-dd                                                                                                                                                                                                                                                                      |
| placeOfBirth          | Place of Birth                                                                                                                                                                                                                                                                                  |
| placeOfBirthArabic    | Place of Birth in Arabic                                                                                                                                                                                                                                                                        |
| dateOfExpiry          | Date of expiry                                                                                                                                                                                                                                                                                  |
| dateOfExpiryFormatted | ISO-8601 format yyyy-MM-dd                                                                                                                                                                                                                                                                      |
| documentNumber        | <p>Document Number<br><strong>Note</strong>: Available in the old version of the Card</p>                                                                                                                                                                                                       |
| personalNumber        | <p>Personal Number<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                       |
| cardAccessNumber      | <p>Card Access Number<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                    |
| faceImage             | Base64 encoded face image of the user. The format is the same as per the image uploaded, e.g. png or jpg                                                                                                                                                                                        |
| **Back**              |                                                                                                                                                                                                                                                                                                 |
| fatherName            | Father Name                                                                                                                                                                                                                                                                                     |
| fatherNameArabic      | Father Name in Arabic                                                                                                                                                                                                                                                                           |
| motherName            | Mother Name                                                                                                                                                                                                                                                                                     |
| motherNameArabic      | Mother Name in Arabic                                                                                                                                                                                                                                                                           |
| dateOfExpiry          | <p>Date of Expiry (dd.MM.yyyy)<br><strong>Note</strong>: Available in the old version of the Card</p>                                                                                                                                                                                           |
| civilStatusNumber     | Civil Status Number                                                                                                                                                                                                                                                                             |
| documentNumber        | <p>Document Number<br><strong>Note</strong>: Available in the old version of the Card</p>                                                                                                                                                                                                       |
| address               | Address                                                                                                                                                                                                                                                                                         |
| addressArabic         | Address in Arabic                                                                                                                                                                                                                                                                               |
| gender                | Gender                                                                                                                                                                                                                                                                                          |
| personalNumber        | <p>Personal Number<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                       |
| secondaryId           | <p>Given names of the user as per MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                    |
| primaryId             | <p>Surname of the user as per MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                        |
| dateOfBirth           | <p>As per the MRZ (YYMMDD)<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                               |
| dateOfBirthFormatted  | <p>ISO-8601 format yyyy-MM-dd<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                            |
| dateOfExpiry          | <p>As per the MRZ (YYMMDD)<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                               |
| dateOfExpiryFormatted | ISO-8601 format yyyy-MM-dd                                                                                                                                                                                                                                                                      |
| documentNumber        | <p>As per the MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                        |
| cardNumber            | <p>Card Number (same as document number in the MRZ)<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                      |
| nationality           | <p>As per the MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                        |
| issuer                | <p>Document issuer as per the MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                        |
| sex                   | <p>As per the MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                        |
| documentCode          | <p>As per the MRZ<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                                                        |
| mrzText               | <p>Full MRZ text divided by new line character “\n”<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                      |
| mrzVerified           | <p>MRZ checksum verification (true or false)<br><strong>Note</strong>: Available in the new version of the Card</p>                                                                                                                                                                             |
| opt1                  | <p>Optional field 1 as per MRZ (see <a href="https://en.wikipedia.org/wiki/Machine-readable_passport#Official_travel_documents"><https://en.wikipedia.org/wiki/Machine-readable_passport#Official_travel_documents></a>)<br><strong>Note</strong>: Available in the new version of the Card</p> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uqudo.com/docs/kyc/uqudo-api/scan/country-specific-ids/mar_id-moroccan-id.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
