> This page is for API, version 2026-01-01 (Stable) (default).
> For other versions, use one of these documentation indexes:
> - 2026-01-01 (Stable) (default): https://developer.deel.com/api/stable/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.deel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.deel.com/_mcp/server.

# Submit Legal Entity Registration Documents

POST https://api.letsdeel.com/rest/legal-entities/{legal_entity_id}/registration-documents
Content-Type: application/json

Submits one or more documents for a legal entity, each answering a document requirement. Upload the file contents to the File Service first, then reference each file by its `file_id` and `one_time_secret`. A requirement that needs approval enters review as `AWAITING_REVIEW`; other submissions are accepted as `COMPLETED`. Read `requirement.is_approval_required`, then poll the get-document endpoint. A new submission supersedes a rejected attempt for the same requirement.

 **Token scopes**: `legal-entity:write`

Reference: https://developer.deel.com/api/reference/endpoints/documents/submit-legal-entity-registration-documents-v-2026-08-17

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Path parameters

- `legal_entity_id` (string, required) — Public UUID of the legal entity.

### Body (application/json)

This endpoint expects an object.

- `data` (LegalEntitiesLegalEntityIdRegistrationDocumentsPostRequestBodyContentApplicationJsonSchemaData, required)

## Response

### 201

Documents submitted successfully.

- `data` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItems, required) — The created submissions, in request order.

## Errors

### 400 Bad Request Error

Bad request — invalid or missing parameters.

- `errors` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaErrorsItems, required) — List of errors that occurred while processing the request.

### 401 Unauthorized Error

Unauthorized — missing or invalid authentication token.

- `errors` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaErrorsItems, required) — List of errors that occurred while processing the request.

### 403 Forbidden Error

Forbidden — the token lacks access to this legal entity.

- `errors` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaErrorsItems, required) — List of errors that occurred while processing the request.

### 404 Not Found Error

Not found.

- `errors` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaErrorsItems, required) — List of errors that occurred while processing the request.

### 422 Unprocessable Entity Error

Unprocessable entity — a file has an unsupported type or its content does not match its extension.

- `errors` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 500 Internal Server Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

## Types

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostRequestBodyContentApplicationJsonSchemaData

- `documents` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostRequestBodyContentApplicationJsonSchemaDataDocumentsItems, required) — One entry per requirement being answered.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItems

- `id` (string, required, nullable) — Public UUID of the submission. Null when nothing has been submitted for this requirement yet.
- `status` (enum, required) — Current review status.
  - Allowed values: `REQUESTED`, `AWAITING_REVIEW`, `REJECTED`, `APPROVED`, `UNSOLICITED`, `COMPLETED`
- `files` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsFilesItems, optional) — Files attached to this submission.
- `parent` (LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsParent, optional, nullable) — The submission this one replaced, when it is a resubmission.
- `children` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsChildrenItems, optional) — Superseded revisions of this submission, newest first.
- `archived_at` (string, optional, nullable) — When the submission was archived.
- `requirement` (LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsRequirement, optional, nullable) — The document requirement this submission answers.
- `reviewed_at` (string, optional, nullable) — When the document was reviewed.
- `legal_entity` (LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsLegalEntity, optional, nullable) — The legal entity the document belongs to.
- `submitted_at` (string, optional, nullable) — When the document was submitted.
- `rejection_reason` (string, optional, nullable) — Why the submission was rejected, when applicable.
- `submission_due_date` (string, optional, nullable) — When the document is due.
- `archived_submissions_count` (integer, optional) — How many superseded revisions exist.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaErrorsItems

- `message` (string, required) — Human-readable explanation
- `code` (string, optional) — Machine-readable error code
- `field` (string, optional, nullable) — Field that caused the error, if applicable.

### ApiErrorRequest

- `method` (string, optional) — The HTTP method of the failed request
- `url` (string, optional) — The relative URL of the failed request
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `source` (string, optional) — The source handler which produced the returned error
- `code` (double, optional) — The code of the source handler which produced the returned error

### ApiError

- `message` (string, optional) — A description of the returned error
- `path` (string, optional) — The JSON path where input validation failed

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostRequestBodyContentApplicationJsonSchemaDataDocumentsItems

- `files` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostRequestBodyContentApplicationJsonSchemaDataDocumentsItemsFilesItems, required) — Files previously uploaded to the File Service. Allowed types: pdf, jpg, jpeg, png, doc, docx, csv, xls, xlsx, txt, xml, mov, mp4.
- `requirement_id` (string, required) — Public UUID of the requirement.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsFilesItems

