Overview
- Category
- Finance
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/severance-pay-calculator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/severance-pay-calculator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
annual_salary· number · required- Enter annual salary.
years_service· number · required- Enter years of service.
weeks_per_year· number · required- Enter weeks per service year.
minimum_weeks· number · required- Enter minimum weeks.
withholding_rate· number · required- Enter planning withholding.
{
"type": "object",
"properties": {
"annual_salary": {
"type": "number",
"description": "Enter annual salary."
},
"years_service": {
"type": "number",
"description": "Enter years of service."
},
"weeks_per_year": {
"type": "number",
"description": "Enter weeks per service year."
},
"minimum_weeks": {
"type": "number",
"description": "Enter minimum weeks."
},
"withholding_rate": {
"type": "number",
"description": "Enter planning withholding."
}
},
"required": [
"annual_salary",
"years_service",
"weeks_per_year",
"minimum_weeks",
"withholding_rate"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
gross_severance· number- Gross severance produced by the tool.
estimated_withholding· number- Estimated withholding produced by the tool.
estimated_net· number- Estimated net produced by the tool.
weeks_paid· number- Weeks paid produced by the tool.
{
"type": "object",
"properties": {
"gross_severance": {
"type": "number",
"description": "Gross severance produced by the tool."
},
"estimated_withholding": {
"type": "number",
"description": "Estimated withholding produced by the tool."
},
"estimated_net": {
"type": "number",
"description": "Estimated net produced by the tool."
},
"weeks_paid": {
"type": "number",
"description": "Weeks paid produced by the tool."
}
},
"additionalProperties": false
}
Severance Pay Calculator worked example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/severance-pay-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"annual_salary": 78000,
"years_service": 6,
"weeks_per_year": 2,
"minimum_weeks": 4,
"withholding_rate": 22
}'
{
"ok": true,
"data": {
"slug": "severance-pay-calculator",
"result": {
"values": {
"gross_severance": 18000,
"estimated_withholding": 3960,
"estimated_net": 14040,
"weeks_paid": 12
},
"display": {
"display": "18000"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.