---
title: "Upload a document for a Legal Entity"
method: POST
path: "/legal-entity-onboarding/{onboardingId}/document"
tags: ["legal-entity-onboarding"]
---

# Upload a document for a Legal Entity

`POST /legal-entity-onboarding/{onboardingId}/document`

## Request

- Base URL: `https://onboarding-api.lemonway.com`
- URL: `https://onboarding-api.lemonway.com/legal-entity-onboarding/{onboardingId}/document`
- Auth: HTTP bearer

Upload a document associated with a legal entity currently being onboarded

## Path parameters

- `onboardingId` string, required

## Request body `multipart/form-data`

- object
  - `accountId` string, required
  - `type` 'ARTICLES_OF_ASSOCIATION' | 'BOARD_MEMBERS_INFORMATION' | 'BROCHURE' | 'COMPANY_REGISTRY' | 'LEGAL_REPRESENTATIVE_DOCUMENT' | 'NATIONAL_IDENTITY_CARD' | 'OFFICIAL_NOTICE' | 'OTHER' | 'PASSPORT' | 'PROOF_OF_ADDRESS' | 'PUBLICATION_EXCERPT' | 'RESIDENCE_PERMIT' | 'SHAREHOLDING_STRUCTURE_DOCUMENTATION' | 'TAX_NOTICE' | 'UBO_DOCUMENT', required
  - `file` string, binary, required

## Response `200`

Document uploaded successfully. Response includes documentId and status

- unknown

## Other responses

- `201`
- `400`: Missing parameters, invalid file, or unsupported document type
- `401`: Missing or invalid authentication token
- `404`: The specified onboarding session or account could not be found
- `500`: An unexpected error occurred on the server

---

[API](https://skmtc.dev/lemonway/apis/account-onboarding-management-api.md) - [All operations](https://skmtc.dev/lemonway/apis/account-onboarding-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lemonway/apis/account-onboarding-management-api/revisions/cd81a3b18d83?raw)
