> 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 in the capture process.

Attribute: `document-filter`

Type: `string[]` | `string`

Default: `[DocumentType.Auto]`

Accepted values:

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