# Alethia HQ

> Keep your Alethia HQ entities, people, deals and documents up to date, and read properties and cap tables.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/alethia-hq

## Actions

### Create deal

Add a deal to the acquisition pipeline.

**Inputs**

- Repeat-safe key (`idempotency_key`, text): Any text of 8 to 200 characters. Sending the same key again within 24 hours returns the first result instead of writing twice.
- Name (`name`, text, required): The deal's name.
- Nation (`nation`, text, required): The UK nation the site is in. One of: `England`, `Wales`, `Scotland`.
- Stage (`stage`, text): The pipeline stage ID, from the workspace's stages. Alethia uses identified if left empty.
- Buying company (`acquiringEntityId`, text): One of your own companies that is buying the site.
- Price (`price`, number): The price. At least 0.
- Asking price (`askingPrice`, number): The asking price. At least 0.
- Agreed price (`agreedPrice`, number): The agreed price. At least 0.
- Currency (`currency`, text): The currency code, such as GBP. Alethia uses GBP if left empty.
- Source (`source`, text): Where the deal came from.
- Region or market (`regionMarket`, text): The region or market.
- Next action (`nextActionText`, text): What happens next.
- Next action due (`nextActionDueDate`, date): When the next action is due.
- Key risk (`keyRisk`, text): The main risk.
- Business plan (`businessPlanSummary`, text): A summary of the business plan.
- Notes (`notes`, text): Notes about the deal.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "acquiringEntityId": "entity_123",
    "agreedPrice": 2500000,
    "askingPrice": 2750000,
    "createdVia": "api",
    "currency": "GBP",
    "id": "entity_123",
    "name": "Riverside site",
    "nation": "England",
    "nextActionDueDate": "2026-02-01",
    "nextActionText": "Instruct surveyor",
    "notes": "Main UK holding company.",
    "price": 2500000,
    "priority": "high",
    "reference": "D-0042",
    "source": "Agent",
    "stage": "identified",
    "tags": [
      "tag_1"
    ],
    "workspaceId": "ws_1"
  }
}
```

### Create document

Record a document by its link. The API can't upload the file itself.

**Inputs**

- Repeat-safe key (`idempotency_key`, text): Any text of 8 to 200 characters. Sending the same key again within 24 hours returns the first result instead of writing twice.
- Name (`name`, text, required): The document's name.
- Category (`category`, text): What kind of document it is. Alethia uses Other if left empty. One of: `incorporation`, `constitutional`, `registers`, `accounts`, `tax`, `board_minutes` (Board minutes), `resolutions`, `agreement`, `filings`, `kyc`, `banking`, `other`.
- Link (`externalUrl`, text): The http or https address where the document is. The API records a link; it can't upload files.
- File type (`contentType`, text): The file type, such as application/pdf.
- Entity (`entityId`, text): The main entity it belongs to.
- Other entities (`entityIds`, list): Other entities it belongs to.
- Deal (`dealId`, text): The deal it belongs to.
- Archived (`archived`, true/false): Turn on to archive it.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "agreementId": "agreement_1",
    "archived": false,
    "category": "agreement",
    "contentType": "application/pdf",
    "dealId": "deal_1",
    "entityId": "entity_123",
    "entityIds": [
      "entity_123"
    ],
    "externalUrl": "https://example.com/spa.pdf",
    "id": "entity_123",
    "kind": "uploaded",
    "name": "Riverside site",
    "projectId": "project_1",
    "restricted": false,
    "sizeBytes": 204800,
    "source": "Agent",
    "storagePath": "",
    "tags": [
      "tag_1"
    ],
    "viewerIds": [
      "member_1"
    ],
    "workspaceId": "ws_1"
  }
}
```

### Create entity

Add a legal entity to the entity register.

**Inputs**

