Yes, it is mandatory for all companies registered under the Companies Act, 2013, to have a CIN number.