{"ref":{"kind":"component","id":"corporate_tax_period","key":"sha256:ecd0f7387dd119fab7ba0442087481cccd5746db8ecc3447dc4880318554390b"},"label":"Corporate Tax Period","description":"Apply deductions and tax loss carryforwards to one period's pretax income.","inputs":[{"label":"Deductions","name":"deductions","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening tax loss carryforward","name":"opening_tlcf","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Pretax income","name":"pretax_income","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Tax rate","name":"tax_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}}],"outputs":[{"label":"Cash taxes","name":"cash_taxes","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Ending tax loss carryforward","name":"ending_tlcf","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Tax shield","name":"tax_shield","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Taxable income","name":"taxable_income","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Tax loss carryforward used","name":"tlcf_used","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"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-normalized_deductions","label":"Normalized deductions","kind":"step","rule":"Higher of Deductions and 0","sources":[{"node":"input-deductions"}]},{"id":"step-normalized_opening_tlcf","label":"Normalized opening tlcf","kind":"step","rule":"Higher of Opening tax loss carryforward and 0","sources":[{"node":"input-opening_tlcf"}]},{"id":"step-normalized_tax_rate","label":"Normalized tax rate","kind":"step","rule":"Lower of Higher of Tax rate and 0 and 1","sources":[{"node":"input-tax_rate"}]},{"id":"step-income_after_deductions","label":"Income after deductions","kind":"step","rule":"(Pretax income − Normalized deductions)","sources":[{"node":"input-pretax_income"},{"node":"step-normalized_deductions"}]},{"id":"step-income","label":"Income","kind":"step","rule":"Higher of Income after deductions and 0","sources":[{"node":"step-income_after_deductions"}]},{"id":"step-loss","label":"Loss","kind":"step","rule":"Higher of (Income after deductions × -1) and 0","sources":[{"node":"step-income_after_deductions"}]},{"id":"step-tlcf_used","label":"Tax loss carryforward used","kind":"step","rule":"Lower of Income and Normalized opening tlcf","sources":[{"node":"step-income"},{"node":"step-normalized_opening_tlcf"}]},{"id":"step-ending_tlcf","label":"Ending tax loss carryforward","kind":"step","rule":"((Normalized opening tlcf + Loss) − Tax loss carryforward used)","sources":[{"node":"step-normalized_opening_tlcf"},{"node":"step-loss"},{"node":"step-tlcf_used"}]},{"id":"step-taxable_income","label":"Taxable income","kind":"step","rule":"(Income − Tax loss carryforward used)","sources":[{"node":"step-income"},{"node":"step-tlcf_used"}]},{"id":"output-tlcf_used","kind":"output","label":"Tax loss carryforward used","rule":"Tax loss carryforward used","sources":[{"node":"step-tlcf_used"}]},{"id":"output-ending_tlcf","kind":"output","label":"Ending tax loss carryforward","rule":"Ending tax loss carryforward","sources":[{"node":"step-ending_tlcf"}]},{"id":"step-cash_taxes","label":"Cash taxes","kind":"step","rule":"((Taxable income × Normalized tax rate) × -1)","sources":[{"node":"step-taxable_income"},{"node":"step-normalized_tax_rate"}]},{"id":"output-taxable_income","kind":"output","label":"Taxable income","rule":"Taxable income","sources":[{"node":"step-taxable_income"}]},{"id":"output-cash_taxes","kind":"output","label":"Cash taxes","rule":"Cash taxes","sources":[{"node":"step-cash_taxes"}]},{"id":"output-tax_shield","kind":"output","label":"Tax shield","rule":"Higher of ((Higher of Pretax income and 0 × Normalized tax rate) + Cash taxes) and 0","sources":[{"node":"input-pretax_income"},{"node":"step-normalized_tax_rate"},{"node":"step-cash_taxes"}]}],"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"}]}
