🇪🇸 Spain E-Invoicing

E-Invoicing in Spain

Spain's live obligation is about the software that issues the invoice, not the format the invoice takes. Businesses that invoice with software must run a system that produces a tamper-evident record of every invoice by 6 October 2028, a date Real Decreto-ley 43/2026 set on 24 November 2026. Business-to-business e-invoicing is a separate law with dates from 6 October 2027. GoRoute delivers the structured invoice itself across the EU from one e-invoicing platform and one API. For shops on Shopify, our Verifactu app issues every invoice with its QR and sends the record to the Agencia Tributaria. Invoicing from a spreadsheet instead? The Verifactu add-on for Google Sheets does the same from a row, free on the Google Workspace Marketplace.

Spain E-Invoicing Status — 27 November 2026

Invoicing systems (Verifactu) — every business in scope By 6 Oct 2028
Software makers must offer compliant products Since 29 Jul 2025
QR code on every invoice With the system deadline
Businesses filing VAT records under SII Out of scope
B2B e-invoicing (Crea y Crece) 6 Oct 2027 / 6 Oct 2028
GoRoute Verifactu app for Shopify Live

Is e-invoicing mandatory in Spain?

Between businesses it will be, from 6 October 2027 or 6 October 2028. The invoicing-system rules come first in the law but now arrive with the second date: under the regulation approved by Real Decreto 1007/2023, a business that issues invoices with software must use a system that produces a tamper-evident record of every invoice, and every business in scope must have adapted its systems by 6 October 2028.

That date is recent. Real Decreto-ley 43/2026 of 24 November, published in the official gazette (BOE) on 25 November 2026, replaced the 1 January and 1 July 2027 dates, which Real Decreto-ley 15/2025 had itself set a year after the original 2026 dates. A plan written to January or July 2027 is working to dates that no longer exist. Spain sits alongside every other mandate in our e-invoicing mandates tracker.

The separate thing people usually mean by "e-invoicing in Spain" — businesses having to send each other structured electronic invoices — is Ley 18/2022, the Crea y Crece law. Royal Decree 238/2026 and the Ministry of Finance's Order HAC/1028/2026 gave it dates: twelve months after 6 October 2026 (6 October 2027 by calendar count) for businesses with more than EUR 8 million of turnover, and twenty-four months after (6 October 2028) for everyone else. The section on it below has the detail.

The postponement is now law. On 5 October 2026 the Ministry of Finance announced it would move the pending Verifactu obligations to October 2028, so that they coincide with the B2B calendar, and Real Decreto-ley 43/2026 did so. As a royal decree-law it is in force from 26 November 2026 and goes to the Congress of Deputies for validation. Read Verifactu postponed to 2028 for what changed and what did not.

Four guides go deeper: Spain's B2B e-invoicing mandate, Verifactu postponed to 2028, Verifactu for online shops and Verifactu, SII or TicketBAI. If you run a Shopify store, Verifactu: Facturas y tickets on the Shopify App Store is our Verifactu app.

What Spain asks of an invoicing system

Spain asks four separate things, and they are routinely collapsed into one word, "Verifactu". Two are about the software, one is about what appears on the document, and one is a law that starts in 2027 and 2028. Each carries its own date, and the sections after this table take them one at a time.

Obligation Applies to Date
Compliant products on the market Producers and sellers of invoicing software, who self-certify each version by a responsible declaration Since 29 July 2025
An adapted invoicing system Every taxpayer in scope that issues invoices with software — corporate income tax payers, personal income tax payers with business income, non-residents with a permanent establishment, and income-attribution entities By 6 October 2028 (Real Decreto-ley 43/2026)
QR code on the invoice Every invoice a business in scope issues, complete or simplified From the invoicing-system date above
Structured invoices between businesses All businesses and professionals, under Ley 18/2022 (Crea y Crece) Twelve months after 6 October 2026 above EUR 8 million of turnover (6 October 2027); twenty-four months after for everyone else (6 October 2028)

