Deel: Upload a KYB document for a legal entity — 201 response body — data
Upload a KYB document for a legal entity: 201 response body, field data. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Upload a KYB document for a legal entity — 201 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
content_type | string | Required within parent | MIME type of the stored file. |
created_at | string | Required within parent | When the document was uploaded. Format: date-time |
document_type | string | Required within parent | The document type the file was uploaded as. The handle can only be used for this type. Known values: ARTICLES_OF_INCORPORATION, COMPANY_BANK_STATEMENT, CERTIFICATE_OF_GOOD_STANDING, ULTIMATE_BENEFICIAL_OWNER_FORM, PROOF_OF_AUTHORITY, IDENTITY_DOCUMENT_FRONT, IDENTITY_DOCUMENT_BACK, SELFIE |
expires_at | string | Required within parent | When the handle stops being accepted if it has not been used in a submission. Format: date-time |
file_name | JSON | Required within parent | |
file_name (anyOf 1) | string | Alternative | Original file name, when the upload carried one. |
file_name (anyOf 2) | null | Alternative | Original file name, when the upload carried one. |
id | string | Required within parent | Opaque handle for the uploaded document. Pass it in the matching document field of `POST /rest/legal-entities/{legal_entity_id}/kyb`. Valid only for this legal entity, usable once, and expires if unused. Format: uuid |