---
title: "Create Company Legal Entity"
method: POST
path: "/api/companies/{company_uuid}/legal-entities"
tags: ["company-legal-entities"]
---

# Create Company Legal Entity

`POST /api/companies/{company_uuid}/legal-entities`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/legal-entities`
- Auth: HTTP bearer

## Path parameters

- `company_uuid` string, uuid, required

## Headers

- `X-Teamspace-Uuid` string, uuid, nullable
- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Request body

- LegalEntityCreate: Schema for creating a legal entity within a company. jurisdiction_id must be one of the company's selected jurisdictions (validated in the controller, not here).
  - `legal_name` string, required
  - `tax_id` string, nullable
  - `jurisdiction_id` integer, required

## Response `201`

Successful Response

- LegalEntityResponse: Response schema for legal entity operations
  - `legal_name` string, required
  - `tax_id` string, nullable
  - `jurisdiction_id` integer, required
  - `uuid` string, uuid4, required
  - `company_uuid` string, uuid4, required
  - `jurisdiction` CountryBase, required
    - `id` integer, required
    - `code` string, required
    - `name` string, required
    - `description` string, nullable
    - `report_file_name` string, nullable
    - `report_url` string, nullable, required: Get the report URL based on the filename if one exists
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
