Skip to content
HALOWERK

Finopswerk

distinct goods prospective modification ledger

Reconstruct ONE approved PROSPECTIVE revenue contract modification after a partial delivery of identical distinct goods. Caller establishes ALL remaining goods distinct from transferred goods and added consideration NOT meeting separate-contract SSP criterion. Pool OLD UNRECOGNIZED consideration plus fixed modification consideration; allocate equally over remaining old plus added identical units. Preserve historical revenue at old unit price; modification-date catchup is ZERO. Return22 exact.

POST https://finops.halowerk.com/v1/distinct-goods-prospective-modification-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
original_quantityintegerYes
previously_deliveredintegerYes
additional_quantityintegerYes
original_price_nintegerYes
modification_price_domain_narrayYes
delivery_quantitiesarrayYes
amount_denominatorintegerYes
reportobjectYes
Show full input schema
{
  "type": "object",
  "properties": {
    "original_quantity": {
      "type": "integer",
      "minimum": 2,
      "maximum": 1000
    },
    "previously_delivered": {
      "type": "integer",
      "minimum": 1,
      "maximum": 999
    },
    "additional_quantity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "original_price_n": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "modification_price_domain_n": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2,
      "uniqueItems": true,
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      }
    },
    "delivery_quantities": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2000
      }
    },
    "amount_denominator": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "report": {
      "type": "object",
      "minProperties": 22,
      "maxProperties": 22,
      "propertyNames": {
        "enum": [
          "original_unit_price",
          "revenue_before_modification",
          "old_unrecognized_consideration",
          "modification_consideration",
          "remaining_units_at_modification",
          "modified_remaining_consideration",
          "revised_unit_price",
          "prospective_unit_price_change",
          "modification_catchup",
          "total_consideration",
          "lifetime_revenue_including_schedule",
          "closing_unrecognized_consideration",
          "consideration_bridge_gap",
          "revenue_0",
          "revenue_1",
          "revenue_2",
          "cumulative_revenue_0",
          "cumulative_revenue_1",
          "cumulative_revenue_2",
          "remaining_consideration_0",
          "remaining_consideration_1",
          "remaining_consideration_2"
        ]
      },
      "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": [
    "original_quantity",
    "previously_delivered",
    "additional_quantity",
    "original_price_n",
    "modification_price_domain_n",
    "delivery_quantities",
    "amount_denominator",
    "report"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "original_quantity": 7,
  "previously_delivered": 2,
  "additional_quantity": 3,
  "original_price_n": 11,
  "modification_price_domain_n": [
    5
  ],
  "delivery_quantities": [
    1,
    2,
    4
  ],
  "amount_denominator": 3,
  "report": {
    "original_unit_price": {
      "n": "11",
      "d": "21"
    },
    "revenue_before_modification": {
      "n": "22",
      "d": "21"
    },
    "old_unrecognized_consideration": {
      "n": "55",
      "d": "21"
    },
    "modification_consideration": {
      "n": "5",
      "d": "3"
    },
    "remaining_units_at_modification": {
      "n": "8",
      "d": "1"
    },
    "modified_remaining_consideration": {
      "n": "30",
      "d": "7"
    },
    "revised_unit_price": {
      "n": "15",
      "d": "28"
    },
    "prospective_unit_price_change": {
      "n": "1",
      "d": "84"
    },
    "modification_catchup": {
      "n": "0",
      "d": "1"
    },
    "total_consideration": {
      "n": "16",
      "d": "3"
    },
    "lifetime_revenue_including_schedule": {
      "n": "403",
      "d": "84"
    },
    "closing_unrecognized_consideration": {
      "n": "15",
      "d": "28"
    },
    "consideration_bridge_gap": {
      "n": "0",
      "d": "1"
    },
    "revenue_0": {
      "n": "15",
      "d": "28"
    },
    "revenue_1": {
      "n": "15",
      "d": "14"
    },
    "revenue_2": {
      "n": "15",
      "d": "7"
    },
    "cumulative_revenue_0": {
      "n": "19",
      "d": "12"
    },
    "cumulative_revenue_1": {
      "n": "223",
      "d": "84"
    },
    "cumulative_revenue_2": {
      "n": "403",
      "d": "84"
    },
    "remaining_consideration_0": {
      "n": "15",
      "d": "4"
    },
    "remaining_consideration_1": {
      "n": "75",
      "d": "28"
    },
    "remaining_consideration_2": {
      "n": "15",
      "d": "28"
    }
  }
}

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 โ†’