Finopswerk
dollar value lifo layer ledger
Reconstruct ONE supplied dollar-value LIFO pool over TWO ordered year ends from its original BASE-DATE opening inventory, eligible ending inventory CURRENT costs and caller-supported CUMULATIVE base-year price indices. Index_bp/10000 is a dimensionless cumulative ratio, NOT annual inflation percent; base index1. Return24 exact fractions,12 per year: deflated base_inventory, net base_increment/base_liquidation, all THREE original layer base balances (base,year1,year2), all THREE historically.
POST https://finops.halowerk.com/v1/dollar-value-lifo-layer-ledgerInputs
| Field | Type | Required | Description |
|---|---|---|---|
| opening_base_n | integer | Yes | |
| current_cost_n | array | Yes | |
| index_bp | array | Yes | |
| amount_denominator | integer | Yes | |
| report | object | Yes |
Show full input schema
{
"type": "object",
"required": [
"opening_base_n",
"current_cost_n",
"index_bp",
"amount_denominator",
"report"
],
"properties": {
"opening_base_n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"current_cost_n": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"minItems": 2,
"maxItems": 2
},
"index_bp": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 30000
},
"minItems": 2,
"maxItems": 2
},
"amount_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"report": {
"type": "object",
"minProperties": 24,
"maxProperties": 24,
"propertyNames": {
"enum": [
"y1_base_inventory",
"y1_base_increment",
"y1_base_liquidation",
"y1_base_layer0",
"y1_base_layer1",
"y1_base_layer2",
"y1_lifo_layer0",
"y1_lifo_layer1",
"y1_lifo_layer2",
"y1_closing_lifo",
"y1_current_cost_reserve",
"y1_base_bridge_gap",
"y2_base_inventory",
"y2_base_increment",
"y2_base_liquidation",
"y2_base_layer0",
"y2_base_layer1",
"y2_base_layer2",
"y2_lifo_layer0",
"y2_lifo_layer1",
"y2_lifo_layer2",
"y2_closing_lifo",
"y2_current_cost_reserve",
"y2_base_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
{
"opening_base_n": 100,
"current_cost_n": [
180,
180
],
"index_bp": [
12000,
15000
],
"amount_denominator": 1,
"report": {
"y1_base_inventory": {
"n": "150",
"d": "1"
},
"y1_base_increment": {
"n": "50",
"d": "1"
},
"y1_base_liquidation": {
"n": "0",
"d": "1"
},
"y1_base_layer0": {
"n": "100",
"d": "1"
},
"y1_base_layer1": {
"n": "50",
"d": "1"
},
"y1_base_layer2": {
"n": "0",
"d": "1"
},
"y1_lifo_layer0": {
"n": "100",
"d": "1"
},
"y1_lifo_layer1": {
"n": "60",
"d": "1"
},
"y1_lifo_layer2": {
"n": "0",
"d": "1"
},
"y1_closing_lifo": {
"n": "160",
"d": "1"
},
"y1_current_cost_reserve": {
"n": "20",
"d": "1"
},
"y1_base_bridge_gap": {
"n": "0",
"d": "1"
},
"y2_base_inventory": {
"n": "120",
"d": "1"
},
"y2_base_increment": {
"n": "0",
"d": "1"
},
"y2_base_liquidation": {
"n": "30",
"d": "1"
},
"y2_base_layer0": {
"n": "100",
"d": "1"
},
"y2_base_layer1": {
"n": "20",
"d": "1"
},
"y2_base_layer2": {
"n": "0",
"d": "1"
},
"y2_lifo_layer0": {
"n": "100",
"d": "1"
},
"y2_lifo_layer1": {
"n": "24",
"d": "1"
},
"y2_lifo_layer2": {
"n": "0",
"d": "1"
},
"y2_closing_lifo": {
"n": "124",
"d": "1"
},
"y2_current_cost_reserve": {
"n": "56",
"d": "1"
},
"y2_base_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