{"ref":{"kind":"component","id":"corporate_tax_schedule","key":"sha256:c6daf2108646eabff8b5406b90ca1c4f5a9bbdb872a95e1553c39ab0cdb0f01f"},"label":"Corporate Tax Schedule","description":"Roll one bounded corporate tax schedule through its tax loss carryforward.","inputs":[{"label":"Deductions","name":"deductions","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening tax loss carryforward","name":"opening_tlcf","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Pretax income","name":"pretax_income","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Tax rate","name":"tax_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}}],"outputs":[{"label":"Cash taxes","name":"cash_taxes","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Ending tax loss carryforward","name":"ending_tlcf","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Tax shield","name":"tax_shield","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Taxable income","name":"taxable_income","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Tax loss carryforward used","name":"tlcf_used","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"corporate_tax_period","key":"sha256:ecd0f7387dd119fab7ba0442087481cccd5746db8ecc3447dc4880318554390b","kind":"component"}],"libraries":["corporate_tax"],"notes":{},"calculation":{"nodes":[{"id":"input-deductions","label":"Deductions","kind":"input"},{"id":"input-opening_tlcf","label":"Opening tax loss carryforward","kind":"input"},{"id":"input-pretax_income","label":"Pretax income","kind":"input"},{"id":"input-tax_rate","label":"Tax rate","kind":"input"},{"id":"step-periods","label":"Periods","kind":"step","rule":"Run Corporate Tax Period for each month. Carry the closing state into the next period.","sources":[{"node":"input-deductions"},{"node":"input-pretax_income"},{"node":"input-tax_rate"},{"node":"input-opening_tlcf"}],"calls":[{"component":"corporate_tax_period","label":"Corporate Tax Period","purpose":"Apply deductions and tax loss carryforwards to one period's pretax income.","bindings":[{"name":"deductions","label":"Deductions","value":"Deductions"},{"name":"pretax_income","label":"Pretax income","value":"Pretax income"},{"name":"tax_rate","label":"Tax rate","value":"Tax rate"}],"carry":[{"input":"opening_tlcf","output":"ending_tlcf","label":"Opening tax loss carryforward","initial":"Opening tax loss carryforward"}]}]},{"id":"output-cash_taxes","kind":"output","label":"Cash taxes","rule":"Periods · Cash taxes","sources":[{"node":"step-periods","field":"cash_taxes","fieldLabel":"Cash taxes","url":"/catalog/components/corporate_tax_period/#output-cash_taxes"}]},{"id":"output-ending_tlcf","kind":"output","label":"Ending tax loss carryforward","rule":"Periods · Ending tax loss carryforward","sources":[{"node":"step-periods","field":"ending_tlcf","fieldLabel":"Ending tax loss carryforward","url":"/catalog/components/corporate_tax_period/#output-ending_tlcf"}]},{"id":"output-tax_shield","kind":"output","label":"Tax shield","rule":"Periods · Tax shield","sources":[{"node":"step-periods","field":"tax_shield","fieldLabel":"Tax shield","url":"/catalog/components/corporate_tax_period/#output-tax_shield"}]},{"id":"output-taxable_income","kind":"output","label":"Taxable income","rule":"Periods · Taxable income","sources":[{"node":"step-periods","field":"taxable_income","fieldLabel":"Taxable income","url":"/catalog/components/corporate_tax_period/#output-taxable_income"}]},{"id":"output-tlcf_used","kind":"output","label":"Tax loss carryforward used","rule":"Periods · Tax loss carryforward used","sources":[{"node":"step-periods","field":"tlcf_used","fieldLabel":"Tax loss carryforward used","url":"/catalog/components/corporate_tax_period/#output-tlcf_used"}]}],"topics":[{"label":"Corporate Tax Period","results":["output-cash_taxes","output-ending_tlcf","output-tax_shield","output-taxable_income","output-tlcf_used"]}]},"usedBy":[{"kind":"recipe","id":"lbo","key":"sha256:6c9502c2e1a240aaed8179c2349c4bfb3748ca35116e53755e0146d818a0638f"},{"kind":"recipe","id":"statements","key":"sha256:545dc9e8ca86f9f8e8cc5296d11f0cb547e596f1b01cf32038353237d2870d0e"}]}
