Finopswerk
own credit liability fair value split
Reconstructs one issuer financial liability designated at FVTPL with own-credit effects in OCI and all other effects in P&L, from three end-of-period cash flows (the first paid at valuation), a caller-supplied period-start market IRR, opening benchmark b0 and closing benchmark b1. Spread s = IRR - b0; counterfactual closing rate k = b1 + s; benchmark-only closing FV = CF2/(1+k) + CF3/(1+k)^2. Returns 24 exact fractions. It does not solve or calibrate the IRR.
POST https://finops.halowerk.com/v1/own-credit-liability-fair-value-splitInputs
| Field | Type | Required | Description |
|---|---|---|---|
| cashflows_n | array | Yes | |
| period_start_irr_bp | integer | Yes | |
| benchmark_open_bp | integer | Yes | |
| benchmark_close_bp | integer | Yes | |
| observed_close_fv_n | integer | Yes | |
| amount_denominator | integer | Yes | |
| report | object | Yes |
Show full input schema
{
"type": "object",
"required": [
"cashflows_n",
"period_start_irr_bp",
"benchmark_open_bp",
"benchmark_close_bp",
"observed_close_fv_n",
"amount_denominator",
"report"
],
"properties": {
"cashflows_n": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"minItems": 3,
"maxItems": 3
},
"period_start_irr_bp": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"benchmark_open_bp": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"benchmark_close_bp": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observed_close_fv_n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"amount_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"report": {
"type": "object",
"minProperties": 24,
"maxProperties": 24,
"propertyNames": {
"enum": [
"cashflow1",
"cashflow2",
"cashflow3",
"period_start_irr",
"opening_benchmark",
"closing_benchmark",
"initial_credit_spread",
"updated_counterfactual_rate",
"opening_fair_value",
"first_cash_paid",
"start_rate_accretion_component",
"post_cash_unchanged_rate_value",
"benchmark_only_closing_value",
"observed_closing_fair_value",
"benchmark_PL_expense",
"total_PL_expense",
"own_credit_OCI_expense",
"total_comprehensive_expense",
"own_credit_OCI_gain_loss",
"total_PL_gain_loss",
"closing_liability",
"liability_bridge_gap",
"component_bridge_gap",
"spread_rate_bridge_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
}
}
}
}
},
"additionalProperties": false
}Published input example
{
"cashflows_n": [
5,
5,
105
],
"period_start_irr_bp": 500,
"benchmark_open_bp": 200,
"benchmark_close_bp": 300,
"observed_close_fv_n": 90,
"amount_denominator": 1,
"report": {
"cashflow1": {
"n": "5",
"d": "1"
},
"cashflow2": {
"n": "5",
"d": "1"
},
"cashflow3": {
"n": "105",
"d": "1"
},
"period_start_irr": {
"n": "1",
"d": "20"
},
"opening_benchmark": {
"n": "1",
"d": "50"
},
"closing_benchmark": {
"n": "3",
"d": "100"
},
"initial_credit_spread": {
"n": "3",
"d": "100"
},
"updated_counterfactual_rate": {
"n": "3",
"d": "50"
},
"opening_fair_value": {
"n": "100",
"d": "1"
},
"first_cash_paid": {
"n": "5",
"d": "1"
},
"start_rate_accretion_component": {
"n": "5",
"d": "1"
},
"post_cash_unchanged_rate_value": {
"n": "100",
"d": "1"
},
"benchmark_only_closing_value": {
"n": "275750",
"d": "2809"
},
"observed_closing_fair_value": {
"n": "90",
"d": "1"
},
"benchmark_PL_expense": {
"n": "-5150",
"d": "2809"
},
"total_PL_expense": {
"n": "8895",
"d": "2809"
},
"own_credit_OCI_expense": {
"n": "-22940",
"d": "2809"
},
"total_comprehensive_expense": {
"n": "-5",
"d": "1"
},
"own_credit_OCI_gain_loss": {
"n": "22940",
"d": "2809"
},
"total_PL_gain_loss": {
"n": "-8895",
"d": "2809"
},
"closing_liability": {
"n": "90",
"d": "1"
},
"liability_bridge_gap": {
"n": "0",
"d": "1"
},
"component_bridge_gap": {
"n": "0",
"d": "1"
},
"spread_rate_bridge_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
accumulating sick leave liability
POSThttps://finops.halowerk.com/v1/accumulating-sick-leave-liabilityMeasures 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 w
- 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