There is also by
Loan agreement and Interest paid to the owner of the company. You can obtain loans in your company (which usually in most European countries are prohibited) !
If we speak personal
income tax in
Spain, there is no difference for you, all income will be taxed. If you have a good tax lawyer then he will be able to develop a loan agreement that actually comply to all tax laws in your country and he will be able to fight your case for you if required. So you will be able to take loans up to 10 and 20 years into the future and pay off the debt at once at this time. Also you pay your own company Interest for the money you lend. There are many ways to do things.