In Spain, e-invoicing is the electronic issuance, exchange, and reporting of structured invoice information between business parties, as per government-defined standards.
The Crea y Crece Law is leading to a shift to a mandatory B2B e-invoicing system in Spain, managed by the Agencia Tributaria (AEAT). Spain is on the final mile of one of the most important e-invoicing transformations in Europe.
The country is now mandating all business-to-business (B2B) transactions to use structured e-invoicing, after over ten years of obligatory e-invoicing of transactions in the public sector making Spain one of the few EU member states to mandate structured e-invoicing throughout the economy.
The Timeline of Regulations
Image 1: Spain B2B E-Invoicing Mandate — Regulatory Timeline
| Year | Milestone | Status | Key Details |
| 2003 | B2G E-Invoicing Foundation | Done | Spain’s Ley 56/2007 and later Royal Decree 1619/2012 established the legal framework for electronic invoicing. Public administrations began accepting e-invoices via FACe. |
| 2015 | B2G Mandate Enforced | Done | Mandatory e-invoicing for all suppliers to public sector entities took effect. FACe (Punto General de Entrada de Facturas Electrónicas) became the national B2G e-invoice portal. |
| 2021–2022 | Crea y Crece Law Passed | Done | Ley 18/2022 (Crea y Crece) extended mandatory e-invoicing to B2B transactions for the first time, requiring all businesses trading with each other to adopt structured e-invoicing. |
| 2023 | Technical Regulation Published | Done | The Ministry of Economic Affairs published the technical regulation defining the mandatory Facturae XML format, the accredited platform requirements, and the interconnection model between private platforms. |
| Expected 2025 | Large Businesses : First Wave | Expected | Businesses with annual turnover exceeding EUR 8 million must be capable of issuing and receiving B2B e-invoices. Exact go-live date pending final Royal Decree publication. |
| Expected 2026 | All Businesses: Full Scope | Expected | All VAT-registered businesses in Spain must issue and receive structured B2B e-invoices. One year after the large-business deadline, SMEs come into scope. |
What this means in practice: The rollout will happen in phases; large businesses first, followed by SMEs about a year later. However, the exact dates will only be confirmed once the Royal Decree is officially published.
The System Operations: Two Tracks, One Standard
Track 1
Private platform exchange: this is the path on which the majority of B2B transactions will pass. The seller prepares a structured invoice within his/her ERP, submits it to an accredited private invoicing platform, which validates it, adds a qualified electronic signature, and directs it to the platform of the buyer, or directly into his/her ERP.
The buyer will then be required to provide a receipt notification back via the network. This obligation to acknowledge is specific to Spain and enforceable – buyers may not simply accept invoices without acknowledging or rejecting them.
Track 2
FACe and FACeB2B is the government gateway, which is already in operation in B2G transactions. Its extension is FACeB2B to enable even private businesses to voluntarily use the public gateway to make B2B transactions. Businesses with established FACe integrations, wishing to expand to commercial equivalents, are the main users.
The real-world implication of most businesses is simple; get linked into an accredited private platform, make sure that your ERP system can produce the necessary format of invoice, and set up your AP system to send acknowledgements. Standard B2B invoicing does not involve government interaction.
| Track | Model | Actor | Action | Outcome |
| Track 1 — Private Platform Exchange | Most B2B transactions | Seller | Creates Facturae XML or UBL invoice in ERP and sends via accredited platform | Accredited platform validates, timestamps and routes invoice; Buyer receives in ERP / AP system and must acknowledge |
| Track 2 — FACe / FACeB2B Public Gateway | B2G and optional B2B | Seller | Creates Facturae 3.2x invoice and submits to FACe / FACeB2B | Government gateway routes to public entity or opted-in private buyer |
Types of Invoice Formats: What is Accepted and What is Not
One of the operationally specific aspects of the mandate of Spain is the format requirements. The accepted and rejected forms are presented in the table above, however, there are two points that should be pointed out.
To start with, the Facturae 3.2.x qualified with a qualified XAdES electronic signature is the native structured format in Spain as well as the only format that can be used in B2G transactions. In the case of B2B, UBL 2.1 and CII are also allowed – this is important to businesses that already have PEPPOL-based infrastructure deployed in other EU markets, as they can potentially extend existing integrations to meet Spanish B2B requirements.
Second, PDF invoices are not compliant – even digitally signed or sent over email. This is among the most common myths among businesses that are planning to be ready in the mandate. A PDF is a graphic image of an invoice; it is not a structured information. It cannot be automatically processed by an ERP unless manually re-entered. Since the mandate will be in effect as of the go-live date, PDF-only invoicing to Spanish B2B counterparts will not be in compliance with the legal mandate.
The Buyer Acknowledgement Obligation: Spain’s Distinctive Feature
One of the requirements of the mandate of Spain is what makes it unlike nearly all the other countries that have a mandate: buyers are required to actively acknowledge all the e-invoices they are receiving. This is not optional, and it is not confined to accepting invoices, buyers have to inform rejection with a given reason where invoices are not accepted.
| Status | Meaning | Time limit |
| Accepted | Invoice received and validated; buyer intends to pay | Within 4 business days of receipt |
| Rejected | Invoice refused; reason must be stated | Within 4 business days of receipt |
| In dispute | Payment terms under commercial dispute | As per commercial agreement |
| Paid | Payment confirmed | At point of payment |
This poses a two-sided compliance burden. AP teams need to develop recognition processes in their invoice processing beyond receiving and posting invoices, but by actively responding via the platform. Companies that receive thousands of supplier invoices monthly must automate this response; the manual response at scale is not an option.
In the case of AR teams, the recognition is also beneficial: it establishes written evidence that the buyer has received and accepted the invoice, which will give the legal status of the legal dispute in case of late payment under the commercial law in Spain.
Accredited Platform Requirement
One of the major features of the e-invoicing model of Spain is the invoicing platforms that are accredited by the government. Companies cannot just email structured XML invoices and expect them to be compliant.
These platforms serve as a regulated exchange layer. They:
- Validate invoice format
- Apply or verify electronic signatures
- Timestamp transactions
- Send route invoices to recipient
- Store documents of the required four-year audit period.
The accreditation system is controlled by the Ministry of Economic Affairs and Digital Transformation (MAETD), which keeps the official list of approved platforms.
Considerations when choosing a platform
The selection of the appropriate platform is essential to compliance and efficiency of operation. Businesses should evaluate:
- Accreditation status: Establish that the platform is registered on the official MAETD register.
- Trading partner connectivity: Make sure that it is compatible with commonly used platforms of your suppliers and buyers.
- Workflow support: Possibility to handle invoice acknowledgements (sent, received, accepted, rejected)
- ERP integration: The API-first platforms are better integrated with other systems such as SAP, Oracle and Microsoft Dynamics 365.
- B2G capability: Public-sector invoicing support (where necessary) through FACe.
Future Outlook: What’s Next for Spain
The e-invoicing system in Spain is set to develop in connection with the larger EU digital reporting projects.
What to expect
- Stricter reporting requirements
- Greater automation of VAT controls
- Increased EU interoperability
- Congruity with real-time reporting models.
Forward view: Spain is heading to full-digital tax control, not e-invoicing.
Conclusion
The B2B e-invoicing requirement in Spain is a progressive step towards organised and transparent and traceable invoicing. In contrast to the easier models of exchange, Spain makes businesses control the transmission of invoices and reporting. This adds complexity to compliance- but also efficiency and automation.
E-invoicing in Spain does not simply involve the sending of invoices, it is about managing the whole invoice lifecycle in a digital compliant ecosystem.
Elevate your E-invoice and VAT compliance Strategy
FAQs
Yes. The mandatory of Spain is that invoices must be traded in government-approved systems, whether mutually agreed or not. Emailing of structured invoices through email or non-accelerated systems will not be compliant. The platform guarantees validation, routing and audit traceability.
It is still possible to share PDFs to be read by humans or refer to them internally. They are however not legally binding in and of themselves. The official, compliant invoice is the structured invoice (e.g. Facturae) sent via an official platform.
Your ERP needs to handle structured invoice format, integrate with a certified platform and retrieve the invoice status. This, in most instances, involves integration improvements or middleware and not the replacement of the current ERP system as a whole.
Spain needs a monitoring of invoice life cycle events like acceptance, rejection and payment status. This introduces a visibility but necessitates AP and AR updates as well. Teams must actively track and react to change of invoice status.
In the initial stages, there might be a little flexibility, but it will need the two parties to implement e-invoicing to comply fully. Companies ought to actively bring on board major suppliers and customers to prevent the hiccups in case enforcement is made.
Not necessarily. B2B e-invoicing and B2G invoicing are supported by numerous accredited platforms through FACe. The adoption of a single solution should help in minimizing the complexity and help in streamlining compliance in various types of transactions.
Spain integrates invoice exchange and mandatory reporting and lifecycle tracking, but PEPPOL is based more on standardised exchange. This makes the model of Spain more complete and operationally challenging.
Late preparedness may cause integration delays, invoices that are non-compliant and delays in payment. Rushing, increased costs and disruption of operations in businesses may occur as deadlines loom.