- Repeat-safe key (`idempotency_key`, text, required): Any text of 8 to 200 characters, new for each change. Sending the same key again within 24 hours returns the first result instead of writing twice.
- Legal name (`legalName`, text, required): The entity's legal name.
- Display name (`displayName`, text): A shorter name to show. Alethia uses the legal name if left empty.
- Jurisdiction (`jurisdiction`, text): Where it is incorporated. Alethia uses Other if left empty. One of: `UK`, `Luxembourg`, `Jersey`, `Guernsey`, `Isle of Man`, `Ireland`, `Netherlands`, `Belgium`, `France`, `Germany`, and 31 more.
- Country code (`jurisdictionCode`, text): Its country as a two-letter ISO code, such as GB.
- Entity type (`entityType`, text): What kind of entity it is. Alethia uses Other if left empty. One of: `UK_LTD` (UK private limited company), `UK_PLC` (UK public limited company), `UK_LLP` (UK LLP), `UK_LP` (UK limited partnership), `LU_SCSP` (Luxembourg SCSp), `LU_SCS` (Luxembourg SCS), `LU_SARL` (Luxembourg S.à r.l.), `LU_SA` (Luxembourg S.A.), `LU_RAIF` (Luxembourg RAIF), `LU_SECURITISATION` (Luxembourg securitisation vehicle), and 20 more.
- Status (`status`, text): Its status. Alethia uses Active if left empty. One of: `active`, `dormant`, `in_liquidation` (In liquidation), `sold`, `dissolved`, `proposed`, `historic`, `advisory`, `archived`.
- Registration number (`registrationNumber`, text): Its number on the company register.
- Incorporation date (`incorporationDate`, date): When it was incorporated.
- LEI (`lei`, text): Its Legal Entity Identifier: 20 letters and digits.
- VAT number (`vatNumber`, text): Its VAT number.
- Tax reference (`taxReference`, text): Its tax reference.
- Business purpose (`businessPurpose`, text): What the business does.
- Notes (`notes`, text): Notes about the entity.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "businessPurpose": "Holding company",
    "displayName": "Acme Holdings",
    "entityType": "UK_LTD",
    "id": "entity_123",
    "incorporationDate": "2019-04-01",
    "jurisdiction": "UK",
    "jurisdictionCode": "GB",
    "legalName": "Acme Holdings Limited",
    "lei": "5493001KJTIIGC8Y1R12",
    "notes": "Main UK holding company.",
    "registrationNumber": "01234567",
    "revision": 3,
    "slug": "acme-holdings",
    "status": "active",
    "tags": [
      "tag_1"
    ],
    "taxReference": "1234567890",
    "vatNumber": "GB123456789",
    "workspaceId": "ws_1"
  }
}
```

### Create person

Add a person or company contact to the directory. Personal details such as email can't be set through the API.

**Inputs**

- Repeat-safe key (`idempotency_key`, text): Any text of 8 to 200 characters. Sending the same key again within 24 hours returns the first result instead of writing twice.
- Full name (`fullName`, text, required): Their full name.
- Type (`type`, text): Whether it is a person or a company contact. Alethia uses Individual if left empty. One of: `individual`, `corporate`.
- First name (`firstName`, text): Their first name.
- Last name (`lastName`, text): Their last name.
- Company (`companyId`, text): The entity they're linked to.
- Job title (`title`, text): Their job title.
- Service provider (`isServiceProvider`, true/false): Turn on if they're a service provider.
- Status (`status`, text): Whether they're active or archived. One of: `active`, `archived`.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "companyId": "entity_123",
    "firstName": "Jane",
    "fullName": "Jane Smith",
    "id": "entity_123",
    "isServiceProvider": false,
    "lastName": "Smith",
    "piiSeparated": true,
    "status": "active",
    "tags": [
      "tag_1"
    ],
    "title": "Director",
    "type": "individual",
    "workspaceId": "ws_1"
  }
}
```

### Delete deal

Delete a deal that never went further than the desk. Deals with committee, completion or document history can't be deleted.

**Inputs**

