> 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 DNI, Passports, Driver's Licenses, and Residence Permits.
* `IDCard` (`2`): The Widget will accept DNI.
* `Passport` (`3`): The Widget will accept Passports.
* `DriverLicense` (`6`): The Widget will accept Driver's Licenses.
* `ResidentID` (`7`): The Widget will accept Residence Permits.
