(a) In this section -
'arrangements' includes any agreement, understanding, scheme, transaction or series of transactions (whether or not legally enforceable);
'relevant loss' means a loss in a trade or profession (including any amount in respect of allowances which, pursuant to section 392, is to be treated as a loss for the purposes of section 381) but does not include a loss which arises from -
(i) any amount in respect of qualifying expenditure which by virtue of section 482(2) is to be treated as a loss, or
(ii) any amount in respect of specified capital allowances, within the meaning of section 531AAE, which by virtue of section 392 is to be treated as a loss;
'relevant period for a year of assessment' means the basis period for the year of assessment, or where that basis period is shorter than 6 months -
(i) where the basis period is determined in accordance with section 67(1)(a), a period of 6 months ending on the last day of that basis period, or
(ii) in all other cases, a
…