Trade discounts received are not recorded separately (because the purchases is recorded net of the discount).
As regards discount for early payment are concerned, there is no ‘rule’ but are better recorded under the heading of administration expenses (as a negative expense).