To apply for a freelance visa you will need to first apply for a freelancer license. later your residence permit or visa can be received.