- Deal (`dealId`, text, required): The deal. Pick one, or use a deal ID from List deals.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "deal_1"
  }
}
```

### Delete document

Delete a document record and its stored files. Retained evidence, such as KYC documents, can't be deleted.

**Inputs**

- Document (`docId`, text, required): The document. Pick one, or use a document ID from List documents.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "doc_1"
  }
}
```

### Delete person

Delete a person nothing else refers to, such as one added by mistake. Archive anyone else instead.

**Inputs**

- Person (`personId`, text, required): The person. Pick one, or use a person ID from List people.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "person_1"
  }
}
```

### Get deal

Get one deal.

**Inputs**

- Deal (`dealId`, text, required): The deal. Pick one, or use a deal ID from List deals.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "acquiringEntityId": "entity_123",
    "agreedPrice": 2500000,
    "askingPrice": 2750000,
    "createdVia": "api",
    "currency": "GBP",
    "id": "entity_123",
    "name": "Riverside site",
    "nation": "England",
    "nextActionDueDate": "2026-02-01",
    "nextActionText": "Instruct surveyor",
    "notes": "Main UK holding company.",
    "price": 2500000,
    "priority": "high",
    "reference": "D-0042",
    "source": "Agent",
    "stage": "identified",
    "tags": [
      "tag_1"
    ],
    "workspaceId": "ws_1"
  }
}
```

### Get document

Get one document record.

**Inputs**

- Document (`docId`, text, required): The document. Pick one, or use a document ID from List documents.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "agreementId": "agreement_1",
    "archived": false,
    "category": "agreement",
    "contentType": "application/pdf",
    "dealId": "deal_1",
    "entityId": "entity_123",
    "entityIds": [
      "entity_123"
    ],
    "externalUrl": "https://example.com/spa.pdf",
    "id": "entity_123",
    "kind": "uploaded",
    "name": "Riverside site",
    "projectId": "project_1",
    "restricted": false,
    "sizeBytes": 204800,
    "source": "Agent",
    "storagePath": "",
    "tags": [
      "tag_1"
    ],
    "viewerIds": [
      "member_1"
    ],
    "workspaceId": "ws_1"
  }
}
```

### Get entity

Get one legal entity.

**Inputs**

- Entity (`entityId`, text, required): The entity. Pick one, or use an entity ID from List entities.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "businessPurpose": "Holding company",
    "displayName": "Acme Holdings",
    "entityType": "UK_LTD",
    "id": "entity_123",
    "incorporationDate": "2019-04-01",
    "jurisdiction": "UK",
    "jurisdictionCode": "GB",
    "legalName": "Acme Holdings Limited",
    "lei": "5493001KJTIIGC8Y1R12",
    "notes": "Main UK holding company.",
    "registrationNumber": "01234567",
    "revision": 3,
    "slug": "acme-holdings",
    "status": "active",
    "tags": [
      "tag_1"
    ],
    "taxReference": "1234567890",
    "vatNumber": "GB123456789",
    "workspaceId": "ws_1"
  }
}
```

### Get person

Get one person from the directory.

**Inputs**

- Person (`personId`, text, required): The person. Pick one, or use a person ID from List people.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "companyId": "entity_123",
    "firstName": "Jane",
    "fullName": "Jane Smith",
    "id": "entity_123",
    "isServiceProvider": false,
    "lastName": "Smith",
    "piiSeparated": true,
    "status": "active",
    "tags": [
      "tag_1"
    ],
    "title": "Director",
    "type": "individual",
    "workspaceId": "ws_1"
  }
}
```

### Get property

Get one property.

**Inputs**

- Property (`propertyId`, text, required): The property. Pick one, or use a property ID from List properties.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "acquisitionCurrency": "GBP",
    "acquisitionDate": "2024-06-30",
    "entityId": "entity_123",
    "id": "entity_123",
    "name": "Riverside site",
    "notes": "Main UK holding company.",
    "status": "active",
    "tenure": "freehold",
    "titleNumber": "AB123456",
    "useClass": "E",
    "workspaceId": "ws_1"
  }
}
```

### Get share class

Get one share class.

**Inputs**

