Zum Inhalt
HALOWERK

Finopswerk

onerous contract net exit cost bridge

Reconstruct conditional ONEROUS-CONTRACT leastNETexitcost for THREE caller-established separateindivisible/noncombinedcontractunits. Fulfilcost=incremental+allocatedDIRECTcost;netfulfil=fulfilcost-remainingbenefits;unavoidableloss=max(0,min(netfulfil,FULLterminationcost)). BenefitsONLYreceivedonfulfilment,forfeitedonexit:NEVERsubtractthemfromterminationcost. Return18exactfractions:.

POST https://finops.halowerk.com/v1/onerous-contract-net-exit-cost-bridge

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
amount_denominatorintegerJa
contract_worldsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "amount_denominator": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "contract_worlds": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2,
      "uniqueItems": true,
      "items": {
        "type": "array",
        "minItems": 3,
        "maxItems": 3,
        "items": {
          "type": "object",
          "required": [
            "incremental_cost_n",
            "allocated_direct_cost_n",
            "remaining_benefits_n",
            "termination_cost_n"
          ],
          "additionalProperties": false,
          "properties": {
            "incremental_cost_n": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "allocated_direct_cost_n": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "remaining_benefits_n": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "termination_cost_n": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            }
          }
        }
      }
    },
    "report": {
      "type": "object",
      "minProperties": 18,
      "maxProperties": 18,
      "propertyNames": {
        "enum": [
          "fulfilment_cost_0",
          "net_fulfilment_cost_0",
          "unavoidable_loss_0",
          "least_cost_route_0",
          "fulfilment_cost_1",
          "net_fulfilment_cost_1",
          "unavoidable_loss_1",
          "least_cost_route_1",
          "fulfilment_cost_2",
          "net_fulfilment_cost_2",
          "unavoidable_loss_2",
          "least_cost_route_2",
          "total_unavoidable_loss",
          "net_fulfilment_sum",
          "netted_loss_diagnostic",
          "offset_understatement",
          "loss_sum_gap",
          "cost_component_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": [
    "amount_denominator",
    "contract_worlds",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "amount_denominator": 3,
  "contract_worlds": [
    [
      {
        "incremental_cost_n": 2,
        "allocated_direct_cost_n": 0,
        "remaining_benefits_n": 1,
        "termination_cost_n": 2
      },
      {
        "incremental_cost_n": 1,
        "allocated_direct_cost_n": 1,
        "remaining_benefits_n": 0,
        "termination_cost_n": 1
      },
      {
        "incremental_cost_n": 0,
        "allocated_direct_cost_n": 0,
        "remaining_benefits_n": 1,
        "termination_cost_n": 0
      }
    ]
  ],
  "report": {
    "fulfilment_cost_0": {
      "n": "2",
      "d": "3"
    },
    "net_fulfilment_cost_0": {
      "n": "1",
      "d": "3"
    },
    "unavoidable_loss_0": {
      "n": "1",
      "d": "3"
    },
    "least_cost_route_0": {
      "n": "1",
      "d": "1"
    },
    "fulfilment_cost_1": {
      "n": "2",
      "d": "3"
    },
    "net_fulfilment_cost_1": {
      "n": "2",
      "d": "3"
    },
    "unavoidable_loss_1": {
      "n": "1",
      "d": "3"
    },
    "least_cost_route_1": {
      "n": "2",
      "d": "1"
    },
    "fulfilment_cost_2": {
      "n": "0",
      "d": "1"
    },
    "net_fulfilment_cost_2": {
      "n": "-1",
      "d": "3"
    },
    "unavoidable_loss_2": {
      "n": "0",
      "d": "1"
    },
    "least_cost_route_2": {
      "n": "0",
      "d": "1"
    },
    "total_unavoidable_loss": {
      "n": "2",
      "d": "3"
    },
    "net_fulfilment_sum": {
      "n": "2",
      "d": "3"
    },
    "netted_loss_diagnostic": {
      "n": "1",
      "d": "3"
    },
    "offset_understatement": {
      "n": "1",
      "d": "3"
    },
    "loss_sum_gap": {
      "n": "0",
      "d": "1"
    },
    "cost_component_gap": {
      "n": "0",
      "d": "1"
    }
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →