departi_track_schengen
Input your Schengen zone stays to calculate 90/180-day status. Get days used, remaining, status alert, projected limit date, and residence permit country exclusion.
Instructions
Calculates Schengen 90/180 short-stay status from a list of stays. Returns: days used and days remaining in the rolling 180-day window, a status (safe | warning | critical | exceeded), the projected date the limit would be reached at the current pace, and — for residence/digital-nomad-permit holders — a count that excludes days in the permit-issuing country while still counting every other Schengen state (with a note of which country is excluded). Use for non-EU travellers tracking the 90-days-in-180 limit. Note: EU/EEA nationals have free movement (not counted); a residence permit exempts only its issuing country, not the rest of Schengen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Default en. | en |
| entries | Yes | Array of Schengen zone stays. | |
| currency | No | Default EUR. | EUR |
| nationality | No | Citizenship, ISO alpha-2. EU/EEA nationals are exempt from counting. | |
| referenceDate | No | ISO date to evaluate the window at. Default: today. | |
| residencePermit | No | Residence or digital-nomad permit. When present and active on the reference date, days in the issuing country are excluded from the 90/180 count; all other Schengen days still count. |