- Share class (`id`, text, required): The share class. Pick one, or use an ID from List share classes.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "authorisedShares": 10000,
    "currency": "GBP",
    "description": "Ordinary shares",
    "entityId": "entity_123",
    "id": "entity_123",
    "name": "Riverside site",
    "noParValue": false,
    "parValue": 0.01,
    "statedCapital": 100,
    "votesPerShare": 1,
    "votingRight": "ordinary",
    "workspaceId": "ws_1"
  }
}
```

### Get shareholding

Get one shareholding.

**Inputs**

- Shareholding (`id`, text, required): The shareholding's ID, from List shareholdings.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "amountUnpaid": 0,
    "encumbrance": "none",
    "entityId": "entity_123",
    "holderId": "person_1",
    "holderType": "person",
    "id": "entity_123",
    "paidUp": true,
    "shareClassId": "sc_1",
    "shares": 100,
    "status": "active",
    "workspaceId": "ws_1"
  }
}
```

### List deals

List one page of deals in your acquisition pipeline.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "acquiringEntityId": "entity_123",
        "agreedPrice": 2500000,
        "askingPrice": 2750000,
        "createdVia": "api",
        "currency": "GBP",
        "id": "entity_123",
        "name": "Riverside site",
        "nation": "England",
        "nextActionDueDate": "2026-02-01",
        "nextActionText": "Instruct surveyor",
        "notes": "Main UK holding company.",
        "price": 2500000,
        "priority": "high",
        "reference": "D-0042",
        "source": "Agent",
        "stage": "identified",
        "tags": [
          "tag_1"
        ],
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### List documents

List one page of document records.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "agreementId": "agreement_1",
        "archived": false,
        "category": "agreement",
        "contentType": "application/pdf",
        "dealId": "deal_1",
        "entityId": "entity_123",
        "entityIds": [
          "entity_123"
        ],
        "externalUrl": "https://example.com/spa.pdf",
        "id": "entity_123",
        "kind": "uploaded",
        "name": "Riverside site",
        "projectId": "project_1",
        "restricted": false,
        "sizeBytes": 204800,
        "source": "Agent",
        "storagePath": "",
        "tags": [
          "tag_1"
        ],
        "viewerIds": [
          "member_1"
        ],
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### List entities

List one page of your legal entities.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "businessPurpose": "Holding company",
        "displayName": "Acme Holdings",
        "entityType": "UK_LTD",
        "id": "entity_123",
        "incorporationDate": "2019-04-01",
        "jurisdiction": "UK",
        "jurisdictionCode": "GB",
        "legalName": "Acme Holdings Limited",
        "lei": "5493001KJTIIGC8Y1R12",
        "notes": "Main UK holding company.",
        "registrationNumber": "01234567",
        "revision": 3,
        "slug": "acme-holdings",
        "status": "active",
        "tags": [
          "tag_1"
        ],
        "taxReference": "1234567890",
        "vatNumber": "GB123456789",
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### List people

List one page of people and company contacts in your directory.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "companyId": "entity_123",
        "firstName": "Jane",
        "fullName": "Jane Smith",
        "id": "entity_123",
        "isServiceProvider": false,
        "lastName": "Smith",
        "piiSeparated": true,
        "status": "active",
        "tags": [
          "tag_1"
        ],
        "title": "Director",
        "type": "individual",
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### List properties

List one page of properties your entities hold.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "acquisitionCurrency": "GBP",
        "acquisitionDate": "2024-06-30",
        "entityId": "entity_123",
        "id": "entity_123",
        "name": "Riverside site",
        "notes": "Main UK holding company.",
        "status": "active",
        "tenure": "freehold",
        "titleNumber": "AB123456",
        "useClass": "E",
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### List share classes

List one page of the share classes your entities issue.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "authorisedShares": 10000,
        "currency": "GBP",
        "description": "Ordinary shares",
        "entityId": "entity_123",
        "id": "entity_123",
        "name": "Riverside site",
        "noParValue": false,
        "parValue": 0.01,
        "statedCapital": 100,
        "votesPerShare": 1,
        "votingRight": "ordinary",
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### List shareholdings

