eorWorkerCompliance

Upload employee compliance document

Changed on

Uploads a file against the specified document_id to complete a compliance document that still needs one for an EOR employee. Use it after finding the document with GET /eor/workers/compliance-documents. If the file is already in File Service, send a JSON body with its reference instead of sending the bytes again; otherwise send the file as multipart/form-data.

Token scopes: worker:write

post/eor/workers/compliance-documents/{document_id}

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

document_id, string uuid required

Unique identifier for a compliance document in Deel.

Request body

object required
data, EorWorkersComplianceDocumentsDocumentIdPostRequestBodyContentApplicationJsonSchemaData required

Response

Successful operation.

EorWorkerComplianceUploadEORWorkerComplianceDocumentResponse200 required
data, EorWorkersComplianceDocumentsDocumentIdPostResponsesContentApplicationJsonSchemaData required

Changes

    • info

      added the non-success response with the status

    • breaking

      removed the media type multipart/form-data from the request body

    • breaking

      for the path request parameter document_id, the format changed from no format to uuid

    18 more changes in this revision