Skip to main content

Deduct your bootcamp as an autónomo in Spain

If you are self-employed and taxed under estimación directa, training connected to your activity is a 100% deductible business expense with no cap. Between 19% and 47% of the fee comes back through your IRPF, depending on your marginal rate, and our German invoice is perfectly valid. What Hacienda does expect is proof that the course serves the work you actually invoice for.


How the deduction actually works

Start with the part most pages bury: Spain's public training money is closed to us. SEPE, Fundae and the regional employment services only pay providers inscribed in the Registro Estatal de Entidades de Formación, and Code Labs Academy is a German school that is not on that register. What is wide open, if you are an autónomo, is the tax route, and it is worth real money. Training that relates to your economic activity is an ordinary deductible business expense in IRPF. There is no cap and no percentage limit: the whole invoice comes off the profit your activity is taxed on. A EUR 10,000 bootcamp therefore reduces your taxable profit by EUR 10,000, and what you keep is that figure multiplied by your marginal rate, roughly 19% to 47% depending on where your income sits, so somewhere between about EUR 1,900 and EUR 4,700. That is the entire mechanism, and the 2026 guidance has not changed it. Two limits belong at the top rather than in a footnote. First, this only works under estimación directa, normal or simplificada. If you are taxed under módulos (estimación objetiva), your profit is calculated from fixed indicators instead of from what you really spend, so a course does not reduce it by a single euro and there is nothing to claim. That covers a large share of small operators in Spain, and if it describes you, the rest of this page will not help. Second, it only works for the self-employed. An employee who pays for a course out of already taxed salary generally cannot deduct it in the Renta, which is precisely why the employer route matters so much here: see training paid for by your employer. Nothing about the provider matters. Hacienda looks at your invoice and at your activity, not at where the school is registered or whether it holds any Spanish accreditation, so a German online course is deductible on the same terms as one bought in Madrid. There is also no application, no form and no authority to convince in advance: you book the expense and you file. The discretion arrives afterwards. Hacienda can review the deduction, and if it does, the burden of proving that the training serves your activity is yours. That is why this page spends as much time on evidence as on arithmetic. One last thing to get right before your gestor has to unpick it: there is normally no Spanish VAT on our invoice and therefore no input VAT to recover.

Frequently asked questions

How much do I actually get back, and when?

Nobody sends you a cheque. The deduction reduces the profit your activity is taxed on, so your saving is the fee multiplied by your marginal IRPF rate, roughly 19% to 47%. On a EUR 10,000 bootcamp that is around EUR 1,900 for someone at the bottom of the scale and around EUR 4,700 for someone at the top. On timing: if you file modelo 130, the expense lowers the base of that quarter's payment as soon as you book it, and the rest is settled when you file the Renta the following spring, which is also when it either reduces what you owe or increases your refund. If your activity made a loss for the year there is no profit to reduce, so the immediate saving is nothing and what happens to the expense afterwards depends on your circumstances. Ask your gestor to run your own numbers before you decide anything on the basis of a range.

Can I recover the VAT on the course?

Normally there is no VAT to recover, and this is worth reading twice because getting it wrong means filing incorrectly. Code Labs Academy is a German provider and does not charge Spanish VAT to a Spanish autónomo. The service is either treated as exempt education, in which case no VAT exists on the invoice at all, or it falls under reverse charge (inversión del sujeto pasivo), in which case you self-assess the VAT yourself in your modelo 303 instead of paying it to us. Reverse charge presupposes that you are registered in the ROI, the register of intra-community operators, with a valid NIF-IVA, and it brings the recapitulative modelo 349 with it. So the practical instruction is: check with your gestor whether you are in the ROI before we issue the invoice, and do not plan on reclaiming input VAT that was never charged. The IRPF deduction, which is the part actually worth money here, is completely unaffected either way.

Does a German school teaching online really count?

Yes. This is a tax rule about your expense, not a subsidy with a list of approved providers, so it asks nothing about the school. Hacienda looks at whether the invoice is real, properly issued and paid, and whether the training serves the activity you are registered for. Nationality, teaching format and accreditation do not appear in that test, and a live online course from a German provider is deductible on exactly the same terms as a course bought around the corner. Where the school does matter is the public routes, and we would rather be blunt about it: our courses cannot be bonificadas through Fundae and cannot be paid for by SEPE or a regional employment service, because those require inscription in the Registro Estatal de Entidades de Formación, which we do not hold. Those are different mechanisms with different rules, not different ways of doing the same thing.

What if Hacienda disallows the deduction?

It happens with business expenses, so it is worth knowing the shape of it. Typically you receive a request for documentation or a proposed assessment, you answer it with your file (invoice, proof of payment, entry in your books and whatever shows the link to your activity), and the matter either ends there or produces a decision against you. If it goes against you, you repay the tax that was deducted in error plus late-payment interest, and a penalty is possible depending on how the case is characterised. There is a formal appeal route, and your gestor handles that conversation routinely. Two things make the whole scenario much less likely: a course that plainly serves the work you invoice for, and a file assembled at the time rather than reconstructed under pressure. If your own case looks marginal to you, it will look marginal to a reviewer too, and that is a conversation to have with your gestor before you deduct rather than after.

I am changing career completely and do not invoice for anything related. Can I still deduct it?

This is the honest weak spot of the whole route, so we will not soften it. The deduction depends on a link between the expense and your economic activity, and the further the course sits from what you actually invoice for, the harder that link is to defend. Upskilling adjacent to your current work is comfortable ground. A clean pivot from an unrelated trade into tech, with nothing in your invoicing to connect them, is a genuine audit risk and a reviewer can reasonably refuse it. If a pivot is what you want, there are better moves than deducting and hoping: talk to your gestor about registering the new activity under the right IAE heading and starting to invoice for it, keep any evidence that clients were already asking for the service, and decide together whether the expense belongs on this year's return. And if the answer is that it does not, the course is still within reach through our own interest-free monthly payments, up to 60 instalments, paid directly to Code Labs Academy, plus the discount for paying the full fee up front.

I am on módulos, or I am an employee. Is there anything for me?

Not on this page, and we would rather say so in one line than let you read five hundred more. Under módulos your profit comes from fixed indicators, so real expenses do not reduce it and there is nothing to deduct. As an employee you generally cannot deduct self-paid training in the Renta at all. In both cases the routes that do work are elsewhere: if you have an employer, job-related training the company buys is tax free for you and deductible for them, which is the single strongest option in Spain and is set out in formación pagada por la empresa. Failing that, we finance the course directly: interest-free monthly payments, up to 60 instalments, paid to Code Labs Academy, a discount if you pay the full fee up front, and the discounts already listed on the site. Book a call and we will tell you plainly which of these applies to your situation, including when the answer is none of them.

Career services

Personalized career support to help you launch your tech career. Get résumé reviews, mock interviews, and industry insights, so you can showcase your new skills with confidence.

Get personalized advice

Looking for personalized guidance on financing options or need advice tailored to your unique situation? Book a one-on-one consultation with our seasoned education specialists. Whether you're exploring scholarships, government funding, loans, or seeking employer sponsorship, our experts are here to help. Get tailored advice that aligns with your goals and circumstances. Schedule a call today and take the first step toward securing your future in coding. Our specialists are dedicated to assisting you in making informed decisions and paving the way for your success.

Call with Advisor at Code Labs Academy