# LicensePayload.licenseId Property

> LicensePayload.licenseId property in the Node.js TypeScript API: The license ID, TRIAL-V2- or LIC-V2- with a UUID, the same for every file of a serial number.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > LicensePayload > LicensePayload.licenseId Property
- **335 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/licenseid-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/licenseid-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/licenseid-property/llms-full.txt

---

The license ID, TRIAL-V2- or LIC-V2- followed by a UUID; every license file of the same serial number has the same ID.

Owner: [LicensePayload](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
readonly licenseId: string
```

Read through the owning object: `owner.licenseId`. Follow the declared mutability and owning object lifetime.

### Examples

Pass the LicensePayload value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectLicensePayloadLicenseId(licensePayload: { licenseId: string }) {
    const value = licensePayload['licenseId'];
    console.log('LicensePayload.licenseId', value);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [LicensePayload Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## Nearby

- **Previous:** [LicensePayload.issuedAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/issuedat-property/llms-full.txt)
- **Next:** [LicensePayload.majorVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/licensepayload/majorversion-property/llms-full.txt)
