Actions17
Extra Payments
AI-generatedSummary
Calculate extra payments (pagas extras) for employees in Spain based on gross salary and months worked, applying Spanish labor law rules to determine the proportional extra payments due.
Inputs
- Country (required) — Must be set to 'espana' to perform extra payments calculation specific to Spain.
- Gross Salary (required) — Monthly gross salary used to calculate the base for extra payments.
- Months Worked (required) — Number of months worked in the period to determine the proportional part of the extra payments.
Output shape
A single JSON object containing the calculated full extra payment, the proportional extra payment based on months worked, and relevant contextual information such as payment dates and notes.
The output includes: 'concepto' as 'Paga Extra', 'sueldoMensual' as the base monthly salary, 'pagaCompleta' as the full extra payment amount, 'mesesTrabajados' used for proportional calculation, 'pagaProporcional' as the calculated proportional extra payment, standard payment months (June and December), and a note about minimum legal payments and proration. It assumes 2 extra payments per year as minimum legal provision in Spain.
Examples
Example 1: Calculate the proportional extra payments for an employee in Spain who has a gross monthly salary of 2000€ and has worked 6 months.
Set Country to 'espana', Gross Salary to 2000, Months Worked to 6. Execute the operation 'Extra Payments'. The result JSON will include 'pagaProporcional' with the amount corresponding to 6 months out of 12 of the full extra payment.