Channelling the 1980s for off-balance sheet financing 101.
From an economic perspective there is zero difference between borrowing to buy an asset and entering into a non-cancellable long term (equivalent to its economic life) lease for the asset.
The first option causes an asset and a liability on the balance sheet, affecting debt ratios that appear in financing contracts and so on. The second does not appear on the balance sheet.
You pay every month, like it or not. You call it interest or you call it a lease payment. You need it off balance sheet for reasons, investment bankers will structure that to make it happen for a fee.
Technically, from an economic perspective, it's debt.