Skip to content
HALOWERK

Finopswerk

onerous contract impairment provision ordering

Computes an IAS 37.69 impairment-first onerous-contract snapshot for one PPE asset used in fulfilling one contract. From caller-measured book B and recoverable amount R: imp = max(B-R, 0), asset after A = B - imp. Fulfil cost = incremental + other direct + adjusted depreciation allocation; new provision = max(0, min(net fulfil, full termination cost)). Current P&L expense = asset impairment + provision. Returns 24 exact fractions.

POST https://finops.halowerk.com/v1/onerous-contract-impairment-provision-ordering

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
profile_confirmedboolean, nullYes
asset_book_ninteger, nullYes
recoverable_ninteger, nullYes
incremental_cost_ninteger, nullYes
other_direct_cost_ninteger, nullYes
remaining_benefits_ninteger, nullYes
termination_cost_ninteger, nullYes
amount_denominatorinteger, nullYes
remaining_life_periodsinteger, nullYes
contract_service_periodsinteger, nullYes
reportobjectYes
Show full input schema
{
  "type": "object",
  "required": [
    "profile_confirmed",
    "asset_book_n",
    "recoverable_n",
    "incremental_cost_n",
    "other_direct_cost_n",
    "remaining_benefits_n",
    "termination_cost_n",
    "amount_denominator",
    "remaining_life_periods",
    "contract_service_periods",
    "report"
  ],
  "properties": {
    "profile_confirmed": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "asset_book_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 1000000
    },
    "recoverable_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000000
    },
    "incremental_cost_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000000
    },
    "other_direct_cost_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000000
    },
    "remaining_benefits_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000000
    },
    "termination_cost_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000000
    },
    "amount_denominator": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 1000
    },
    "remaining_life_periods": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 6
    },
    "contract_service_periods": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 6
    },
    "report": {
      "type": "object",
      "minProperties": 24,
      "maxProperties": 24,
      "propertyNames": {
        "enum": [
          "original_asset_book",
          "recoverable_amount",
          "impairment_loss",
          "post_impairment_asset",
          "future_period_depreciation",
          "contract_depreciation_cost",
          "incremental_fulfilment_cost",
          "other_direct_fulfilment_cost",
          "total_fulfilment_cost",
          "remaining_contract_benefits",
          "net_fulfilment_cost",
          "full_termination_cost",
          "onerous_contract_provision",
          "least_cost_route",
          "current_impairment_expense",
          "current_provision_expense",
          "current_total_PL_expense",
          "asset_change",
          "liability_change",
          "equity_change",
          "closing_asset_minus_provision",
          "current_balance_gap",
          "provision_using_preimpairment_cost_DIAGNOSTIC",
          "avoided_provision_doublecount_DIAGNOSTIC"
        ]
      },
      "additionalProperties": {
        "oneOf": [
          {
            "type": "object",
            "required": [
              "n",
              "d"
            ],
            "additionalProperties": false,
            "properties": {
              "n": {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]{0,62})$",
                "maxLength": 64
              },
              "d": {
                "type": "string",
                "pattern": "^[1-9][0-9]{0,63}$",
                "maxLength": 64
              }
            }
          },
          {
            "type": "object",
            "required": [
              "n",
              "d"
            ],
            "additionalProperties": false,
            "properties": {
              "n": {
                "type": "null"
              },
              "d": {
                "type": "null"
              }
            }
          }
        ]
      }
    }
  },
  "additionalProperties": false
}

Open original schema

Published input example

{
  "profile_confirmed": true,
  "asset_book_n": 100,
  "recoverable_n": 60,
  "incremental_cost_n": 80,
  "other_direct_cost_n": 0,
  "remaining_benefits_n": 100,
  "termination_cost_n": 50,
  "remaining_life_periods": 3,
  "contract_service_periods": 2,
  "amount_denominator": 1,
  "report": {
    "original_asset_book": {
      "n": "100",
      "d": "1"
    },
    "recoverable_amount": {
      "n": "60",
      "d": "1"
    },
    "impairment_loss": {
      "n": "40",
      "d": "1"
    },
    "post_impairment_asset": {
      "n": "60",
      "d": "1"
    },
    "future_period_depreciation": {
      "n": "20",
      "d": "1"
    },
    "contract_depreciation_cost": {
      "n": "40",
      "d": "1"
    },
    "incremental_fulfilment_cost": {
      "n": "80",
      "d": "1"
    },
    "other_direct_fulfilment_cost": {
      "n": "0",
      "d": "1"
    },
    "total_fulfilment_cost": {
      "n": "120",
      "d": "1"
    },
    "remaining_contract_benefits": {
      "n": "100",
      "d": "1"
    },
    "net_fulfilment_cost": {
      "n": "20",
      "d": "1"
    },
    "full_termination_cost": {
      "n": "50",
      "d": "1"
    },
    "onerous_contract_provision": {
      "n": "20",
      "d": "1"
    },
    "least_cost_route": {
      "n": "1",
      "d": "1"
    },
    "current_impairment_expense": {
      "n": "40",
      "d": "1"
    },
    "current_provision_expense": {
      "n": "20",
      "d": "1"
    },
    "current_total_PL_expense": {
      "n": "60",
      "d": "1"
    },
    "asset_change": {
      "n": "-40",
      "d": "1"
    },
    "liability_change": {
      "n": "20",
      "d": "1"
    },
    "equity_change": {
      "n": "-60",
      "d": "1"
    },
    "closing_asset_minus_provision": {
      "n": "40",
      "d": "1"
    },
    "current_balance_gap": {
      "n": "0",
      "d": "1"
    },
    "provision_using_preimpairment_cost_DIAGNOSTIC": {
      "n": "140",
      "d": "3"
    },
    "avoided_provision_doublecount_DIAGNOSTIC": {
      "n": "80",
      "d": "3"
    }
  }
}

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

All endpoints in this hub โ†’