Spain's e-invoicing mandate: what self-employed workers must know
Spain's e-invoicing mandate: what self-employed workers must know
Spain's new mandatory B2B e-invoicing requirement now has its legal foundation in place. If you are a freelancer, consultant, or self-employed professional issuing invoices to business clients in Spain, it applies to you. Royal Decree 238/2026, published in Spain's Official State Gazette (BOE) on 31 March 2026, lays out the rules. No turnover threshold, no flat-rate-scheme exemption, no grace period for being a sole trader. The rule exists; the question is when you actually have to comply.
This post gives a direct answer to every question circulating in expat groups and accounting forums: Does this apply to me if I freelance in Spain? Is there a €85,000 exemption? What if I am on the flat-rate (módulos) scheme? What format do I need? When, exactly, is the deadline?
TL;DR: Royal Decree 238/2026 requires all self-employed workers issuing B2B invoices in Spain to use structured electronic invoice format. No exemption by turnover, no carve-out for módulos. The only genuine exemption is for individual transactions that qualify for a simplified invoice (generally under €400). The compliance deadline for freelancers is 24 months from the date a ministerial order is published. That order was still pending as of this article's publication, with estimates pointing to Q2–Q3 2026, meaning the realistic obligation date for most self-employed workers is mid-2028 at the earliest. A free public AEAT solution will be available, so cost is not a blocker.
Yes, it applies to self-employed workers — all of them
The first question most freelancers ask is whether the mandate is limited to companies. It is not.
Article 3 of Royal Decree 238/2026 requires all traders and professionals who are already obliged to issue invoices under existing rules to do so in electronic format when the recipient is a business or professional based or domiciled in Spain. There is no turnover threshold and no exemption based on tax regime. The article contains no such carve-out.
The scope test has two parts: you must be a self-employed professional or trader established, with a permanent establishment, or resident in Spain; and the recipient of your invoice must be a business or professional also in Spain. If both conditions are met, the mandate applies regardless of how much you bill in a year or which tax scheme you are registered under.
For the large number of international contractors working in Spain on autónomo status (developers, designers, consultants, creative professionals), this is unambiguous: the mandate will apply to any invoice you send to a Spanish company.
The widely circulated claim that there is an €85,000 exemption has no basis in the published BOE text. There is no such figure anywhere in RD 238/2026.
The real exemptions (not the ones being shared on social media)
There is a genuine exemption, but it is narrower than the rumours suggest, and it is unlikely to cover most B2B invoices.
The only genuine exemption in Royal Decree 238/2026 applies to transactions that can be documented with a simplified invoice under Article 4 of RD 1619/2012: broadly, invoices under €400 including VAT. This is not an exemption for being self-employed or for low turnover; it is an exemption for the type of transaction, and simplified invoices have very limited use in B2B relationships.
For certain sectors (including retail sales, passenger transport, hospitality and restaurants, and hairdressing), Article 4.2 of RD 1619/2012 allows simplified invoicing for transactions up to €3,000 including VAT. Where the recipient is a final consumer, no electronic invoice is required. However, if the recipient is a business or professional, this threshold does not apply regardless of the amount.
In practice: if you invoice a business (a company, another professional, a law firm), a simplified invoice is generally not permitted. That means the €400 and €3,000 thresholds are largely irrelevant for typical B2B freelance work.
What about the módulos (flat-rate) scheme?
This is the most common source of confusion for Spanish freelancers specifically.
Módulos (formally known as estimación objetiva) is an income tax (IRPF) regime, not an invoicing regime. It determines how you calculate and pay your income tax by using standard rates rather than actual profits. It has nothing to do with the format in which you issue your invoices.
RD 238/2026 regulates the format of the invoice document: electronic structured format vs. a paper or PDF invoice. It does not concern itself with whether the issuer is on módulos, estimación directa, or estimación directa simplificada. Those are distinct legal frameworks operating on different dimensions.
A plumber, a restaurant owner, or a taxi driver who issues invoices to business clients, even if registered under módulos, is covered by the B2B e-invoicing obligation on exactly the same basis as any other professional. The módulos scheme does not provide any exemption from the electronic format requirement.
The actual timetable: when you need to comply
The headline "RD 238/2026 enters into force on 20 April 2026" is technically correct but operationally misleading. The regulation becoming law is not the same as the obligation to issue e-invoices starting.
Royal Decree 238/2026 was published in Spain's Official Gazette (BOE) on 31 March 2026 and entered into force on 20 April 2026, twenty days after publication. Entry into force is not the same as the obligation to issue e-invoices: that obligation is deferred until the accompanying ministerial order from the AEAT is published.
Under the fourth final provision of Royal Decree 238/2026, self-employed workers and SMEs with annual turnover below €8 million have 24 months from the entry into force of the ministerial order developing the AEAT's public solution to comply. Larger businesses (>€8m) get 12 months. The clock does not start from today. It starts from the date that ministerial order is published.
Royal Decree 238/2026 is explicit: the 12- and 24-month compliance deadlines do not start from today. They start from the date the ministerial order developing the AEAT's public solution enters into force. As of the date of this article, that ministerial order has not yet been published (pending, estimated Q2–Q3 2026). The authoritative reference for its current status is the AEAT's IVA 2026 regulatory updates page.
Here is how the timeline maps out in practice:
| Date / event | Who it affects | What it means |
|---|---|---|
| 31 March 2026 | Everyone | RD 238/2026 published in the BOE |
| 20 April 2026 | Everyone | RD enters into force (text is law; obligation still deferred) |
| Ministerial order published (pending, est. Q2–Q3 2026) | Everyone | Compliance clocks start |
| Order + 12 months | Turnover > €8M | E-invoicing mandatory |
| Order + 24 months | SMEs, freelancers, everyone else | E-invoicing mandatory |
For most self-employed workers, the realistic earliest date to be obliged is mid-2028, assuming the ministerial order appears in mid-2026. There is time to prepare. That is not a reason to ignore it; it is a reason to plan without panic.
Which invoice format do you need to use?
The mandate is not just about sending invoices digitally. It requires structured electronic format, meaning a machine-readable file, not a PDF.
Article 7 of Royal Decree 238/2026 recognises four e-invoice syntaxes: CII, UBL, EDIFACT, and Facturae. Private platforms also accept Peppol BIS messages, which are valid because they use UBL and comply with the EN16931 standard. The AEAT's public solution will use UBL as its reference syntax. For low-volume self-employed workers, Facturae is the most accessible option: it has been part of the Spanish ecosystem since 2009 and most Spanish invoicing applications already support it.
What this means practically for a freelancer in Spain:
- If you use a mainstream Spanish invoicing tool (Holded, Contasimple, Billin, A3, or similar), check whether it supports Facturae export. Most do, or will by the time the obligation bites.
- If you currently invoice via PDF in Word or Excel, you will need a different tool before the deadline. The switchover is not technically complex, but it does require a deliberate decision.
- If you are on a non-Spanish invoicing stack (common among international contractors), check whether your tool supports UBL or any of the recognised syntaxes. If not, you have time to switch.
The free AEAT public solution: what it means for low-volume freelancers
Cost is a concern for many self-employed workers when they hear "new software requirement". RD 238/2026 directly addresses this.
Under the first additional provision of Royal Decree 238/2026, the AEAT is required to develop a free application or form that allows any business or professional to issue e-invoices without subscribing to a private platform. Use of the public solution is voluntary. Those already using a private platform may continue to do so, but must send a copy of every invoice to the AEAT's public system.
If you invoice 10 clients a month and are not ready to pay for a dedicated invoicing platform, the AEAT tool will cover your legal obligation. It is not the most efficient approach for a busy practice, but it removes the cost barrier entirely.
The AEAT maintains an official IVA 2026 regulatory updates page summarising the scope of Royal Decree 238/2026. It will also publish details of the ministerial order once available, making it the most accessible official reference for freelancers who want to track implementation progress without reading the full BOE text.
Three things you can do today at zero cost
There is no urgency to act immediately, but a few steps now will save friction later:
- Audit your B2B invoice split. Count what proportion of your invoices go to business clients (vs. final consumers). That determines whether and how broadly the mandate will apply to you. If 90% of your invoices go to businesses, this is a significant workflow change. If 90% go to final consumers, the practical impact is minimal.
- Check your current invoicing tool. Does it export Facturae, UBL, or CII format? Log in and look at the export options. If it does, you are largely ready when the time comes. If it does not, you have 18–24 months to choose a replacement. Plenty of time to evaluate without pressure.
- Talk to your gestoría (accountant/administrative adviser). If you use a gestoría to handle your tax filings, ask what their plan is for managing the transition for their client base. The receive-side workflow (how your accountant processes the e-invoices they receive from you) also needs to be updated, and that is a conversation worth having early.
What this means for UK and Irish accountants with Spanish clients
If you advise UK or Irish clients who are self-employed in Spain, or Spanish businesses with freelance contractors on autónomo status, RD 238/2026 belongs on your regulatory watch list.
The rule applies to any professional with economic activity based in Spain, regardless of nationality. A British developer working in Madrid on autónomo status invoicing a Spanish tech company is in scope on the same basis as any Spanish national.
Key practical notes for cross-border advisers:
- Tax registration in Spain is the trigger: if your client is registered as a self-employed professional with the Hacienda and the TGSS's Régimen Especial de Trabajadores Autónomo (RETA), the obligation applies.
- B2B is the scope: if your client's invoices go to final consumers only (a gym instructor invoicing individual members, for example), the obligation does not apply in B2B terms. Only B2B transactions require structured e-invoicing.
- The timeline is comfortable: with the ministerial order still pending, there is no immediate compliance action required. Noting this for clients' annual planning is sufficient for now.
According to figures published by Spain's Social Security administration (TGSS), there were over 3 million workers registered in the RETA self-employed scheme at the end of 2025, a number that illustrates the scale of the e-invoicing transition ahead for advisers and accountants supporting this segment.
For the companion guide on how RD 238/2026 works for all businesses (not just self-employed), see our piece on Spain's mandatory B2B e-invoicing: full guide to RD 238/2026. For the broader legislative background, the Create and Grow Act and what it means for your firm in 2026 explains how we got here.
What this means for gestorías managing freelance client portfolios
Accountants and administrative advisers managing portfolios of self-employed clients face a different version of this problem.
The challenge for a gestoría handling 200–400 autónomo clients is not technical. Every major Spanish accounting platform will support Facturae by the time the obligation is enforceable. The challenge is heterogeneity at scale: those 300 clients may use 15 different invoicing tools, or Excel, or nothing at all. Each one needs a different migration path.
The scope of the task: Ley 18/2022 (Crea y Crece) introduced the obligation; RD 238/2026 now defines exactly what compliance looks like. The practical burden of implementation falls largely on the advisers who sit between the self-employed worker and the legislation.
A client on Holded or Contasimple with Facturae export already enabled needs almost no intervention, perhaps a single conversation confirming they know how to activate it. A client invoicing from a Word template who sends PDFs by email needs a tool change, basic training, and a test run. A gestoría with 300 clients has, conservatively, 150 different starting points. Without a systematic way to audit and segment those profiles, the spring/summer before the deadline becomes a bottleneck of individual support calls.
This is exactly the workflow problem we are building for at Gradion. Rather than a gestoría reading through each client's file manually, we are developing an automated audit and recommendation flow: given a client's current invoicing tool, monthly volume, and proportion of B2B transactions, the system generates a recommended migration path and urgency level that the gestoría can review and send to the full client base at once. A 10-minute setup replaces 300 individual calls.
Frequently asked questions
Does the e-invoicing mandate apply to me if I earn below €85,000?
Yes. The €85,000 figure does not appear anywhere in Royal Decree 238/2026. There is no turnover threshold exempting self-employed workers from the requirement. The only genuine exemptions are for specific transaction types (invoices that qualify as simplified, generally under €400), not for the issuer's annual turnover.
I am on the módulos flat-rate scheme. Am I exempt?
No. Módulos (estimación objetiva) is an income tax scheme. It determines how you calculate your IRPF, not what format your invoices must be in. If you issue B2B invoices to business or professional clients, you are in scope for mandatory e-invoicing regardless of your tax scheme.
When exactly do I have to comply?
There is no fixed calendar date yet. The 24-month compliance period for self-employed workers and SMEs starts from the date that the AEAT's ministerial order enters into force. That order was still pending publication as of this article (estimated Q2–Q3 2026). Check the AEAT's IVA 2026 regulatory updates page for the current status.
Do I need to pay for software?
Not necessarily. The AEAT will provide a free public e-invoicing tool under the first additional provision of RD 238/2026. If your invoicing volume is low, the free AEAT solution may be sufficient. Private invoicing platforms offer more automation and integration, but they are not mandatory.
What format does my e-invoice need to be in?
Royal Decree 238/2026 recognises four formats: CII, UBL, EDIFACT, and Facturae. For most self-employed workers in Spain, Facturae is the most practical option. It is widely supported by Spanish invoicing tools and has been the standard for public-sector e-invoicing since 2009. The AEAT's free tool will use UBL.
Does this apply to invoices I send to clients outside Spain?
No. The obligation only applies when both the issuer and the recipient are based, registered, or resident in Spain for business purposes. Invoices to foreign clients (including other EU businesses) are not covered by RD 238/2026's B2B e-invoicing requirement.
I send invoices to a mix of businesses and final consumers. Do I need to separate them?
Yes, in practice. B2B invoices (recipient is a business or professional) will require structured electronic format. B2C invoices (recipient is a final consumer) do not. You should know what proportion of your invoices are B2B. That determines the scale of the change for your workflow.
How we are approaching this at Gradion
The self-employment e-invoicing transition is a manageable personal compliance task. For gestorías managing large portfolios of autónomo clients, it is an operational planning problem.
We are working with advisory firms that want to get ahead of the Q2–Q3 2028 deadline rather than absorb the support cost when it arrives. The starting point is an audit of the client base: which clients are already equipped (Facturae-capable tool, low-complexity B2B flow), which need a tool switch, and which need both a tool switch and a workflow change. Armed with that segmentation, a gestoría can communicate proactively, prioritise the high-effort cases early, and handle the straightforward ones at near-zero marginal cost.
If your firm manages a large portfolio of self-employed clients and you want to see what that audit and transition workflow looks like in practice, the conversation starts here.
Is your team losing hours every week to manual invoicing and paperwork?
We resolve it in 10 days, with a fixed-price pilot.
Tell us about your case →