> ## Documentation Index
> Fetch the complete documentation index at: https://docs.totemdigital.ro/llms.txt
> Use this file to discover all available pages before exploring further.

# Licences, subscriptions and automatic renewals

> Register of licences sold, renewal proformas generated automatically and the link with Licence central.

Each licence or subscription sold (SiteKiosk, SAGA, Totem Digital applications, hosting) is a row in **Licences and subscriptions**, with the client, product, serial, price per period and expiry date.

## What happens automatically

| When | What the ERP does |
| - | - |
| 30 days before expiry | Generates the renewal proforma. It either issues and sends it to the client or leaves it as a draft with a review task (**Settings › Automation**). |
| 7 days before, if the proforma is unpaid | Resends the proforma and creates a “Call the client” task for the owner. |
| At expiry without payment | Sets the licence to “Not renewed” and creates a recovery task. |
| When the proforma is paid | Extends the licence by its period (1, 2 or 3 years, etc.). |

Licences with price 0 or without automatic renewal get no proforma: you receive a task to prepare the offer.

## Adding and importing

* **Adding:** the **Add** button; choosing the product fills in the default price and period.
* **Importing:** **Import** accepts a CSV (including the ClickUp export). Run the simulation first, then the import. Licence passwords are not imported.

## Link with Licence central

Licences issued in Licence central (the key generator for Totem Digital applications) appear in the ERP automatically, every 6 hours:

* the client is recognised by tax ID or name; if missing, it is created;
* if the licence was already entered manually for the same client and product, it is linked to it and not duplicated;
* after the renewal is paid, the licence is also extended in Licence central; if that fails, you receive a task;
* the client sees the activation code in the portal.

On the licence page, the **Licence central** box shows the activation code, domains, computers and the last check made by the client's application.

## Direct sign-in from the portal

For Totem Digital application licences, **Direct sign-in from the portal** = Yes lets the client enter the application from the portal without another password. Requirements: “App address” filled in and the `sso.php` file uploaded to the installation (see [Settings and integrations](https://docs.totemdigital.ro/en/erp-central/administration/settings-and-integrations.md)).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.