Finopswerk
debt modification ten percent ledger
Reconstructs a borrower debt-modification quantitative ten-percent test from complete original and new remaining fixed outflow schedules, the original periodic effective rate, lender fees paid/received and third-party costs. Returns both cash-flow PVs, lender net fee, new test PV, signed PV change and ratio, the margin to 1/10 and an inclusive >= 10% indicator (0 or 1). Third-party fees never enter the test; the indicator covers only the quantitative limb.
POST https://finops.halowerk.com/v1/debt-modification-ten-percent-ledgerInputs
| Field | Type | Required | Description |
|---|---|---|---|
| old_cashflows | array | Yes | |
| new_cashflows | array | Yes | |
| original_eir_domain_bps | array | Yes | |
| lender_fees_paid | integer | Yes | |
| lender_fees_received | integer | Yes | |
| thirdparty_costs | integer | Yes | |
| report | object | Yes |
Show full input schema
{
"type": "object",
"properties": {
"old_cashflows": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"minItems": 1,
"maxItems": 3
},
"new_cashflows": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"minItems": 1,
"maxItems": 3
},
"original_eir_domain_bps": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"minItems": 1,
"maxItems": 2,
"uniqueItems": true
},
"lender_fees_paid": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"lender_fees_received": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"thirdparty_costs": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"report": {
"type": "object",
"minProperties": 12,
"maxProperties": 12,
"propertyNames": {
"enum": [
"old_pv",
"new_pv",
"lender_net_fees",
"test_new_pv",
"signed_pv_change",
"signed_change_ratio",
"absolute_change_ratio",
"threshold_margin",
"at_least_ten_percent",
"excluded_thirdparty_costs",
"total_net_cash_fees",
"fee_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": [
"old_cashflows",
"new_cashflows",
"original_eir_domain_bps",
"lender_fees_paid",
"lender_fees_received",
"thirdparty_costs",
"report"
],
"additionalProperties": false
}Published input example
{
"old_cashflows": [
1100
],
"new_cashflows": [
1210
],
"original_eir_domain_bps": [
1000
],
"lender_fees_paid": 0,
"lender_fees_received": 0,
"thirdparty_costs": 0,
"report": {
"old_pv": {
"n": "1000",
"d": "1"
},
"new_pv": {
"n": "1100",
"d": "1"
},
"lender_net_fees": {
"n": "0",
"d": "1"
},
"test_new_pv": {
"n": "1100",
"d": "1"
},
"signed_pv_change": {
"n": "100",
"d": "1"
},
"signed_change_ratio": {
"n": "1",
"d": "10"
},
"absolute_change_ratio": {
"n": "1",
"d": "10"
},
"threshold_margin": {
"n": "0",
"d": "1"
},
"at_least_ten_percent": {
"n": "1",
"d": "1"
},
"excluded_thirdparty_costs": {
"n": "0",
"d": "1"
},
"total_net_cash_fees": {
"n": "0",
"d": "1"
},
"fee_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