# Passports - document type

> The Passports ML package is a pre-trained model build to recognize and extract information from passports and related documents such as Visas, Diplomatic Passports, Military Passports issued by different countries.

## Overview

The Passports ML package is a pre-trained model build to recognize and extract information from passports and related documents such as Visas, Diplomatic Passports, Military Passports issued by different countries.

## Particularities

The model automatically detects data such as:

* Last Name, First Name, Nationality, Date of Birth, Birth Place, Sex,
* Passport Number, Issuing Authority, State.

## Extracted fields

:::note
If you are using using public endpoints, such as `https://du.uipath.com/ie/invoices`, all fields are available. However, if you are using custom-trained extractors, the availability of extracted fields is dependant on the version you are currently using. You can also check the list of fields and types on any endpoint in the `/info/model` object. To access this, simply add `/info/model` to any endpoint, like so: `https://du.uipath.com/ie/invoices/info/model`. For an enhanced reading experience of the fields list, it's recommended to install a JSON viewer extension in your browser.
:::

Table 1. List of extracted fields for Passports

| Display Name | Field Name | Field Type | Content Type |
| --- | --- | --- | --- |
| Passport Number | passport-no | regular | id-no |
| Last Name | last-name | regular | string |
| First Name | first-name | regular | string |
| Nationality | nationality | regular | string |
| Gender | sex | regular | string |
| Date of Birth | birth-date | regular | date |
| Place of Birth | birth-place | regular | string |
| Date of Issue | issued-date | regular | date |
| Address | address | regular | string |
| Issuing Authority | authority | regular | string |
| Expiration Date | expiration-date | regular | date |
| Machine Readable Zone | mrz | regular | string |
| State | state | regular | string |
| State Code | state-code | regular | id-no |
| Document Type | document-type | regular | string |
| Document Type Code | document-type-code | regular | id-no |
| Personal ID | personal-id | regular | id-no |

## Samples

Here is a sample of a passport:

![Passports sample file](https://dev-assets.cms.uipath.com/assets/images/document-understanding/document-understanding-passports-sample-file-115747-139aa849-7c651fe5.webp)

## Processed document types:

This out-of-the-box pre-trained model can be used with the following document types:

* Passports
* Diplomatic Passports
* Military Passports
* Visas
