Finopswerk
accumulating sick leave liability
Measures one closing salary-only liability for non-vesting accumulating sick leave. For N identical employees with unused old carry C and next-year entitlement E (used first), the caller supplies three scenarios of future absence days a_j with probabilities p_j, expected daily salary w and the previous booked liability B. Per scenario, incremental old carry use=min(C,max(a_j-E,0)); liability L=N*w*SUM(p_j*incremental_j); expense adjustment=L-B. This is not N*C*w.
POST https://finops.halowerk.com/v1/accumulating-sick-leave-liabilityInputs
| Field | Type | Required | Description |
|---|---|---|---|
| employees | integer | Yes | |
| carry_n | integer | Yes | |
| new_entitlement_n | integer | Yes | |
| absence_n | array | Yes | |
| probability_bp | array | Yes | |
| daily_salary_n | integer | Yes | |
| prior_book_n | integer | Yes | |
| day_denominator | integer | Yes | |
| amount_denominator | integer | Yes | |
| report | object | Yes |
Show full input schema
{
"type": "object",
"required": [
"employees",
"carry_n",
"new_entitlement_n",
"absence_n",
"probability_bp",
"daily_salary_n",
"prior_book_n",
"day_denominator",
"amount_denominator",
"report"
],
"properties": {
"employees": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"carry_n": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"new_entitlement_n": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"absence_n": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 100
}
},
"probability_bp": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"daily_salary_n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"prior_book_n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"day_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"amount_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"report": {
"type": "object",
"minProperties": 21,
"maxProperties": 21,
"propertyNames": {
"enum": [
"employees",
"carry_days",
"new_entitlement_days",
"daily_salary",
"prior_book",
"mean_absence_days",
"paid_days_WITH_carry",
"paid_days_WITHOUT_carry",
"scenario0_extra_days",
"scenario1_extra_days",
"scenario2_extra_days",
"additional_days_per_employee",
"additional_days_cohort",
"unused_days_face_cohort",
"unused_salary_face",
"expected_liability",
"expense_adjustment",
"closing_liability",
"mean_clamp_wrong_days_cohort",
"day_gap",
"money_gap"
]
},
"additionalProperties": {
"type": "object",
"required": [
"n",
"d"
],
"propertyNames": {
"enum": [
"n",
"d"
]
},
"additionalProperties": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 64
}
}
}
},
"additionalProperties": false
}Published input example
{
"employees": 100,
"carry_n": 4,
"new_entitlement_n": 10,
"absence_n": [
8,
13,
0
],
"probability_bp": [
9200,
800,
0
],
"daily_salary_n": 100,
"prior_book_n": 0,
"day_denominator": 2,
"amount_denominator": 1,
"report": {
"employees": {
"n": "100",
"d": "1"
},
"carry_days": {
"n": "2",
"d": "1"
},
"new_entitlement_days": {
"n": "5",
"d": "1"
},
"daily_salary": {
"n": "100",
"d": "1"
},
"prior_book": {
"n": "0",
"d": "1"
},
"mean_absence_days": {
"n": "21",
"d": "5"
},
"paid_days_WITH_carry": {
"n": "21",
"d": "5"
},
"paid_days_WITHOUT_carry": {
"n": "102",
"d": "25"
},
"scenario0_extra_days": {
"n": "0",
"d": "1"
},
"scenario1_extra_days": {
"n": "3",
"d": "2"
},
"scenario2_extra_days": {
"n": "0",
"d": "1"
},
"additional_days_per_employee": {
"n": "3",
"d": "25"
},
"additional_days_cohort": {
"n": "12",
"d": "1"
},
"unused_days_face_cohort": {
"n": "200",
"d": "1"
},
"unused_salary_face": {
"n": "20000",
"d": "1"
},
"expected_liability": {
"n": "1200",
"d": "1"
},
"expense_adjustment": {
"n": "1200",
"d": "1"
},
"closing_liability": {
"n": "1200",
"d": "1"
},
"mean_clamp_wrong_days_cohort": {
"n": "0",
"d": "1"
},
"day_gap": {
"n": "0",
"d": "1"
},
"money_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
- Finopswerk0.003 USDC
acquisition goodwill nci bridge
POSThttps://finops.halowerk.com/v1/acquisition-goodwill-nci-bridgeReconstructs one acquisition-date business-combination goodwill/NCI bridge from caller-measured identified assets, assumed liabilities, cash and non-cash consideration and previously held interest. NCI mode 0 = proportionate identifiable ne
- Finopswerk0.003 USDC
adjusted coupon cashflow ledger
POSThttps://finops.halowerk.com/v1/adjusted-coupon-cashflow-ledgerFrom a civil start date, tenor, EOM, principal, rate and explicit calendars, derives unadjusted accrual anchors, Following/ModifiedFollowing/Preceding payment dates, ACT365F exact interest and the last principal redemption. Payment adjustme
- Finopswerk0.003 USDC
aged receivable loss allowance ledger
POSThttps://finops.halowerk.com/v1/aged-receivable-loss-allowance-ledgerReconstructs receivable aging, four bucket exposures (bands 0, 1-30, 31-60, 61+ days), two scenario loss arrays, the probability-weighted allowance, net carrying values and the signed adjustment to the booked allowance. The caller supplies