What is Verifactu, and what is the alternative?

Verifactu is one of two ways of complying, not the obligation itself. Every invoicing system in scope has to produce an invoicing record — a structured entry created at the moment the invoice is issued, carrying the invoice's mandatory data plus security fields, the identity of the system that made it, and the date and time it was made. Verifactu decides what happens to that record next.

Mode Where the records go What the system must add
Verifactu Sent to the Agencia Tributaria as they are produced A hash chain across records
Non-Verifactu Kept in the issuing system, and sent to the tax administration on request through a simplified automated procedure The same hash chain, plus an electronic signature on each record and a system event log kept to comparable security requirements

The hash chain is the mechanism behind the word "inalterable". Each record's hash is computed over parts of the record immediately before it, so records form a sequence in which removing or editing one breaks every hash after it. That is what the regulation means when it asks for integrity, traceability and inalterability with no interpolations or omissions left unrecorded.

Two things follow that surprise people, and both come from the tax agency's own wording. First, an invoicing record is not an electronic invoice. It does not carry everything the invoice carries, and the agency says in terms that these records are in no case electronic invoices. Second, and because of that, paper invoices are still allowed. A business can print an invoice and hand it over, and still owe a compliant record for it. Structured electronic invoicing is permitted too, and neither choice is altered by the record obligation.

Every system produced and sold, in either mode, has to be able to export its records and transmit them online. And for the smallest businesses — those issuing too few invoices to want a system at all — the Agencia Tributaria provides a form in its own electronic office that produces a printable invoice with a QR and keeps the record. That free application is Verifactu-mode, it needs the customer fully identified so it cannot be used for simplified invoices, and it does not handle invoices with multiple recipients.

Who is in scope, and who is not?

The scope is wide and the exclusions are specific. In scope are businesses and professionals — individuals or companies — established in Spain who issue invoices: corporate income tax payers, personal income tax payers with business income, non-resident income tax payers operating through a permanent establishment in Spain, and income-attribution entities carrying on an economic activity. It applies to complete and simplified invoices alike, whoever the customer is, and it applies even where only part of the business runs on the software.

The Agencia Tributaria expresses the exclusions as four conditions that must all hold before the rules bite — it calls this the rule of the four "no"s. A business is outside the rules if any one of them fails:

Transactions that do not have to be documented by an invoice at all are outside this as well, and so are those covered by a specific authorisation not to invoice. The regulation does not change what has to be invoiced — it changes how the software that does the invoicing must behave.

What must appear on the invoice itself?

A QR code. From the point the requirements take effect for a business, every invoice it issues — complete or simplified — carries one. The code holds some of the invoice's data and a web address at the Agencia Tributaria. Invoices issued by a Verifactu system also carry a legend marking them as verifiable.

What the QR is for depends on the mode. On a Verifactu invoice it lets the recipient check the invoice's contents against what the tax agency already holds. On a non-Verifactu invoice it is the route by which the recipient can report the invoice to the tax authorities, because the agency has not been sent the record. Same code, two jobs.

This is the only change the regulation makes to the invoice as a document. Everything else about Spanish invoicing content is unchanged and continues to be governed by the VAT law and the invoicing-obligations regulation. If the structured-document side is unfamiliar, what a UBL invoice is is the shorter read, and how the Peppol network works covers delivery.

When does each group have to be ready?

Every taxpayer in scope by 6 October 2028, corporate income tax payers and the rest alike; producers and sellers of invoicing software since 29 July 2025, which was nine months after the order setting the technical specifications took effect.

