Working as a freelancer
Working completely as a self-employed person allows you to deduct all the costs related to your activity such as actual travel costs, communication costs, rent... this approach sometimes has some disadvantages for the self-employed person compared to the employee such as pension and unemployment insurance.
However, as an employee, you have the right to carry out an ancillary activity alongside your main activity while deducting the charges related to your self-employed activity.