---
title: "Document data model"
url: "https://docs.unified.to/hris/document/model"
description: "API reference for Document data model. Launch multiple pre-built Document integrations today with zero maintenance — all through a single API."
generated_at: "2026-07-14T01:26:34.117Z"
---
# Document data model

 View field support, webhooks, and list parameters for each integration on the [Supported Integrations](/hris/integrations) page. 

### 

* Data Model
* Typescript Type
* Zod Shape
* Python Class

Data Model

**id**string 

**created\_at**date 

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**updated\_at**date 

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**document\_url**string 

download link, expires after 1 hour

**document\_data**string 

base64 encoded file contents for create/update

**filename**string 

**type** enum

Valid values:

 "CONTRACT" 

 "OFFER\_LETTER" 

 "POLICY" 

 "TAX" 

 "ID" 

unified, normalized document type (OTHER when unmappable)

**user\_id**string 

pointer to the HR Employee object that owns this document (reference to HrisEmployee)

**company\_id**string 

(reference to HrisCompany)

**raw**any
