Tenant notice period (préavis) calculator — French residential lease
calculate_tenant_notice_periodTenant's notice period to end a French lease (préavis). · Délai de préavis du locataire pour résilier un bail. — Computes the tenant's notice period for terminating a French residential lease (loi n° 89-462 art. 15): furnished = always 1 month; unfurnished = 3 months, reduced to 1 month in a zone tendue commune (first-list perimeter, resolved automatically from insee_code/commune) or on a statutory ground (art. 15 I, 1° à 5° incl. 3° bis). Returns the end date computed de quantième à quantième from the RECEPTION date, plus which justificatifs must accompany the letter. Deterministic legal formula — no AI involved. France métropolitaine rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name, e.g. 'Lyon'. Used when insee_code is not provided. | |
| ground_id | No | Statutory ground for the reduced 1-month notice on an unfurnished lease (art. 15 I). | |
| insee_code | No | INSEE commune code (5 chars, e.g. 75056 for Paris, 2A004 for Ajaccio). Preferred when known — skips name resolution. | |
| lease_type | Yes | 'vide' = unfurnished, 'meuble' = furnished | |
| code_postal | No | 5-digit postal code — disambiguates homonym communes. | |
| zone_tendue | No | Explicit zone-tendue (first list) flag if already known — otherwise resolved from insee_code/commune. | |
| reception_date | No | ISO date the LANDLORD RECEIVES the notice (LRAR reception, remise en main propre, or acte de commissaire) — never the sending date. |