{"ref":{"kind":"component","id":"corporate_working_capital_comparison","key":"sha256:9582e8c2a2e45b24377505981ff8505e98b5930a6b115ec6cc24037bf34a1c46"},"label":"Working-capital stocks and cash adjustments","description":"Compare reported working-capital stocks and cash adjustments without inventing purchases or payments.","inputs":[{"label":"Cash Inventory","name":"cash.inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Cash Payables","name":"cash.payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Closing Inventory","name":"closing.inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Closing Payables","name":"closing.payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Inventory","name":"opening.inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Payables","name":"opening.payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Identity Residual","name":"identity_residual","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory Change","name":"inventory_change","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory Unexplained","name":"inventory_unexplained","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payables Change","name":"payables_change","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payables Unexplained","name":"payables_unexplained","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Reported Cash Adjustment","name":"reported_cash_adjustment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Stock Implied Cash","name":"stock_implied_cash","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Unexplained Cash Difference","name":"unexplained_cash_difference","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["corporate_operating"],"notes":{"conventions":["Opening and closing inventories and payables are independent stocks for matching periods, currency and scope.","Cash inputs are signed indirect cash-flow working-capital adjustments, not gross purchases or supplier payments.","The stock-implied cash comparison assumes away noncash and scope differences only to measure them, not to assert equivalence.","Unexplained differences remain unattributed; they can include translation, valuation, classification or scope differences.","The identity residual can be zero while both stock/cash bridges remain incomplete. Do not use differences as plugs."]},"calculation":{"nodes":[{"id":"input-cash.inventory","label":"Cash Inventory","kind":"input"},{"id":"input-cash.payables","label":"Cash Payables","kind":"input"},{"id":"input-closing.inventory","label":"Closing Inventory","kind":"input"},{"id":"input-closing.payables","label":"Closing Payables","kind":"input"},{"id":"input-opening.inventory","label":"Opening Inventory","kind":"input"},{"id":"input-opening.payables","label":"Opening Payables","kind":"input"},{"id":"step-reported_cash_adjustment","label":"Reported Cash Adjustment","kind":"step","rule":"(Cash Inventory + Cash Payables)","sources":[{"node":"input-cash.inventory"},{"node":"input-cash.payables"}]},{"id":"step-inventory_change","label":"Inventory Change","kind":"step","rule":"(Closing Inventory − Opening Inventory)","sources":[{"node":"input-closing.inventory"},{"node":"input-opening.inventory"}]},{"id":"step-payables_change","label":"Payables Change","kind":"step","rule":"(Closing Payables − Opening Payables)","sources":[{"node":"input-closing.payables"},{"node":"input-opening.payables"}]},{"id":"output-reported_cash_adjustment","kind":"output","label":"Reported Cash Adjustment","rule":"Reported Cash Adjustment","sources":[{"node":"step-reported_cash_adjustment"}]},{"id":"step-inventory_unexplained","label":"Inventory Unexplained","kind":"step","rule":"(Inventory Change + Cash Inventory)","sources":[{"node":"step-inventory_change"},{"node":"input-cash.inventory"}]},{"id":"output-inventory_change","kind":"output","label":"Inventory Change","rule":"Inventory Change","sources":[{"node":"step-inventory_change"}]},{"id":"step-payables_unexplained","label":"Payables Unexplained","kind":"step","rule":"(Payables Change − Cash Payables)","sources":[{"node":"step-payables_change"},{"node":"input-cash.payables"}]},{"id":"step-stock_implied_cash","label":"Stock Implied Cash","kind":"step","rule":"((Inventory Change × -1) + Payables Change)","sources":[{"node":"step-inventory_change"},{"node":"step-payables_change"}]},{"id":"output-payables_change","kind":"output","label":"Payables Change","rule":"Payables Change","sources":[{"node":"step-payables_change"}]},{"id":"output-inventory_unexplained","kind":"output","label":"Inventory Unexplained","rule":"Inventory Unexplained","sources":[{"node":"step-inventory_unexplained"}]},{"id":"output-payables_unexplained","kind":"output","label":"Payables Unexplained","rule":"Payables Unexplained","sources":[{"node":"step-payables_unexplained"}]},{"id":"step-unexplained_cash_difference","label":"Unexplained Cash Difference","kind":"step","rule":"(Stock Implied Cash − Reported Cash Adjustment)","sources":[{"node":"step-stock_implied_cash"},{"node":"step-reported_cash_adjustment"}]},{"id":"output-stock_implied_cash","kind":"output","label":"Stock Implied Cash","rule":"Stock Implied Cash","sources":[{"node":"step-stock_implied_cash"}]},{"id":"output-identity_residual","kind":"output","label":"Identity Residual","rule":"((Unexplained Cash Difference − Payables Unexplained) + Inventory Unexplained)","sources":[{"node":"step-unexplained_cash_difference"},{"node":"step-payables_unexplained"},{"node":"step-inventory_unexplained"}]},{"id":"output-unexplained_cash_difference","kind":"output","label":"Unexplained Cash Difference","rule":"Unexplained Cash Difference","sources":[{"node":"step-unexplained_cash_difference"}]}],"topics":[{"label":"Working-capital stocks and cash adjustments","results":["output-identity_residual","output-inventory_change","output-inventory_unexplained","output-payables_change","output-payables_unexplained","output-reported_cash_adjustment","output-stock_implied_cash","output-unexplained_cash_difference"]}]},"usedBy":[]}