List one page of who holds which shares.

**Inputs**

- Page size (`limit`, number): How many to return, up to 200. Alethia returns 50 if left empty. From 1 to 200.
- Page cursor (`cursor`, text): The Next page cursor from the previous page. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "amountUnpaid": 0,
        "encumbrance": "none",
        "entityId": "entity_123",
        "holderId": "person_1",
        "holderType": "person",
        "id": "entity_123",
        "paidUp": true,
        "shareClassId": "sc_1",
        "shares": 100,
        "status": "active",
        "workspaceId": "ws_1"
      }
    ],
    "nextCursor": "c2Vjb25kLXBhZ2U"
  }
}
```

### Update deal

Change a deal's details. Only the fields you fill in change; the stage changes only in Alethia.

**Inputs**

- Deal (`dealId`, text, required): The deal. Pick one, or use a deal ID from List deals.
- Name (`name`, text): The deal's name.
- Reference (`reference`, text): The deal's reference.
- Price (`price`, number): The price. At least 0.
- Asking price (`askingPrice`, number): The asking price. At least 0.
- Agreed price (`agreedPrice`, number): The agreed price. At least 0.
- Currency (`currency`, text): The currency code, such as GBP.
- Source (`source`, text): Where the deal came from.
- Region or market (`regionMarket`, text): The region or market.
- Next action (`nextActionText`, text): What happens next.
- Next action due (`nextActionDueDate`, date): When the next action is due.
- Key risk (`keyRisk`, text): The main risk.
- Business plan (`businessPlanSummary`, text): A summary of the business plan.
- Notes (`notes`, text): Notes about the deal.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "acquiringEntityId": "entity_123",
    "agreedPrice": 2500000,
    "askingPrice": 2750000,
    "createdVia": "api",
    "currency": "GBP",
    "id": "entity_123",
    "name": "Riverside site",
    "nation": "England",
    "nextActionDueDate": "2026-02-01",
    "nextActionText": "Instruct surveyor",
    "notes": "Main UK holding company.",
    "price": 2500000,
    "priority": "high",
    "reference": "D-0042",
    "source": "Agent",
    "stage": "identified",
    "tags": [
      "tag_1"
    ],
    "workspaceId": "ws_1"
  }
}
```

### Update document

Change a document record. Only the fields you fill in change.

**Inputs**

