If you are a European or a Swiss national exercising your rights as a ‘qualified person’, you can request a Registration Certificate to confirm your right of residence in the UK.
Whilst the above is not a mandatory requirement for anyone currently in the UK exercising treaty rights, it is certainly a useful document as proof of your residence in the UK.