calculate_night_shift_pay
Calculate night shift pay for hours between 21h and 6h using base rate and configurable premium. Returns night hourly rate, total pay, and premium earned.
Instructions
Calculate night shift pay (21h-6h) with configurable premium percentage. Returns: {night_hourly_rate, total_pay, premium_earned}. See list_bundles for related 'temps-rh' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_hourly_rate | Yes | Normal hourly rate in euros | |
| night_hours | Yes | Number of night hours worked (21h-6h) | |
| premium_pct | No | Night shift premium percentage (default 25%) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |