{"ref":{"kind":"component","id":"corporate_working_capital","key":"sha256:4d0b5d196aea6abb68821bbe024d38d069cb588798109a2c742df5d1a0189a21"},"label":"Working capital","description":"Project working capital and its cash movement from explicit opening balances.","inputs":[{"label":"COGS","name":"cogs","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"DIO","name":"dio","valueType":{"axes":[],"dtype":"f64","unit":"days"}},{"label":"DPO","name":"dpo","valueType":{"axes":[],"dtype":"f64","unit":"days"}},{"label":"DSO","name":"dso","valueType":{"axes":[],"dtype":"f64","unit":"days"}},{"label":"Opening Inventory","name":"opening_inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Other","name":"opening_other","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Payables","name":"opening_payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Receivables","name":"opening_receivables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Other Rate","name":"other_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Revenue","name":"revenue","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Accounts Payable","name":"accounts_payable","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Accounts Receivable","name":"accounts_receivable","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Inventory","name":"inventory","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Net Working Capital","name":"net_working_capital","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Working capital cash movement","name":"nwc_change","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Other Working Capital","name":"other_working_capital","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"corporate_working_capital_cash","key":"sha256:f58700abad4cd5f93699405c90aac03696e12050cb796ac6fab644cc744b68b9","kind":"component"}],"libraries":["corporate_operating"],"notes":{"conventions":["Opening receivables, inventory, payables and other working capital are explicit balances.","Monthly revenue and COGS are annualized; turnover days use a 365-day year.","An increase in net working capital consumes cash. Acquisition has no operating cash movement."]},"calculation":{"nodes":[{"id":"input-cogs","label":"COGS","kind":"input"},{"id":"input-dio","label":"DIO","kind":"input"},{"id":"input-dpo","label":"DPO","kind":"input"},{"id":"input-dso","label":"DSO","kind":"input"},{"id":"input-opening_inventory","label":"Opening Inventory","kind":"input"},{"id":"input-opening_other","label":"Opening Other","kind":"input"},{"id":"input-opening_payables","label":"Opening Payables","kind":"input"},{"id":"input-opening_receivables","label":"Opening Receivables","kind":"input"},{"id":"input-other_rate","label":"Other Rate","kind":"input"},{"id":"input-revenue","label":"Revenue","kind":"input"},{"id":"step-value1","label":"((COGS × -1) × 12)","kind":"step","rule":"((COGS × -1) × 12)","sources":[{"node":"input-cogs"}]},{"id":"step-value0","label":"(Positions in series(Revenue) > 0)","kind":"step","rule":"(Positions in series(Revenue) > 0)","sources":[{"node":"input-revenue"}]},{"id":"step-value2","label":"(Revenue × 12)","kind":"step","rule":"(Revenue × 12)","sources":[{"node":"input-revenue"}]},{"id":"step-accounts_payable","label":"Accounts Payable","kind":"step","rule":"if (Positions in series(Revenue) > 0), then (((COGS × -1) × 12) × (DPO ÷ 365)), otherwise Opening Payables","sources":[{"node":"step-value0"},{"node":"step-value1"},{"node":"input-dpo"},{"node":"input-opening_payables"}]},{"id":"step-inventory","label":"Inventory","kind":"step","rule":"if (Positions in series(Revenue) > 0), then (((COGS × -1) × 12) × (DIO ÷ 365)), otherwise Opening Inventory","sources":[{"node":"step-value0"},{"node":"step-value1"},{"node":"input-dio"},{"node":"input-opening_inventory"}]},{"id":"step-accounts_receivable","label":"Accounts Receivable","kind":"step","rule":"if (Positions in series(Revenue) > 0), then ((Revenue × 12) × (DSO ÷ 365)), otherwise Opening Receivables","sources":[{"node":"step-value0"},{"node":"step-value2"},{"node":"input-dso"},{"node":"input-opening_receivables"}]},{"id":"step-other_working_capital","label":"Other Working Capital","kind":"step","rule":"if (Positions in series(Revenue) > 0), then ((Revenue × 12) × Other Rate), otherwise Opening Other","sources":[{"node":"step-value0"},{"node":"step-value2"},{"node":"input-other_rate"},{"node":"input-opening_other"}]},{"id":"output-accounts_payable","kind":"output","label":"Accounts Payable","rule":"Accounts Payable","sources":[{"node":"step-accounts_payable"}]},{"id":"output-inventory","kind":"output","label":"Inventory","rule":"Inventory","sources":[{"node":"step-inventory"}]},{"id":"output-accounts_receivable","kind":"output","label":"Accounts Receivable","rule":"Accounts Receivable","sources":[{"node":"step-accounts_receivable"}]},{"id":"step-net_working_capital","label":"Net Working Capital","kind":"step","rule":"(((Accounts Receivable + Inventory) + Other Working Capital) − Accounts Payable)","sources":[{"node":"step-accounts_receivable"},{"node":"step-inventory"},{"node":"step-other_working_capital"},{"node":"step-accounts_payable"}]},{"id":"output-other_working_capital","kind":"output","label":"Other Working Capital","rule":"Other Working Capital","sources":[{"node":"step-other_working_capital"}]},{"id":"step-movement","label":"Movement","kind":"step","rule":"Result of Working-capital cash bridge","sources":[{"node":"step-net_working_capital"},{"node":"input-opening_receivables"},{"node":"input-opening_inventory"},{"node":"input-opening_other"},{"node":"input-opening_payables"}],"calls":[{"component":"corporate_working_capital_cash","purpose":"Translate supplied stocks directly; no recurrence or scan horizon is required.","label":"Working-capital cash bridge","bindings":[{"name":"closing","label":"Closing","value":"Net Working Capital"},{"name":"opening","label":"Opening","value":"(((Opening Receivables + Opening Inventory) + Opening Other) − Opening Payables)"}]}]},{"id":"output-net_working_capital","kind":"output","label":"Net Working Capital","rule":"Net Working Capital","sources":[{"node":"step-net_working_capital"}]},{"id":"output-nwc_change","kind":"output","label":"Working capital cash movement","rule":"Movement · Cash","sources":[{"node":"step-movement","field":"cash","fieldLabel":"Cash","url":"/catalog/components/corporate_working_capital_cash/#output-cash"}]}],"topics":[{"label":"Working capital","results":["output-accounts_payable","output-accounts_receivable","output-inventory","output-net_working_capital","output-other_working_capital"]},{"label":"Working-capital cash bridge","results":["output-nwc_change"]}]},"usedBy":[{"kind":"recipe","id":"lbo","key":"sha256:6c9502c2e1a240aaed8179c2349c4bfb3748ca35116e53755e0146d818a0638f"}]}
