---
title: "Reads all Legal entities"
method: GET
path: "/api/2026-10-01/resources/companies/legal_entities"
tags: ["Companies > LegalEntity"]
---

# Reads all Legal entities

`GET /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: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `company_legal_entities`
  - API key in header `x-api-key`

Reads all Legal entities

## Query parameters

- `ids[]` string[]: Return only the legal entities with these ids.
- `employees_ids[]` string[]: identifier of the employees asigned to the legal entity
- `companies_ids[]` string[]: identifier of the companies to which the legal entity belongs
- `country_ids[]` string[]: country code of the legal entity

## Response `200`

OK

- object
  - `data` 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
  - `meta` PagedIndexMeta
    - `start_cursor` string
    - `end_cursor` string
    - `has_previous_page` boolean, required
    - `has_next_page` boolean, required
    - `limit` integer, required
    - `total` integer, required

## 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/get.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)
