{"service":"HALOWERK finopswerk","endpoint":"/v1/joint-product-byproduct-cost-bridge","method":"POST","content_type":"application/json","inputSchema":{"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},"requestExample":{"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"}}},"operations":[{"method":"POST","inputSchema":{"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},"requestExample":{"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"}}}}]}