WIKIPIDIA:
Invested capital = operating net working capital + net property, plant & equipment + capitalized operating leases + other operating assets + operating intangibles − other operating liabilities − cumulative adjustment for amortization of R&D
Invested capital = total debt and leases + total equity and equity equivalents− non-operating cash and investments