Termination pay calculator

Calculate a leaving employee's final pay — severance allowance, unused leave and the last month's salary — in line with the Labour Code.

Termination details

Choose the reason and the date, then enter the salary and the unused leave.

gg.aa.iiii

Calculated final pay

Enter the details

Total gross amount

0,00 AZN
Severance allowance
0,00 AZN
Unused leave compensation
0,00 AZN
Last month's salary
0,00 AZN
Deductions
0,00 AZN
Net amount
0,00 AZN

This is an estimate. Check with your accountant before using it in official documents.

Connect this tool to your own system

Call the same API this page uses from your ERP, accounting or HR system: send a request and get the result back as JSON.

POSTcalculate-api.7hrm.az/api/calculations/termination
  • Free and open
  • No API key needed
  • JSON response

Request fields

dismissalReasonId
Reason for termination — GET /api/calculations/dismissal-reasons lists them.
dismissalDate
Termination date (yyyy-mm-dd).
monthlySalary, experienceYears
Monthly salary and length of service (years).
unusedVacationDays
Unused leave days.

Returned in the response

dismissalAllowanceAmount
Severance allowance.
unusedVacationCompensationAmount
Compensation for unused leave.
totalGrossAmount, totalNetAmount
Final pay, gross and net.
API docs

API integration

Leave your email about the Termination pay calculator API and our team will get in touch.

By sending, you agree to us processing your data.

curl -X POST "https://calculate-api.7hrm.az/api/calculations/termination" \
  -H "Content-Type: application/json" \
  -d '{
    "dismissalReasonId": "DISMISSAL_REASON_ID",
    "dismissalDate": "2026-06-30",
    "monthlySalary": 1500,
    "experienceYears": 6,
    "unusedVacationDays": 12,
    "workedDaysInLastMonth": 22,
    "workDaysInMonth": 22,
    "socialDiscountAmount": 0,
    "isMain": true
  }'

Every request and response field, examples and a form to try requests are in the API docs.

Start automating
your processes today

Manage every step from the termination order
to the final pay in one place with 7HRM.

  • Automatic payroll calculation
  • Tax and social contributions deducted automatically
  • Calculations based on working days and the timesheet
  • Order templates in line with legislation
Book a demo