Catalog/hr-severance

Calculators

Severance pay calculator API

Compute severance = weeklySalary x weeksPerYearOfService x yearsOfService, the standard tenure-based formula (weekly derived from annual/52 when not given). Deterministic offboarding math. Answers 'what's my severance for 6 years','2 weeks per year of service payout','severance on an $78k salary'.

Price$0.01per request
MethodPOST
Route/v1/calc/hr-severance
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
hrseveranceoffboardingterminationpayrollcalctenurelayoff
API URLhttps://x402.hexl.dev/v1/calc/hr-severance
Integration docs
Example request
{
  "annualSalary": 78000,
  "yearsOfService": 6,
  "weeksPerYear": 2
}
Example response
{
  "weeklySalary": 1500,
  "yearsOfService": 6,
  "weeksPerYearOfService": 2,
  "severanceWeeks": 12,
  "severancePay": 18000
}
Input schema
{
  "type": "object",
  "required": [
    "yearsOfService"
  ],
  "properties": {
    "weeklySalary": {
      "type": "number",
      "description": "Weekly salary in dollars (or supply annualSalary)",
      "examples": [
        1500
      ]
    },
    "annualSalary": {
      "type": "number",
      "examples": [
        78000
      ]
    },
    "yearsOfService": {
      "type": "number",
      "description": "Completed years of service",
      "examples": [
        6
      ]
    },
    "weeksPerYear": {
      "type": "number",
      "default": 1,
      "description": "Weeks of severance granted per year of service",
      "examples": [
        2
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}