The taxpayer date has moved three times and it is worth being exact about the sequence, because published guidance is still catching up. The regulation was approved by Real Decreto 1007/2023 of 5 December. Orden HAC/1177/2024 of 17 October added the technical, functional and content specifications. Real Decreto 254/2025 of 1 April set the taxpayer deadlines at 1 January and 1 July 2026. Real Decreto-ley 15/2025 of 2 December replaced those with 1 January and 1 July 2027. Then Real Decreto-ley 43/2026 of 24 November, published in the BOE on 25 November 2026, replaced both with a single deadline: the end of the twenty-four-month period in final provision four, paragraph 1(b), of Royal Decree 238/2026, which counts from Order HAC/1028/2026 entering into force on 6 October 2026. That is 6 October 2028 by our calendar count, the same day the business-to-business mandate reaches every remaining business.

The period before the date is a testing period, in the agency's own framing: a business may send test records with a Verifactu-mode system and go on invoicing with a different system, up to the deadline for having its systems adapted.

The Ministry of Finance announced the move on 5 October 2026; the royal decree-law made it law seven weeks later. A royal decree-law is in force from publication and must be validated by the Congress of Deputies within thirty days. Verifactu postponed to 2028 sets out what changed and what did not.

One detail worth carrying into a procurement plan: multi-year maintenance contracts signed before the software makers' deadline still have to be brought into line by the taxpayer date above. An old contract does not buy extra time.

A note on the word "certified", because it means something unusual here. There is no external certification body and no register of approved products. The producer of the software certifies its own product, for each version, by a responsible declaration that has to be visible inside the product and available to the customer and the reseller at the point of purchase. A reseller that is not the producer has to satisfy itself that what it sells carries the producer's declaration. So "certified for Verifactu" on a vendor's website is that vendor's own statement, and it is worth reading the declaration rather than the marketing.

When is business-to-business e-invoicing mandatory?

Twelve months after 6 October 2026 for businesses with more than EUR 8 million of turnover, and twenty-four months after for everyone else. Article 12 of Ley 18/2022 — the Crea y Crece law — requires all businesses and professionals to issue, send and receive electronic invoices in their dealings with one another, and requires both parties to report invoice status. The law waited for an implementing decree and a ministerial order. Royal Decree 238/2026 was published in the official gazette (BOE) on 31 March 2026, and Order HAC/1028/2026, in force from 6 October 2026, started the clock.

The dates are 6 October 2027 for businesses and professionals whose turnover exceeded eight million euros in the previous calendar year, and 6 October 2028 for everyone else. The BOE states the twelve and twenty-four months and the day the Order enters into force; the two calendar dates are our count. Simplified invoices (tickets) are exempt. Buyers must report acceptance or rejection and full payment, and invoices travel through private exchange platforms, the Tax Agency's free public solution, or both. Spain's B2B e-invoicing mandate: the 2027 and 2028 dates sets out scope, formats and status reporting.

What the law already commits to is worth knowing before choosing a supplier, because it constrains the market that will exist when the date arrives. Platforms offered by e-invoicing service providers must interconnect and interoperate with each other free of charge, and so must businesses' own in-house platforms. A recipient may not force the issuer to use a particular solution, platform or provider. Recipients may ask for a copy of an electronic invoice for four years from issue without extra cost. And the systems that handle and store these invoices must meet the same invoicing-system requirements described above.

The practical reading for a business planning capital spend: the two obligations now arrive together. A business with more than EUR 8 million of turnover exchanges structured invoices from 6 October 2027; every other business adapts its invoicing system and starts exchanging structured invoices on the same day, 6 October 2028. Choosing one system that does both, on infrastructure that can already exchange structured invoices, makes that day a configuration rather than two projects. Spain's neighbours are further along and their calendars are firm — France, Portugal and Italy each run a different model, and the global view sets them side by side.

What must a supplier outside Spain do?

Read the scope test before assuming anything. The invoicing-system rules reach businesses and professionals established in Spain who issue invoices, including non-residents operating through a permanent establishment there. A supplier with no establishment in Spain, invoicing a Spanish customer from elsewhere, is not the addressee of those rules — and the invoicing obligations of its own country still apply to it in full.