- Document (`docId`, text, required): The document. Pick one, or use a document ID from List documents.
- Name (`name`, text): The document's name.
- Category (`category`, text): What kind of document it is. One of: `incorporation`, `constitutional`, `registers`, `accounts`, `tax`, `board_minutes` (Board minutes), `resolutions`, `agreement`, `filings`, `kyc`, `banking`, `other`.
- Link (`externalUrl`, text): The http or https address where the document is. The API records a link; it can't upload files.
- File type (`contentType`, text): The file type, such as application/pdf.
- Entity (`entityId`, text): The main entity it belongs to.
- Other entities (`entityIds`, list): Other entities it belongs to.
- Deal (`dealId`, text): The deal it belongs to.
- Archived (`archived`, true/false): Turn on to archive it.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "agreementId": "agreement_1",
    "archived": false,
    "category": "agreement",
    "contentType": "application/pdf",
    "dealId": "deal_1",
    "entityId": "entity_123",
    "entityIds": [
      "entity_123"
    ],
    "externalUrl": "https://example.com/spa.pdf",
    "id": "entity_123",
    "kind": "uploaded",
    "name": "Riverside site",
    "projectId": "project_1",
    "restricted": false,
    "sizeBytes": 204800,
    "source": "Agent",
    "storagePath": "",
    "tags": [
      "tag_1"
    ],
    "viewerIds": [
      "member_1"
    ],
    "workspaceId": "ws_1"
  }
}
```

### Update entity

Change a legal entity's details. Only the fields you fill in change.

**Inputs**

- Entity (`entityId`, text, required): The entity. Pick one, or use an entity ID from List entities.
- Repeat-safe key (`idempotency_key`, text, required): Any text of 8 to 200 characters, new for each change. Sending the same key again within 24 hours returns the first result instead of writing twice.
- Revision (`revision`, number, required): The entity's current revision, from Get entity. If it changed since, nothing is saved.
- Legal name (`legalName`, text): The entity's legal name.
- Display name (`displayName`, text): A shorter name to show.
- Jurisdiction (`jurisdiction`, text): Where it is incorporated. One of: `UK`, `Luxembourg`, `Jersey`, `Guernsey`, `Isle of Man`, `Ireland`, `Netherlands`, `Belgium`, `France`, `Germany`, and 31 more.
- Country code (`jurisdictionCode`, text): Its country as a two-letter ISO code, such as GB.
- Entity type (`entityType`, text): What kind of entity it is. One of: `UK_LTD` (UK private limited company), `UK_PLC` (UK public limited company), `UK_LLP` (UK LLP), `UK_LP` (UK limited partnership), `LU_SCSP` (Luxembourg SCSp), `LU_SCS` (Luxembourg SCS), `LU_SARL` (Luxembourg S.à r.l.), `LU_SA` (Luxembourg S.A.), `LU_RAIF` (Luxembourg RAIF), `LU_SECURITISATION` (Luxembourg securitisation vehicle), and 20 more.
- Status (`status`, text): Its status. One of: `active`, `dormant`, `in_liquidation` (In liquidation), `sold`, `dissolved`, `proposed`, `historic`, `advisory`, `archived`.
- Registration number (`registrationNumber`, text): Its number on the company register.
- Incorporation date (`incorporationDate`, date): When it was incorporated.
- LEI (`lei`, text): Its Legal Entity Identifier: 20 letters and digits.
- VAT number (`vatNumber`, text): Its VAT number.
- Tax reference (`taxReference`, text): Its tax reference.
- Business purpose (`businessPurpose`, text): What the business does.
- Notes (`notes`, text): Notes about the entity.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "businessPurpose": "Holding company",
    "displayName": "Acme Holdings",
    "entityType": "UK_LTD",
    "id": "entity_123",
    "incorporationDate": "2019-04-01",
    "jurisdiction": "UK",
    "jurisdictionCode": "GB",
    "legalName": "Acme Holdings Limited",
    "lei": "5493001KJTIIGC8Y1R12",
    "notes": "Main UK holding company.",
    "registrationNumber": "01234567",
    "revision": 3,
    "slug": "acme-holdings",
    "status": "active",
    "tags": [
      "tag_1"
    ],
    "taxReference": "1234567890",
    "vatNumber": "GB123456789",
    "workspaceId": "ws_1"
  }
}
```

### Update person

Change a person's details. Only the fields you fill in change.

**Inputs**

- Person (`personId`, text, required): The person. Pick one, or use a person ID from List people.
- Full name (`fullName`, text): Their full name.
- Type (`type`, text): Whether it is a person or a company contact. One of: `individual`, `corporate`.
- First name (`firstName`, text): Their first name.
- Last name (`lastName`, text): Their last name.
- Company (`companyId`, text): The entity they're linked to.
- Job title (`title`, text): Their job title.
- Service provider (`isServiceProvider`, true/false): Turn on if they're a service provider.
- Status (`status`, text): Whether they're active or archived. One of: `active`, `archived`.
- Tags (`tags`, list): Tag IDs to give it.

**Outputs**

- `data` (object): The response from Alethia HQ.

**Example output**

```json
{
  "data": {
    "companyId": "entity_123",
    "firstName": "Jane",
    "fullName": "Jane Smith",
    "id": "entity_123",
    "isServiceProvider": false,
    "lastName": "Smith",
    "piiSeparated": true,
    "status": "active",
    "tags": [
      "tag_1"
    ],
    "title": "Director",
    "type": "individual",
    "workspaceId": "ws_1"
  }
}
```
