All countries
Country Guide

šŸ‡ŖšŸ‡ø E-Invoicing in Spain

MandatoryPeppol
Verification pending: 20 December 2025

Spain is implementing mandatory B2B e-invoicing through a phased approach, with the Verifactu real-time reporting system and structured e-invoice requirements expected to take full effect in 2026-2027. B2G e-invoicing has been mandatory via the FACe platform since 2015, and regional systems like TicketBAI in the Basque Country add additional requirements.

The Spanish mandate, governed by the "Crea y Crece" law, requires all B2B transactions to use structured e-invoicing. Large enterprises (revenue >€8 million) must comply first, with SMEs following in a subsequent phase. The Verifactu system requires invoicing software to report invoice data to the tax authority (AEAT) in near real-time.

Spain's e-invoicing landscape is complex due to regional variations: the Basque Country's TicketBAI system, Navarra's requirements, and the national FACe/Verifactu frameworks coexist. Invoice Navigator validates Spanish e-invoices against the Facturae format for B2G and EN 16931-compliant formats for B2B, covering both national and regional rule sets.

Non-compliance with the Verifactu reporting requirements can result in fines of up to €50,000. B2G invoices not submitted through FACe are rejected, delaying government payments.

TL;DR

Spain mandates B2B e-invoicing via the Verifactu system and Crea y Crece law, phased by company size from 2026-2027. B2G via FACe since 2015, with regional TicketBAI requirements.

Last updated: January 2026

Quick Facts
Format
facturae, ubl
Next Deadline
Jan 2027
Peppol
Connected
Compliance

Mandate Status

Phase
Status
Scope
B2G
Live (Jan 2015)
All public administration suppliers
SII reporting
Live (Jul 2017)
Companies >€6M revenue
VeriFactu
Jan 2027 / Jul 2027
Corporations Jan 2027, all others Jul 2027
B2B e-invoicing
Pending regulation
Timeline TBD — awaiting ministerial order

Technical Specifications

Validation engineFACe (B2G), SII (reporting), AEAT (VeriFactu)
Required CIUSFacturae 3.2.x (Spanish national format)
Government portalFACe (face.gob.es)
Routing identifierAdministrative codes (OC, OG, UT) for B2G routing
PeppolYes — Peppol accepted alongside Facturae for B2G
Accepted formatsfacturae, ubl
Practical

Common Rejection Patterns

#1ES-R-004Digital signature requiredFix guide
#2BR-ES-02Missing VeriFACTU hash chainFix guide
#3FACE-003Digital signature invalidFix guide
#4FACE-004SII deadline exceededFix guide
#5ES-R-002Invalid FacturaE formatFix guide
Invoice Navigator auto-remediates these at pipeline speed. See how →

Implementation Notes

Spain's system is layered: existing B2G, live SII reporting, imminent VeriFactu, and a future B2B mandate. Each layer has distinct technical requirements.

SII real-time reporting. Companies over €6M revenue must report invoice data to AEAT within 4 days via the SII API. This is not e-invoicing — it's reporting of invoice metadata. But if your pipeline handles Spanish customers, you likely need SII integration regardless of the B2B mandate timeline.

VeriFactu (2027). VeriFactu adds integrity and traceability requirements to all invoicing software. Every invoice gets a hash chain linking it to the previous invoice, preventing retroactive tampering. Your ERP integration must support sequential hash generation. Corporations comply January 2027, all others July 2027.

B2G via FACe. Facturae 3.2.x is the required format with mandatory digital signature (XAdES). FACe uses administrative codes (OC, OG, UT) for routing — these are specific to each public entity and must be looked up per-recipient. Incorrect codes cause rejection with unhelpful error messages.

Stay Current

šŸ”” Spain Alerts

Explore

E-Invoicing in Spain: FAQ

Ship compliant Spain invoices

Validate, fix, and route Spain e-invoices through a single API. No XML editing required.

Get API Access