Zum Inhalt
HALOWERK

Finopswerk

joint product byproduct cost bridge

Reconstruct initial joint-product cost assignment with an immaterialbyproduct NRVcredit. Deduct suppliedbyproductNRV from commonprocesscost; each mainproduct weight=quantity*splitoffunitSalesValue/sumallSplitoffSalesValues. Return perproduct salesvalue,weight,jointallocation,separablecost,totalcost,unitcost,zero-productgap; plus byproductcredit,netjointcost,allocatedsum,totalmaincost,totalincludingbyproduct andzerototalcostgap. Totalincludingbyproduct=maincosts+byproductNRV,NOT.

POST https://finops.halowerk.com/v1/joint-product-byproduct-cost-bridge

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
joint_process_costintegerJa
byproduct_nrv_domainarrayJa
productsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "joint_process_cost": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "byproduct_nrv_domain": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      },
      "minItems": 1,
      "maxItems": 2,
      "uniqueItems": true
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "splitoff_unit_sales_value": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          },
          "separable_cost": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        "required": [
          "quantity",
          "splitoff_unit_sales_value",
          "separable_cost"
        ],
        "additionalProperties": false
      },
      "minItems": 2,
      "maxItems": 4
    },
    "report": {
      "type": "object",
      "properties": {
        "products": {
          "type": "array",
          "items": {
            "type": "object",
            "minProperties": 7,
            "maxProperties": 7,
            "propertyNames": {
              "enum": [
                "splitoff_sales_value",
                "allocation_weight",
                "allocated_joint_cost",
                "separable_cost",
                "total_product_cost",
                "unit_cost",
                "product_cost_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
                }
              }
            }
          },
          "minItems": 2,
          "maxItems": 4
        }
      },
      "required": [
        "products",
        "byproduct_credit",
        "net_joint_cost",
        "allocated_joint_sum",
        "total_main_cost",
        "total_inventory_cost",
        "total_cost_gap"
      ],
      "propertyNames": {
        "enum": [
          "products",
          "byproduct_credit",
          "net_joint_cost",
          "allocated_joint_sum",
          "total_main_cost",
          "total_inventory_cost",
          "total_cost_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": [
    "joint_process_cost",
    "byproduct_nrv_domain",
    "products",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "joint_process_cost": 1,
  "byproduct_nrv_domain": [
    0
  ],
  "products": [
    {
      "quantity": 1,
      "splitoff_unit_sales_value": 1,
      "separable_cost": 0
    },
    {
      "quantity": 2,
      "splitoff_unit_sales_value": 1,
      "separable_cost": 0
    }
  ],
  "report": {
    "products": [
      {
        "splitoff_sales_value": {
          "n": "1",
          "d": "1"
        },
        "allocation_weight": {
          "n": "1",
          "d": "3"
        },
        "allocated_joint_cost": {
          "n": "1",
          "d": "3"
        },
        "separable_cost": {
          "n": "0",
          "d": "1"
        },
        "total_product_cost": {
          "n": "1",
          "d": "3"
        },
        "unit_cost": {
          "n": "1",
          "d": "3"
        },
        "product_cost_gap": {
          "n": "0",
          "d": "1"
        }
      },
      {
        "splitoff_sales_value": {
          "n": "2",
          "d": "1"
        },
        "allocation_weight": {
          "n": "2",
          "d": "3"
        },
        "allocated_joint_cost": {
          "n": "2",
          "d": "3"
        },
        "separable_cost": {
          "n": "0",
          "d": "1"
        },
        "total_product_cost": {
          "n": "2",
          "d": "3"
        },
        "unit_cost": {
          "n": "1",
          "d": "3"
        },
        "product_cost_gap": {
          "n": "0",
          "d": "1"
        }
      }
    ],
    "byproduct_credit": {
      "n": "0",
      "d": "1"
    },
    "net_joint_cost": {
      "n": "1",
      "d": "1"
    },
    "allocated_joint_sum": {
      "n": "1",
      "d": "1"
    },
    "total_main_cost": {
      "n": "1",
      "d": "1"
    },
    "total_inventory_cost": {
      "n": "1",
      "d": "1"
    },
    "total_cost_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 →