What are "qualifying earnings" for the purposes of pensions auto-enrolment?

Qualifying earnings are gross earnings of more than £5,876 and not more than £45,000 for the 2017/18 tax year. For these purposes, earnings include: salary; wages; commission; bonuses; overtime; statutory sick pay; and statutory maternity, paternity and adoption pay.