Hi there and welcome to the community.
I’m a little confused by the question, but here’s a stab at an answer:
1. Buying a business
This is not a tax deduction, but instead is the acquisition of an asset. The income from the business is assessable, and the costs of running the business would be a tax deduction.
2. Buying an investment
Same as #1 above. The purchase price paid is the cost of the asset. Rent would be the income, and interest and running costs would be the tax deduction.
3. On disposal
On disposal of the asset, the surplus of sale less cost is a capital gain. If the sale proceeds are less than the cost then there is a capital loss.
4. Annual Operating
In regards to operations, if there is more income (assessable income) than expenses (allowable deductions) then you will pay income tax at your marginal tax rate. If there is a loss (expenses > income) then that loss can be carried forward. You can only get a tax refund if you have paid tax in the first place.
Regards,
– Steve