If the freelancer works as an individual, it is better to make a contract with him.
In the contract, it should be written out that all taxes on freelance income arising in the Russian Federation should be paid and declared by the freelancer. You can also ask for an invoice from the freelancer, which includes a paragraph that the freelancer has to pay taxes from the income by himself. Or you can invoice the freelancer by yourself, as some online casinos do, making payments to their advertising partners around the world.