Skip to content
HALOWERK

Finopswerk

final salary accrued benefit pv

Projects and service-attributes one deterministic final-salary lump-sum retirement benefit. After y completed years and exactly n future years, final salary = S*(1+g)^n; each service year earns accrualbps/10000 of that salary. Returns projected salary, unit benefit, accrued/future/total nominal benefits, unit PV, accrued obligation (y * unit PV), future-service PV and total PV. Total PV includes unearned future units and is not the current obligation.

POST https://finops.halowerk.com/v1/final-salary-accrued-benefit-pv

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
current_annual_salaryintegerYes
accrual_bpsintegerYes
completed_yearsintegerYes
remaining_yearsintegerYes
salary_growth_bpsintegerYes
discount_domain_bpsarrayYes
reportobjectYes
Show full input schema
{
  "type": "object",
  "properties": {
    "current_annual_salary": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    },
    "accrual_bps": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "completed_years": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5
    },
    "remaining_years": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    },
    "salary_growth_bps": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2000
    },
    "discount_domain_bps": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000
      },
      "minItems": 1,
      "maxItems": 2,
      "uniqueItems": true
    },
    "report": {
      "type": "object",
      "minProperties": 12,
      "maxProperties": 12,
      "propertyNames": {
        "enum": [
          "projected_final_salary",
          "benefit_per_service_year",
          "completed_service_fraction",
          "accrued_nominal_benefit",
          "future_service_nominal_benefit",
          "total_nominal_benefit",
          "discount_factor",
          "unit_present_value",
          "accrued_obligation",
          "future_service_present_value",
          "total_benefit_present_value",
          "allocation_gap"
        ]
      },
      "additionalProperties": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "n",
          "d"
        ],
        "properties": {
          "n": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 1,
            "maxLength": 64
          },
          "d": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 1,
            "maxLength": 64
          }
        }
      }
    }
  },
  "required": [
    "current_annual_salary",
    "accrual_bps",
    "completed_years",
    "remaining_years",
    "salary_growth_bps",
    "discount_domain_bps",
    "report"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "current_annual_salary": 10000,
  "accrual_bps": 100,
  "completed_years": 1,
  "remaining_years": 4,
  "salary_growth_bps": 700,
  "discount_domain_bps": [
    1000
  ],
  "report": {
    "projected_final_salary": {
      "n": "131079601",
      "d": "10000"
    },
    "benefit_per_service_year": {
      "n": "131079601",
      "d": "1000000"
    },
    "completed_service_fraction": {
      "n": "1",
      "d": "5"
    },
    "accrued_nominal_benefit": {
      "n": "131079601",
      "d": "1000000"
    },
    "future_service_nominal_benefit": {
      "n": "131079601",
      "d": "250000"
    },
    "total_nominal_benefit": {
      "n": "131079601",
      "d": "200000"
    },
    "discount_factor": {
      "n": "10000",
      "d": "14641"
    },
    "unit_present_value": {
      "n": "131079601",
      "d": "1464100"
    },
    "accrued_obligation": {
      "n": "131079601",
      "d": "1464100"
    },
    "future_service_present_value": {
      "n": "131079601",
      "d": "366025"
    },
    "total_benefit_present_value": {
      "n": "131079601",
      "d": "292820"
    },
    "allocation_gap": {
      "n": "0",
      "d": "1"
    }
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’