- `id` (string, required) — Public UUID of the file.
- `original_filename` (string, required) — Filename as uploaded.
- `uploaded_at` (string, optional, nullable) — When the file was uploaded.
- `content_type` (string, optional, nullable) — MIME type of the file.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsParent

The submission this one replaced, when it is a resubmission.

- `id` (string, optional) — Public UUID of the superseded submission.
- `status` (enum, optional) — Status of the superseded submission.
  - Allowed values: `REQUESTED`, `AWAITING_REVIEW`, `REJECTED`, `APPROVED`, `UNSOLICITED`, `COMPLETED`

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsChildrenItems

- `id` (string, required, nullable) — Public UUID of the submission. Null when nothing has been submitted for this requirement yet.
- `status` (enum, required) — Current review status.
  - Allowed values: `REQUESTED`, `AWAITING_REVIEW`, `REJECTED`, `APPROVED`, `UNSOLICITED`, `COMPLETED`
- `files` (list of LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsChildrenItemsFilesItems, optional) — Files attached to this submission.
- `archived_at` (string, optional, nullable) — When the submission was archived.
- `reviewed_at` (string, optional, nullable) — When the document was reviewed.
- `submitted_at` (string, optional, nullable) — When the document was submitted.
- `rejection_reason` (string, optional, nullable) — Why the submission was rejected, when applicable.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsRequirement

The document requirement this submission answers.

- `id` (string, required) — Public UUID of the requirement.
- `name` (string, optional, nullable) — Requirement name.
- `description` (string, optional, nullable) — What the requirement asks for.
- `is_disabled` (boolean, optional) — Whether the requirement is no longer requested.
- `has_template` (boolean, optional) — Whether a template is provided. Fetch it from the requirement template endpoint.
- `product_type` (enum, optional, nullable) — Product the requirement applies to.
  - Allowed values: `EMBEDDED_PAYROLL`, `GLOBAL_PAYROLL`, `PEO`
- `applicable_at` (enum, optional, nullable) — When the document becomes due.
  - Allowed values: `BEFORE_FIRST_PAYROLL`, `ANYTIME`
- `reference_url` (string, optional, nullable) — External reference for the requirement.
- `is_approval_required` (boolean, optional) — Whether a submission against this requirement is reviewed. False means a submission is accepted immediately as COMPLETED.
- `is_submission_required` (boolean, optional) — Whether the document is mandatory rather than optional.
- `how_the_document_is_used` (enum, optional, nullable) — How the document is used once submitted.
  - Allowed values: `PAYROLL_PURPOSE`, `ENTITY_ONBOARDING`
- `why_the_document_is_needed` (string, optional, nullable) — Why the document is required.
- `how_client_obtains_document` (string, optional, nullable) — How to obtain it.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsLegalEntity

The legal entity the document belongs to.

- `id` (string, optional) — Public UUID of the legal entity.
- `name` (string, optional, nullable) — Legal entity name.
- `country` (string, optional, nullable) — ISO country code of the entity address.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostRequestBodyContentApplicationJsonSchemaDataDocumentsItemsFilesItems

- `file_id` (string, required) — File Service file id.
- `content_type` (string, required) — MIME type.
- `one_time_secret` (string, required) — File Service one-time secret.
- `original_filename` (string, required) — Original filename.

### LegalEntitiesLegalEntityIdRegistrationDocumentsPostResponsesContentApplicationJsonSchemaDataItemsChildrenItemsFilesItems

- `id` (string, required) — Public UUID of the file.
- `original_filename` (string, required) — Filename as uploaded.
- `uploaded_at` (string, optional, nullable) — When the file was uploaded.
- `content_type` (string, optional, nullable) — MIME type of the file.

## Examples

**Request**

```json
{
  "data": {
    "documents": [
      {
        "files": [
          {
            "file_id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
            "content_type": "application/pdf",
            "one_time_secret": "a1b2c3d4e5f6",
            "original_filename": "certificate_of_incorporation.pdf"
          }
        ],
        "requirement_id": "c106a26a-21bb-5538-8bf2-57095d1976c1"
      }
    ]
  }
}
```

**Response**

