> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/videoid-identificacion-en-video/propiedades/documentfilter.md).

# documentFilter

This property can filter the type of document accepted during the capture process.

Attribute: `document-filter`

Type: `string[]` | `string`

Default: `[DocumentType.Auto]`

Accepted Values:

* `Autodetect` (`0`): Default behavior. The widget automatically accepts ID cards, passports, driver's licenses, and residence permits.
* `IDCard` (`2`): The widget accepts ID cards.
* `Passport` (`3`): The widget accepts passports.
* `DriverLicense` (`6`): The widget accepts driver's licenses.
* `ResidentID` (`7`): The widget accepts residence permits.
