---
title: "Creates a Legal entity"
method: POST
path: "/api/2026-10-01/resources/companies/legal_entities"
tags: ["Companies > LegalEntity"]
---

# Creates a Legal entity

`POST /api/2026-10-01/resources/companies/legal_entities`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/companies/legal_entities`
- Auth: API key in header `x-api-key`

Creates a Legal entity

## Request body

- object
  - `company_id` string, required: company identifier
  - `country` string, required: country code of the legal entity
  - `legal_name` string, required: Legal name of the legal entity
  - `currency` string, required: The currency code in ISO 4217 format
  - `tin` string: Tax identification number
  - `city` string: City of the legal entity
  - `state` string: State of the legal entity
  - `postal_code` string: Postal code of the legal entity
  - `address_line_1` string: Address line 1 of the legal entity
  - `address_line_2` string: Address line 2 of the legal entity

## Response `201`

CREATED

- CompaniesLegalEntity
  - `id` string, required: identifier of the legal entity
  - `company_id` string, required: company identifier
  - `country` string, required: Country code of the jurisdiction the legal entity is registered in (lowercase two-letter code, e.g. "es").
  - `legal_name` string, required: Legal name of the legal entity
  - `currency` string, required: The currency code in ISO 4217 format
  - `tin` string: Tax identification number
  - `siret` string: SIRET number (France-specific). System for identifying French establishments. 14-digit identifier for each French establishment.
  - `city` string: City of the legal entity
  - `state` string: State of the legal entity
  - `postal_code` string: Postal code of the legal entity
  - `address_line_1` string: Address line 1 of the legal entity
  - `address_line_2` string: Address line 2 of the legal entity

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/companies/legal_entities/post.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
