Deel: Update Legal Entity Registration Document Files
Deel documents.resubmitLegalEntityRegistrationDocument: arguments, response, policy and SDK examples.
← Documents operations · Get started
Operation deel.documents_resubmitlegalentityregistrationdocument_v2026_08_17
Provider route: PUT /legal-entities/{legal_entity_id}/registration-documents/{document_id}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["documents"]["resubmitLegalEntityRegistrationDocument"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.documents.resubmitLegalEntityRegistrationDocument(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.documents.resubmit_legal_entity_registration_document(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.legal_entity_id | string | Required within parent | Format: uuid |
path.document_id | string | Required within parent | Format: uuid |
body | object | Optional | |
body.data | Model | Required within parent | Expand Update Legal Entity Registration Document Files — request body — body data |
Referenced models: Update Legal Entity Registration Document Files — request body — body data
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Get Legal Entity Registration Document — 200 response body |
Referenced models: Get Legal Entity Registration Document — 200 response body
Schemas
Section titled “Schemas”2 more schemas are linked from the tables above, on the schema pages.
Update Legal Entity Registration Document Files — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
files | array | Required within parent | Files previously uploaded to the File Service. Allowed types: pdf, jpg, jpeg, png, doc, docx, csv, xls, xlsx, txt, xml, mov, mp4. |
files[] | Model | Each item | Expand Upload Organization Secure Vault Files — request body — body data files item |
submission_reason | string | Optional | Optional note explaining what changed since the previous submission. Maximum length: 2000 |
Referenced models: Upload Organization Secure Vault Files — request body — body data files item
Get Legal Entity Registration Document — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Get Legal Entity Registration Document — 200 response body — data |
Referenced models: Get Legal Entity Registration Document — 200 response body — data
Upload Organization Secure Vault Files — request body — body data files item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
content_type | string | Required within parent | MIME type. Maximum length: 255 |
file_id | string | Required within parent | File Service file id. Format: uuid |
one_time_secret | string | Required within parent | File Service one-time secret. Maximum length: 1024 Minimum length: 1 |
original_filename | string | Required within parent | Original filename. Maximum length: 500 |
Get Legal Entity Registration Document — 200 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
archived_at | JSON | Optional | |
archived_at (anyOf 1) | string | Alternative | When the submission was archived. Format: date-time |
archived_at (anyOf 2) | null | Alternative | When the submission was archived. Format: date-time |
archived_submissions_count | JSON | Optional | |
archived_submissions_count (anyOf 1) | integer | Alternative | How many superseded revisions exist. Minimum: 0 |
archived_submissions_count (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
children | array | Optional | Superseded revisions of this submission, newest first. |
children[] | Model | Each item | Expand Get Legal Entity Registration Document — 200 response body — data children item |
files | array | Optional | Files attached to this submission. |
files[] | Model | Each item | Expand Get Legal Entity Registration Document — 200 response body — data files item |
id | JSON | Required within parent | |
id (anyOf 1) | string | Alternative | Public UUID of the submission. Null when nothing has been submitted for this requirement yet. Format: uuid |
id (anyOf 2) | null | Alternative | Public UUID of the submission. Null when nothing has been submitted for this requirement yet. Format: uuid |
legal_entity | JSON | Optional | The legal entity the document belongs to. |
legal_entity (anyOf 1) | Model | Alternative | Expand Get Legal Entity Registration Document — 200 response body — data legal entity The legal entity the document belongs to |
legal_entity (anyOf 2) | null | Alternative | |
parent | JSON | Optional | The submission this one replaced, when it is a resubmission. |
parent (anyOf 1) | Model | Alternative | Expand Get Legal Entity Registration Document — 200 response body — data / parent / status: REQUESTED, AWAITING REVIEW, REJECTED, APPROVED, UNSOLICITED, COMPLETED |
parent (anyOf 2) | null | Alternative | |
rejection_reason | JSON | Optional | |
rejection_reason (anyOf 1) | string | Alternative | Why the submission was rejected, when applicable. |
rejection_reason (anyOf 2) | null | Alternative | Why the submission was rejected, when applicable. |
requirement | JSON | Optional | The document requirement this submission answers. |
requirement (anyOf 1) | Model | Alternative | Expand Get Legal Entity Registration Document — 200 response body — data requirement The document requirement this submission answers |
requirement (anyOf 2) | null | Alternative | |
reviewed_at | JSON | Optional | |
reviewed_at (anyOf 1) | string | Alternative | When the document was reviewed. Format: date-time |
reviewed_at (anyOf 2) | null | Alternative | When the document was reviewed. Format: date-time |
status | string | Required within parent | Current review status. Known values: REQUESTED, AWAITING_REVIEW, REJECTED, APPROVED, UNSOLICITED, COMPLETED |
submission_due_date | JSON | Optional | |
submission_due_date (anyOf 1) | string | Alternative | When the document is due. Format: date-time |
submission_due_date (anyOf 2) | null | Alternative | When the document is due. Format: date-time |
submitted_at | JSON | Optional | |
submitted_at (anyOf 1) | string | Alternative | When the document was submitted. Format: date-time |
submitted_at (anyOf 2) | null | Alternative | When the document was submitted. Format: date-time |
Referenced models: Get Legal Entity Registration Document — 200 response body — data children item, Get Legal Entity Registration Document — 200 response body — data files item, Get Legal Entity Registration Document — 200 response body — data legal entity The legal entity the document belongs to, Get Legal Entity Registration Document — 200 response body — data / parent / status: REQUESTED, AWAITING REVIEW, REJECTED, APPROVED, UNSOLICITED, COMPLETED, Get Legal Entity Registration Document — 200 response body — data requirement The document requirement this submission answers
Get Legal Entity Registration Document — 200 response body — data children item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
archived_at | JSON | Optional | |
archived_at (anyOf 1) | string | Alternative | When the submission was archived. Format: date-time |
archived_at (anyOf 2) | null | Alternative | When the submission was archived. Format: date-time |
files | array | Optional | Files attached to this submission. |
files[] | Model | Each item | Expand Get Legal Entity Registration Document — 200 response body — data files item |
id | JSON | Required within parent | |
id (anyOf 1) | string | Alternative | Public UUID of the submission. Null when nothing has been submitted for this requirement yet. Format: uuid |
id (anyOf 2) | null | Alternative | Public UUID of the submission. Null when nothing has been submitted for this requirement yet. Format: uuid |
rejection_reason | JSON | Optional | |
rejection_reason (anyOf 1) | string | Alternative | Why the submission was rejected, when applicable. |
rejection_reason (anyOf 2) | null | Alternative | Why the submission was rejected, when applicable. |
reviewed_at | JSON | Optional | |
reviewed_at (anyOf 1) | string | Alternative | When the document was reviewed. Format: date-time |
reviewed_at (anyOf 2) | null | Alternative | When the document was reviewed. Format: date-time |
status | string | Required within parent | Current review status. Known values: REQUESTED, AWAITING_REVIEW, REJECTED, APPROVED, UNSOLICITED, COMPLETED |
submitted_at | JSON | Optional | |
submitted_at (anyOf 1) | string | Alternative | When the document was submitted. Format: date-time |
submitted_at (anyOf 2) | null | Alternative | When the document was submitted. Format: date-time |
Referenced models: Get Legal Entity Registration Document — 200 response body — data files item
Get Legal Entity Registration Document — 200 response body — data files item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
content_type | JSON | Optional | |
content_type (anyOf 1) | string | Alternative | MIME type of the file. |
content_type (anyOf 2) | null | Alternative | MIME type of the file. |
id | string | Required within parent | Public UUID of the file. Format: uuid |
original_filename | string | Required within parent | Filename as uploaded. |
uploaded_at | JSON | Optional | |
uploaded_at (anyOf 1) | string | Alternative | When the file was uploaded. Format: date-time |
uploaded_at (anyOf 2) | null | Alternative | When the file was uploaded. Format: date-time |
Get Legal Entity Registration Document — 200 response body — data legal entity The legal entity the document belongs to
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The legal entity the document belongs to. |
country | JSON | Optional | |
country (anyOf 1) | string | Alternative | ISO country code of the entity address. |
country (anyOf 2) | null | Alternative | ISO country code of the entity address. |
id | string | Optional | Public UUID of the legal entity. Format: uuid |
name | JSON | Optional | |
name (anyOf 1) | string | Alternative | Legal entity name. |
name (anyOf 2) | null | Alternative | Legal entity name. |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.documents_resubmitlegalentityregistrationdocument_v2026_08_17. Catalog operation: documents_resubmitlegalentityregistrationdocument_v2026_08_17. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["legal-entity:write"]
Pinned headers: {"X-Version": "2026-08-17"}