expiries_create
Record an expiring document or contract (RCA, ITP, rovinieta, leasing, etc.) with its expiry date and optional vehicle, provider, or number. Automatic reminders are sent before the due date so nothing expires unnoticed.
Instructions
Record something with an expiry date. Kinds: rca, itp, rovinieta, casco, tahograf (calibration), extinctor, trusa_medicala, licenta_transport, copie_conforma, leasing (contract end) — usually with a vehicleId — and certificat_digital, contract, autorizatie, other for the company. Members get the expiry.due notification remindDaysBefore days before (default 30), then 7 and 1 days before and on the day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| label | No | Display label (default: the kind's name, e.g. "RCA") | |
| notes | No | ||
| number | No | Policy / certificate / contract number | |
| provider | No | Insurer, ITP station, leasing company, certificate provider … | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| expiresAt | Yes | Expiry date, YYYY-MM-DD | |
| validFrom | No | Valid from, YYYY-MM-DD | |
| vehicleId | No | The vehicle the document belongs to; omit for a company-level item | |
| remindDaysBefore | No | First reminder this many days before (default 30); then 7, 1 and 0 days |