# Entities

Group: Accounting

[Open in the interactive reference](https://lensing.ai/api-docs/lensing/v1/groups/accountingEntities)

An entity is a legal entity or non-legal reporting entity of the company, arranged in one hierarchy. These endpoints read, search, create and update entities, activate and deactivate them, and list the external-identifier fields configured for them. The plain entity collection (GET base/entities) is published by everest.base in its own group.

## Endpoints

- [Create an entity](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/createEntity.html): `POST /base/entities`
- [Search entities](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/searchEntities.html): `POST /base/entities/search`
- [Retrieve an entity](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/getEntity.html): `GET /base/entities/{id}`
- [Update an entity](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/updateEntity.html): `PATCH /base/entities/{id}`
- [List entity external identifier fields](https://lensing.ai/api-docs/reference/lensing/v1/endpoints/entityExternalIdentifierFields.html): `GET /base/entity-external-identifier-fields`
