# gelato\_document\_report

From **Stripe API**.

Result from a document check

- Type: `object`

## Properties

### `address`

- Required: false
- Nullable: true

Address as it appears in the document.

### `dob`

- Required: false
- Nullable: true

Date of birth as it appears in the document.

### `error`

- Required: false
- Nullable: true

Details on the verification error. Present when status is `unverified`.

### `expiration_date`

- Required: false
- Nullable: true

Expiration date of the document.

### `files`

- Required: false
- Type: `array`
- Nullable: true

Array of [File](https://stripe.com/docs/api/files) ids containing images for this document.

### `first_name`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

First name as it appears in the document.

### `issued_date`

- Required: false
- Nullable: true

Issued date of the document.

### `issuing_country`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Issuing country of the document.

### `last_name`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Last name as it appears in the document.

### `number`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Document ID number.

### `status`

- Required: true
- Type: `string`
- Allowed values: `"unverified"`, `"verified"`

Status of this `document` check.

### `type`

- Required: false
- Type: `string`
- Nullable: true
- Allowed values: `"driving_license"`, `"id_card"`, `"passport"`

Type of the document.

## JSON Schema

```json
{"description":"Result from a document check","properties":{"address":{"anyOf":[{"$ref":"#/components/schemas/address"}],"description":"Address as it appears in the document.","nullable":true},"dob":{"anyOf":[{"$ref":"#/components/schemas/gelato_data_document_report_date_of_birth"}],"description":"Date of birth as it appears in the document.","nullable":true},"error":{"anyOf":[{"$ref":"#/components/schemas/gelato_document_report_error"}],"description":"Details on the verification error. Present when status is `unverified`.","nullable":true},"expiration_date":{"anyOf":[{"$ref":"#/components/schemas/gelato_data_document_report_expiration_date"}],"description":"Expiration date of the document.","nullable":true},"files":{"description":"Array of [File](https://stripe.com/docs/api/files) ids containing images for this document.","items":{"maxLength":5000,"type":"string"},"nullable":true,"type":"array"},"first_name":{"description":"First name as it appears in the document.","maxLength":5000,"nullable":true,"type":"string"},"issued_date":{"anyOf":[{"$ref":"#/components/schemas/gelato_data_document_report_issued_date"}],"description":"Issued date of the document.","nullable":true},"issuing_country":{"description":"Issuing country of the document.","maxLength":5000,"nullable":true,"type":"string"},"last_name":{"description":"Last name as it appears in the document.","maxLength":5000,"nullable":true,"type":"string"},"number":{"description":"Document ID number.","maxLength":5000,"nullable":true,"type":"string"},"status":{"description":"Status of this `document` check.","enum":["unverified","verified"],"type":"string","x-stripeBypassValidation":true},"type":{"description":"Type of the document.","enum":["driving_license","id_card","passport"],"nullable":true,"type":"string"}},"required":["status"],"title":"GelatoDocumentReport","type":"object","x-expandableFields":["address","dob","error","expiration_date","issued_date"]}
```
