{"ref":{"kind":"component","id":"corporate_debt_balance","key":"sha256:6b25940098eb51c8eec2f455090d46c953e03d77552058d3596fa883abfe0ec4"},"label":"Debt roll-forward","description":"Roll supplied debt movements while distinguishing cash financing from noncash principal accrual.","inputs":[{"label":"Issued","name":"issued","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening","name":"opening","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"PIK interest","name":"pik","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Repaid","name":"repaid","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Beginning","name":"beginning","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Cash Flow","name":"cash_flow","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Change","name":"change","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Closing","name":"closing","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Overpayment","name":"overpayment","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"corporate_debt_period","key":"sha256:03d8708fcc2ef3d4e399610ca1f40afff1c5697bf59180c1abdd499d9a4919d2","kind":"component"}],"libraries":["corporate_debt"],"notes":{"conventions":["Issuance, principal repayments and PIK are positive supplied amounts in one currency and scale.","PIK increases principal without a cash inflow. Cash interest is excluded from principal.","No rate, tranche priority, maturity, sweep or automatic funding policy is inferred.","An overpayment retains negative closing debt and reports the excess; it is not silently capped."]},"calculation":{"nodes":[{"id":"input-issued","label":"Issued","kind":"input"},{"id":"input-opening","label":"Opening","kind":"input"},{"id":"input-pik","label":"PIK interest","kind":"input"},{"id":"input-repaid","label":"Repaid","kind":"input"},{"id":"step-periods","label":"Periods","kind":"step","rule":"Run Single-period debt roll-forward for each month. Carry the closing state into the next period.","sources":[{"node":"input-issued"},{"node":"input-pik"},{"node":"input-repaid"},{"node":"input-opening"}],"calls":[{"component":"corporate_debt_period","label":"Single-period debt roll-forward","purpose":"Roll debt for one supplied period without treating noncash book movements as financing proceeds.","bindings":[{"name":"issued","label":"Issued","value":"Issued"},{"name":"noncash_changes","label":"Noncash Changes","value":"PIK interest"},{"name":"repaid","label":"Repaid","value":"Repaid"}],"carry":[{"input":"opening","output":"closing","label":"Opening","initial":"Opening"}]}]},{"id":"output-beginning","kind":"output","label":"Beginning","rule":"Periods · Beginning","sources":[{"node":"step-periods","field":"beginning","fieldLabel":"Beginning","url":"/catalog/components/corporate_debt_period/#output-beginning"}]},{"id":"output-cash_flow","kind":"output","label":"Cash Flow","rule":"Periods · Cash Flow","sources":[{"node":"step-periods","field":"cash_flow","fieldLabel":"Cash Flow","url":"/catalog/components/corporate_debt_period/#output-cash_flow"}]},{"id":"output-change","kind":"output","label":"Change","rule":"Periods · Change","sources":[{"node":"step-periods","field":"change","fieldLabel":"Change","url":"/catalog/components/corporate_debt_period/#output-change"}]},{"id":"output-closing","kind":"output","label":"Closing","rule":"Periods · Closing","sources":[{"node":"step-periods","field":"closing","fieldLabel":"Closing","url":"/catalog/components/corporate_debt_period/#output-closing"}]},{"id":"output-overpayment","kind":"output","label":"Overpayment","rule":"Periods · Negative Balance","sources":[{"node":"step-periods","field":"negative_balance","fieldLabel":"Negative Balance","url":"/catalog/components/corporate_debt_period/#output-negative_balance"}]}],"topics":[{"label":"Single-period debt roll-forward","results":["output-beginning","output-cash_flow","output-change","output-closing","output-overpayment"]}]},"usedBy":[{"kind":"recipe","id":"statements","key":"sha256:545dc9e8ca86f9f8e8cc5296d11f0cb547e596f1b01cf32038353237d2870d0e"}]}
