# Access for the Labor Inspectorate and legal representation

> How to create temporary read-only access to the records for the Labor Inspectorate or the workers' legal representatives.

## Access for the Labor Inspectorate and legal representation

From **Inspection / RLT** you can give the Labor Inspectorate or the workers' legal representatives (RLT) temporary, read-only access to the working-time records. Each access is identified by its own address (URL), which you can revoke whenever you want.

### Create an access

1. In the **Time Tracking** module, open **Inspection / RLT** ("Access for Inspection and Legal Representation").
2. Choose the **Access type**:
   
   **Labor Inspectorate (full data)**.
3. **Legal Representation (anonymized data)**: hides the workers' identity; you see aliases (worker_xxxx), with no names, emails or DNI.
4. Enter the **Validity (hours)**, from 1 to 720. If you leave it empty, it will be 24 hours.
5. Choose the date range with **From** and **To**.
6. Create the access. You will see "Token created successfully".

### Share and revoke

- The list shows each access with its type (RLT or Inspection), its status (**Active**, **Expired** or **Revoked**), the range and the expiry date.
- Click **Copy URL** to copy the address and send it to whoever needs it.
- To cancel an access before it expires, revoke it. You will see "Token revoked successfully".

### What you should know

- The address does not ask for a username or password: anyone who has it can view the data while it is active. Treat it as confidential information, share it only with the right people and revoke it when the procedure is over.
- The address returns the data in a technical format, not on a viewing page. If whoever receives it needs a readable document, generate the PDF reports ([Export records as PDF](lueira-guide:92f5cb5a-0830-46d3-84dc-f7af977dd359?locale=en)).
- The access is read-only.

### Related guides

- [Export Time Tracking records as PDF](lueira-guide:92f5cb5a-0830-46d3-84dc-f7af977dd359?locale=en)
- [Time Tracking dashboard in Admin](lueira-guide:05287d4c-ef62-4172-8592-73a64b01030a?locale=en)

Source: https://help.lueira.com/en/articles/acceso-para-inspeccion-de-trabajo-y-representacion-legal