That is the general shape rather than a ruling on a particular business. Whether a specific arrangement creates a permanent establishment in Spain, and whether a group's Spanish entity is caught, are questions for the Agencia Tributaria or a Spanish adviser, and the answer is worth having in writing before a project plan rests on it. This page will not answer it for you, and no vendor page should.

What is settled is the delivery side. Nothing in the Spanish regulation requires a particular exchange network, and the business-to-business mandate starts on 6 October 2027. So a supplier trading with Spain today sends the invoice the way it and its customer agree — and where that is a structured document over an interoperable network, the work is already done for the day the mandate arrives. A Spanish subsidiary of a group already exchanging UBL invoices elsewhere in Europe is closer to Spanish readiness than one running a Spain-only billing tool.

One boundary to be clear about. GoRoute is a Peppol certified Access Point and SMP provider; what we ship is the structured document and its delivery, not a Spanish billing package. The invoicing record, its hash chain and the producer's responsible declaration belong to the software that issues your invoices. Where that is a system we integrate with rather than one we supply, those obligations stay with its producer, and we say so rather than implying otherwise. Our Odoo integration is one example of that shape of connection, and the API is the general case for a system we have not met before.

Spain Invoicing-System Requirements

Spain's regulation governs the software that issues invoices. It requires a tamper-evident record for every invoice, a hash chain linking the records, and a QR code on the document itself.

Responsible declaration

The producer self-certifies each version of its invoicing software; there is no external certification body and no register of approved products.

Verifactu or not

Records go to the tax agency as they are made, or stay in the issuing system with a signature and an event log.

QR on every invoice

Carries some of the invoice data and a web address at the Agencia Tributaria.

What the system must do

  • 📄

    Invoicing record

    One structured record per invoice, at the moment it is issued

  • 🔐

    Hash chain

    Each record hashed over the one before it, so an edit breaks the sequence

  • 🏛️

    Export and transmit

    Every system must be able to export its records and send them online

  • 🔢

    QR code

    On every invoice, complete or simplified, once the rules apply

Spain E-Invoicing Solution

EN 16931 invoices

Structured invoices on the European standard, ready for any EU trading partner.

Peppol delivery

Delivery across the EU as a Peppol certified Access Point, with our own SMP on the European rails.

One API

A single REST API into the billing system you already run, rather than a replacement for it.

Verifactu records to the AEAT

Each invoice's chained record sent to the Agencia Tributaria with the issuer's own certificate — from the API, or from the Shopify app.

Validation before sending

Documents checked against the rules of the receiving profile before they leave.

QR on every invoice

The Verifactu QR and legend on every factura and factura simplificada, so a buyer can check it on the AEAT's site.

Verifactu for Shopify stores

GoRoute’s Verifactu app is on the Shopify App Store as Verifactu: Facturas y tickets. Every paid order gets its factura or factura simplificada with the Verifactu QR, and the invoicing record goes to the Agencia Tributaria from the store’s own certificate — the Verifactu mode of the rules above, with nothing to run or sign on the merchant’s side beyond installing the app and uploading the certificate.

Every order, automatically

A factura for a business buyer who gives a NIF, a factura simplificada for everyone else, a rectificativa on a refund. The buyer downloads the PDF from the Thank you and Order status pages.

Your certificate, your records

Records are chained and sent to the AEAT with the merchant’s own certificate, test service first and production when the store is ready. The app keeps the record register the regulation requires.

Gratis, then Ilimitado

Twenty invoices a month free; Ilimitado is $4.99 a month or $49 a year, billed through Shopify. The plan never stops an invoice being issued or sent — a store is never left non-compliant over a plan limit.

Ready for Spain E-Invoicing?

Verifactu records to the Agencia Tributaria, structured EN 16931 invoices, Peppol delivery across the EU, and one API into the billing system you already run.

