Qualifying income is turnover
HMRC tests your self-employment and property income before any expenses - your turnover. For a subcontractor that is everything you invoiced, including the CIS your contractors took off: CIS is tax paid early, not a cost.