---
title: "Changes to Upload employee compliance document"
method: POST
path: "/eor/workers/compliance-documents/{document_id}"
---

# Changes to Upload employee compliance document

`POST /eor/workers/compliance-documents/{document_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 11 revisions.

- **2026-11-27** `807d0402b96c`: 1 info
- **2026-11-20** `5e3551f9acd7`: 2 breaking, 10 warning, 8 info

## Changes

- **2026-11-27** `807d0402b96c`: 1 info
  - added the non-success response with the status `502`
- **2026-11-20** `5e3551f9acd7`: 2 breaking, 10 warning, 8 info
  - removed the media type `multipart/form-data` from the request body
  - for the `path` request parameter `document_id`, the format changed from no format to `uuid`
  - removed the optional property `errors/items/path` from the response with the `400` status
  - removed the optional property `errors/items/path` from the response with the `401` status
  - removed the optional property `errors/items/path` from the response with the `403` status
  - removed the optional property `errors/items/path` from the response with the `404` status
  - removed the optional property `errors/items/path` from the response with the `500` status
  - removed the optional property `request` from the response with the `400` status
  - removed the optional property `request` from the response with the `401` status
  - removed the optional property `request` from the response with the `403` status
  - removed the optional property `request` from the response with the `404` status
  - removed the optional property `request` from the response with the `500` status
  - added the media type `application/json` to the request body
  - added the non-success response with the status `422`
  - the response property `data/success` became required for the status `200`
  - the response property `errors/items/message` became required for the status `400`
  - the response property `errors/items/message` became required for the status `401`
  - the response property `errors/items/message` became required for the status `403`
  - the response property `errors/items/message` became required for the status `404`
  - the response property `errors/items/message` became required for the status `500`

---

[Operation](https://skmtc.dev/deel/apis/eor-worker-endpoints/docs/eor/workers/compliance-documents/:document_id/post.md) - [API](https://skmtc.dev/deel/apis/eor-worker-endpoints.md) - [Page](https://skmtc.dev/deel/apis/eor-worker-endpoints/changes/eor/workers/compliance-documents/:document_id/post)