```json
{
  "data": [
    {
      "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
      "status": "AWAITING_REVIEW",
      "files": [
        {
          "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
          "original_filename": "certificate_of_incorporation.pdf",
          "uploaded_at": "2026-08-17T09:30:00.000Z",
          "content_type": "application/pdf"
        }
      ],
      "parent": {
        "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
        "status": "REJECTED"
      },
      "children": [
        {
          "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
          "status": "AWAITING_REVIEW",
          "files": [
            {
              "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
              "original_filename": "certificate_of_incorporation.pdf",
              "uploaded_at": "2026-08-17T09:30:00.000Z",
              "content_type": "application/pdf"
            }
          ],
          "archived_at": "2026-09-01T08:00:00.000Z",
          "reviewed_at": "2026-08-18T11:00:00.000Z",
          "submitted_at": "2026-08-17T09:30:00.000Z",
          "rejection_reason": "Document is illegible"
        }
      ],
      "archived_at": "2026-09-01T08:00:00.000Z",
      "requirement": {
        "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
        "name": "Certificate of Incorporation",
        "description": "A copy of the certificate issued at registration.",
        "is_disabled": false,
        "has_template": false,
        "product_type": "GLOBAL_PAYROLL",
        "applicable_at": "BEFORE_FIRST_PAYROLL",
        "reference_url": "https://example.gov/certificates",
        "is_approval_required": true,
        "is_submission_required": true,
        "how_the_document_is_used": "PAYROLL_PURPOSE",
        "why_the_document_is_needed": "Required to register the entity for payroll.",
        "how_client_obtains_document": "Download it from the companies registry."
      },
      "reviewed_at": "2026-08-18T11:00:00.000Z",
      "legal_entity": {
        "id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
        "name": "Acme BV",
        "country": "NL"
      },
      "submitted_at": "2026-08-17T09:30:00.000Z",
      "rejection_reason": "Document is illegible",
      "submission_due_date": "2026-09-30T00:00:00.000Z",
      "archived_submissions_count": 2
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents"

payload = { "data": { "documents": [
            {
                "files": [
                    {
                        "file_id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
                        "content_type": "application/pdf",
                        "one_time_secret": "a1b2c3d4e5f6",
                        "original_filename": "certificate_of_incorporation.pdf"
                    }
                ],
                "requirement_id": "c106a26a-21bb-5538-8bf2-57095d1976c1"
            }
        ] } }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"data":{"documents":[{"files":[{"file_id":"c106a26a-21bb-5538-8bf2-57095d1976c1","content_type":"application/pdf","one_time_secret":"a1b2c3d4e5f6","original_filename":"certificate_of_incorporation.pdf"}],"requirement_id":"c106a26a-21bb-5538-8bf2-57095d1976c1"}]}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents"

	payload := strings.NewReader("{\n  \"data\": {\n    \"documents\": [\n      {\n        \"files\": [\n          {\n            \"file_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\",\n            \"content_type\": \"application/pdf\",\n            \"one_time_secret\": \"a1b2c3d4e5f6\",\n            \"original_filename\": \"certificate_of_incorporation.pdf\"\n          }\n        ],\n        \"requirement_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\"\n      }\n    ]\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"data\": {\n    \"documents\": [\n      {\n        \"files\": [\n          {\n            \"file_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\",\n            \"content_type\": \"application/pdf\",\n            \"one_time_secret\": \"a1b2c3d4e5f6\",\n            \"original_filename\": \"certificate_of_incorporation.pdf\"\n          }\n        ],\n        \"requirement_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\"\n      }\n    ]\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"data\": {\n    \"documents\": [\n      {\n        \"files\": [\n          {\n            \"file_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\",\n            \"content_type\": \"application/pdf\",\n            \"one_time_secret\": \"a1b2c3d4e5f6\",\n            \"original_filename\": \"certificate_of_incorporation.pdf\"\n          }\n        ],\n        \"requirement_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\"\n      }\n    ]\n  }\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents', [
  'body' => '{
  "data": {
    "documents": [
      {
        "files": [
          {
            "file_id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
            "content_type": "application/pdf",
            "one_time_secret": "a1b2c3d4e5f6",
            "original_filename": "certificate_of_incorporation.pdf"
          }
        ],
        "requirement_id": "c106a26a-21bb-5538-8bf2-57095d1976c1"
      }
    ]
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"data\": {\n    \"documents\": [\n      {\n        \"files\": [\n          {\n            \"file_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\",\n            \"content_type\": \"application/pdf\",\n            \"one_time_secret\": \"a1b2c3d4e5f6\",\n            \"original_filename\": \"certificate_of_incorporation.pdf\"\n          }\n        ],\n        \"requirement_id\": \"c106a26a-21bb-5538-8bf2-57095d1976c1\"\n      }\n    ]\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["data": ["documents": [
      [
        "files": [
          [
            "file_id": "c106a26a-21bb-5538-8bf2-57095d1976c1",
            "content_type": "application/pdf",
            "one_time_secret": "a1b2c3d4e5f6",
            "original_filename": "certificate_of_incorporation.pdf"
          ]
        ],
        "requirement_id": "c106a26a-21bb-5538-8bf2-57095d1976c1"
      ]
    ]]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/legal-entities/c106a26a-21bb-5538-8bf2-57095d1976c1/registration-documents")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```