What is e-Invoicing in Spain?
Spain e-Invoicing represents a significant shift towards digital transformation in business transactions, aligning with European directives and the EU’s VAT in the Digital Age (ViDA) agenda. The framework was created by Law 18/2022, known as the “Crea y Crece” law (Create and Grow), and developed in detail by Royal Decree 238/2026, published in the Official State Gazette on 31 March 2026 and in force since 20 April 2026. A Ministerial Order setting the technical specifications of the public solution was opened to public consultation in April 2026 and is expected to be published shortly.
What is B2B e-Invoicing in Spain?
Business to Business (B2B) e-Invoicing in Spain will operate under a mixed model. Companies may exchange invoices through private exchange platforms, through the public solution managed by the Spanish Tax Agency (AEAT), or through a combination of both. The public solution is called the Solución Pública de Facturación Electrónica (Public Electronic Invoicing Solution), commonly abbreviated as SPFE, and it acts as a universal repository for the entire system. Alongside invoice exchange, the model introduces a mandatory invoice status and payment reporting layer designed to monitor commercial late payment.
What is B2G e-Invoicing in Spain?
Business to Government (B2G) e-Invoicing in Spain has been mandatory since 2015 under Law 25/2013. Suppliers to public administrations submit invoices in the Facturae format through the FACe portal, the Punto General de Entrada de Facturas Electrónicas (General Entry Point for Electronic Invoices). This regime continues to operate independently of the new B2B mandate. The FACeB2B registry used for public sector subcontracting will be replaced by the SPFE, with a 24 month migration period.
What is B2C e-Invoicing in Spain?
Business to Consumer (B2C) e-Invoicing remains outside the scope of the B2B mandate. Royal Decree 238/2026 applies only where the recipient is a business or professional established in Spain. B2C transactions are instead affected by the separate Verifactu regime, which governs billing software rather than invoice exchange and becomes mandatory on 1 January 2027 for companies and 1 July 2027 for self-employed taxpayers.
Is e-Invoice Mandatory In Spain?
Yes, for B2G transactions since 2015. For B2B transactions the obligation is established but not yet effective. Royal Decree 238/2026 ties effective application to the entry into force of the Ministerial Order regulating the public solution, not to the publication of the Royal Decree itself. Once that Order takes effect, the obligation applies in two phases based on turnover.
Who is Obliged to Use e-Invoicing in Spain?
The obligation applies to all businesses and self employed professionals resident in Spain that carry out B2B transactions, regardless of size. The eight million euro turnover figure determines the order of entry into the obligation, not its scope. Turnover is calculated as the volumen de operaciones (volume of operations) under Article 121 of the Spanish VAT Law. Companies may comply through a private exchange platform or through the free public solution.
How to Generate e-Invoices in Spain?
Businesses need invoicing systems capable of producing structured electronic invoices conforming to the European standard EN 16931. In practice this means:
- Issuing invoices in one of the four admitted syntaxes: UBL, CII, EDIFACT, or Facturae.
- Applying an advanced electronic signature to each invoice.
- Generating a unique invoice code (código único) formed by the issuer’s tax number, the invoice series and number, and the issue date.
- Ensuring that a faithful copy (copia fiel) of every invoice issued outside the public solution is transmitted to the SPFE in UBL, simultaneously with issuance.
- Reporting invoice statuses and payment information within the statutory deadlines.
Spain e-Invoicing Requirements
Invoices must be issued in a structured electronic format. PDF documents are not valid electronic invoices. The SPFE operates exclusively in UBL and aligns with the 2026 revision of EN 16931 using the UBL 2.5 syntax binding. Recipients must report commercial acceptance or rejection and full payment within four calendar days, excluding Saturdays, Sundays and national holidays, and silence is treated as acceptance. Private platforms must meet defined technical requirements including ISO/IEC 27001 certification, AS2 or AS4 transmission protocols, the ability to transform between all admitted syntaxes, and free interconnection with other platforms.
e-Invoicing in Spain Deadlines
All deadlines run from the entry into force of the Ministerial Order, currently expected on 1 October 2026:
- 12 months later (expected October 2027): mandatory for businesses with turnover above eight million euros. During the first 12 months these businesses must also accompany each invoice with a legible PDF for the recipient.
- 24 months later (expected October 2028): mandatory for all remaining businesses and professionals.
- 36 months later (expected October 2029): invoice status reporting becomes mandatory for natural persons and income attribution entities with turnover at or below eight million euros.
What are the benefits of e-Invoicing for businesses in Spain?
- Cost Reductions: Significant savings on paper, postage, and storage costs.
- Enhanced Efficiency: Faster processing times and reduced payment delays.
- Improved Accuracy: Decreased likelihood of errors typically associated with manual invoicing.
- Environmental Benefits: Reduced environmental impact due to less paper usage.
- Regulatory Compliance: Easier compliance with tax laws and financial regulations.
- Payment Visibility: Structured status data improves control over receivables and payment terms.
FAQs About e-Invoicing in Spain
What is the Standard Format for e-Invoices in Spain?
There is no single format. Royal Decree 238/2026 admits four syntaxes for B2B exchange: UBL, CII, EDIFACT and Facturae. Peppol BIS is also valid because it is based on UBL. All must conform to the EN 16931 semantic data model. The public solution, however, works exclusively in UBL, so any faithful copy sent to the SPFE must be in UBL regardless of the syntax agreed between the parties. Facturae remains admitted and continues to be the required format for B2G invoicing through FACe.
Can Small Businesses Benefit from e-Invoicing in Spain?
Yes. Small businesses gain reduced administrative burden, improved accuracy and faster payment cycles. The AEAT will provide free access to the public solution, including a free web application for issuing and receiving invoices, which removes the need for smaller businesses to contract a private platform.
Are There Any Exemptions to the e-Invoicing Requirements in Spain?
The mandate covers domestic B2B transactions only. Transactions where the recipient is not established in Spain, B2C sales and simplified invoices fall outside the obligation, although qualified simplified invoices are included. Specific sector exclusions apply to the electricity and regulated gas market operators and to transactions settled through IATA clearing systems.
Is There Penalties for Non-Compliance with e-Invoicing Regulations in Spain?
Yes. Businesses that fail to offer electronic invoicing to their customers, or that do not enable access to their invoices, may face a warning or a fine of up to ten thousand euros under the sanctions regime introduced by the Crea y Crece law. Separate and considerably higher penalties apply under the Verifactu regime to producers and users of non compliant billing software.
What Software Solutions Are Available for e-Invoicing in Spain?
RTC Suite provides an e-Invoicing solution built for the Spanish mixed model. It supports all admitted syntaxes, generates the unique invoice code, applies advanced electronic signatures, transmits faithful copies to the public solution, manages invoice status and payment reporting within the statutory deadlines, and interconnects with other private platforms. Built on SAP BTP, RTC Suite integrates with SAP and non SAP source systems, allowing businesses to meet Spanish requirements within their existing finance landscape.