# LicensePayload Interface

> LicensePayload interface in the browser TypeScript API: The fields TX Sheet Control reads from a license file, with trial dates for trials only.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > LicensePayload Interface
- **610 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/llms-full.txt

---

What TX Sheet Control reads from a license file, under the names of the API. The trial dates are present for trials only.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [customerName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/customername-property/llms-full.txt) | The company the license is issued to: the organization of the Text Control account's billing address, or the account's ID when it has none. |
| [expiresAt](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/expiresat-property/llms-full.txt) | For a trial, the end of its 30-day period as an ISO 8601 UTC string; absent for Developer and OEM licenses. |
| [issuedAt](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/issuedat-property/llms-full.txt) | For a trial, the start of its 30-day period as an ISO 8601 UTC string; absent for Developer and OEM licenses. |
| [licenseId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/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. |
| [majorVersion](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/majorversion-property/llms-full.txt) | The licensed major version, read from the product code of the license: SH-0200-XA-S is version 2.0, which covers every 2.x release. |
| [products](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/products-property/llms-full.txt) | The covered components, SheetEditor and ServerSheetControl; every license from the Text Control Account covers both. |
| [type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/type-property/llms-full.txt) | The license type: trial, developer or oem. The declared eval is never issued. |

### 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
import type { LicensePayload } from '@txtextcontrol/tx-sheet-control';

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

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## In This Section

- [LicensePayload.customerName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/customername-property/llms-full.txt): LicensePayload.customerName property in the browser TypeScript API: The company the license is issued to, from the billing address of the Text Control account.
- [LicensePayload.expiresAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/expiresat-property/llms-full.txt): LicensePayload.expiresAt property in the TX Sheet Control TypeScript API for the browser: For a trial, the end of its 30-day period as an ISO 8601 UTC string.
- [LicensePayload.issuedAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/issuedat-property/llms-full.txt): LicensePayload.issuedAt property in the TX Sheet Control TypeScript API for the browser: For a trial, the start of its 30-day period as an ISO 8601 UTC string.
- [LicensePayload.licenseId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/licenseid-property/llms-full.txt): LicensePayload.licenseId property in the browser TypeScript API: The license ID, TRIAL-V2- or LIC-V2- with a UUID, the same for every file of a serial number.
- [LicensePayload.majorVersion Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/majorversion-property/llms-full.txt): LicensePayload.majorVersion property in the browser TypeScript API: The licensed major version from the product code; SH-0200 covers every 2.x release.
- [LicensePayload.products Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/products-property/llms-full.txt): LicensePayload.products property in the TX Sheet Control TypeScript API for the browser: The covered components, SheetEditor and ServerSheetControl.
- [LicensePayload.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/type-property/llms-full.txt): LicensePayload.type property in the browser TypeScript API: The license type: trial, developer or oem. The declared eval is never issued.

---

## Nearby

- **Previous:** [LicenseInfo.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licenseinfo/type-property/llms-full.txt)
- **Next:** [LicensePayload.customerName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/licensepayload/customername-property/llms-full.txt)
