Frontalier telework — 40 % tax and 49.9 % social thresholds
calculate_teletravail_frontalierFrontalier telework thresholds (FR–CH): 40 % tax and 49.9 % social security, reported separately. · Télétravail frontalier : seuils fiscal 40 % et sécurité sociale 49,9 %, distingués. — Projects a typical working week over 46 worked weeks and returns the telework share, the position against BOTH limits (different instruments: the FR–CH tax avenant applicable since 01/01/2026 vs the EU/EFTA social-security framework agreement since 01/07/2023), the remaining telework days before each is crossed, and how many temporary mission days count inside the allowance (≤ 10 a year). Optional: the 3-month LAMal/CMU droit d'option window from the Swiss employment start date. Deterministic — verified official facts with sources and dates, nothing stored. Same engine as the free web counter; a signed-in monthly log turns the projection into the real position (list_deadlines then carries the threshold warnings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | No | YYYY-MM-DD reference date for the option window (default: today) — makes the answer reproducible. | |
| days_per_week | No | Contractual working days per week (1–7). Default 5. | |
| mission_days_per_year | No | Temporary mission days per year in France or a third country — only the first 10 count inside the telework allowance. | |
| swiss_employment_start | No | YYYY-MM-DD the Swiss employment began — adds the 3-month LAMal/CMU droit d'option window. | |
| telework_days_per_week | Yes | Days per week worked from home in France (fractions allowed, e.g. 1.5). |