Official source: Agencia Tributaria — Sistemas Informáticos de Facturación (SIF) y VERI*FACTU. Verifactu scope on this page was read there on 30 August 2026 and again on 6 November 2026, against the agency's frequently asked questions. The Verifactu deadline comes from the BOE text of Real Decreto-ley 43/2026 (BOE-A-2026-24701), read on 27 November 2026. The business-to-business dates come from the BOE texts of Royal Decree 238/2026 (BOE-A-2026-7295) and Order HAC/1028/2026 (BOE-A-2026-20587), read on 6 November 2026; the postponement was first announced in the Ministry of Finance note of 5 October 2026. Always confirm current obligations against the authority directly.

Primary texts: Real Decreto 1007/2023 as amended by Real Decreto 254/2025, Real Decreto-ley 15/2025 and Real Decreto-ley 43/2026; Orden HAC/1177/2024; Ley 18/2022, article 12 and final provision eight.

Related reading: E-invoicing mandates 2026: a country-by-country tracker — Spain's dates alongside every other mandate in flight.

Spain E-Invoicing FAQ

Is e-invoicing mandatory in Spain?

Between businesses it will be, from 6 October 2027 or 6 October 2028, and the invoicing-system rules now share the later date. Under the regulation approved by Real Decreto 1007/2023, businesses that issue invoices using software must use a system that produces a tamper-evident invoicing record for every invoice. Every business in scope must have adapted its systems by 6 October 2028, the date Real Decreto-ley 43/2026 set to coincide with the business-to-business calendar. Business-to-business electronic invoicing under Ley 18/2022 has had dates since 6 October 2026.

What is Verifactu?

Verifactu is one of the two ways of meeting Spain's invoicing-system rules. A Verifactu system sends each invoicing record to the Agencia Tributaria as it is produced. The alternative, which the tax agency calls the non-Verifactu mode, keeps the records in the issuing system instead, and in exchange has to sign each record electronically and keep a system event log. Both are valid; the choice is the business's.

Who is excluded from Spain's invoicing-system rules?

The tax agency sets out four conditions, all of which must hold for the rules to apply. A business is out of scope if it invoices only by hand with no software, if it is enrolled in the Immediate Supply of Information regime for VAT records, if its tax domicile is in the Basque Country or Navarre, or if it holds a decision in force exempting it. Businesses in the Canary Islands, Ceuta and Melilla are in scope.

When do Spanish businesses have to be ready?

Every taxpayer in scope, corporate income tax payers and everyone else alike, must have its invoicing system adapted by 6 October 2028. Real Decreto-ley 43/2026 of 24 November, published in the BOE on 25 November 2026, tied the deadline to the end of the twenty-four-month period in Royal Decree 238/2026, the business-to-business e-invoicing regulation; it replaced the 1 January and 1 July 2027 dates set by Real Decreto-ley 15/2025. Producers and sellers of invoicing software had to offer fully compliant products from 29 July 2025, nine months after the technical specifications took effect.

Does every Spanish invoice need a QR code?

Yes, once the rules apply to the business issuing it. The Agencia Tributaria states that from the point the invoicing-system requirements take effect for a business, every invoice it issues, complete or simplified, carries a QR code, and that the code contains some of the invoice data and a web address at the tax agency. Invoices issued by a Verifactu system also carry a legend marking them as verifiable.

When is business-to-business e-invoicing mandatory in Spain?

Twelve months after 6 October 2026 for businesses whose turnover exceeded eight million euros in the previous calendar year, which is 6 October 2027 by calendar count, and twenty-four months after for everyone else, which is 6 October 2028. Read Spain's B2B e-invoicing mandate: the 2027 and 2028 dates for scope, formats and status reporting.

Is there a Verifactu app for Shopify?

Yes. GoRoute’s Verifactu: Facturas y tickets is published on the Shopify App Store. It issues a factura or factura simplificada with the Verifactu QR for every paid order, sends the invoicing record to the Agencia Tributaria with the store’s own certificate, and gives the buyer the PDF on the Thank you and Order status pages. Twenty invoices a month are free; the Ilimitado plan is $4.99 a month through Shopify.