Flag of Spaine-Invoicing SpainStarts 2027Last reviewed October 2026

e-Invoicing in Spain: Ley 18/2022 explained

Spain will require electronic invoices between businesses and professionals, exchanged through private platforms or a free public solution run by the tax agency (AEAT). Real Decreto 238/2026 set the rules, and Orden HAC/1028/2026 (in force 6 Oct 2026) started the clock. As of October 2026 the obligation is not yet enforceable: it starts on 6 Oct 2027 for larger businesses and 6 Oct 2028 for the rest.

General information only, not tax advice. Rules change, so check the official sources at the bottom of this page before you act.

The mandate

Mandatory B2B electronic invoicing under Ley 18/2022 (Crea y Crece), developed by Real Decreto 238/2026 and Orden HAC/1028/2026

Who must issue

All businesses and professionals issuing invoices to other businesses or professionals in Spain, phased by prior-year turnover (above or up to EUR 8 million). Simplified invoices are generally excluded, as are some regulated electricity, gas and IATA clearing operations. B2C invoices are not covered, and B2G invoices continue to go through FACe or FACeB2B-type entry points.

How it works

ERP creates the invoice in a permitted format → sent through a private platform or the public solution → platform validates and signs it → private platforms send a UBL copy to the public solution → buyer receives it → buyer reports acceptance or rejection and payment

System type

Mixed

Different channels and rules apply to different types of invoice.

Public sector (B2G)

Mandatory via FACe since 15 Jan 2015 (over EUR 5,000)

Business to business (B2B)

From 6 Oct 2027 (over EUR 8m), 6 Oct 2028 (others)

Consumers (B2C)

Not required

Key dates for Spain

  1. 15 Jan 2015
    Public bodies must receive supplier invoices electronically; the FACe entry point is available (invoices under EUR 5,000 can be excluded)
  2. 1 Jul 2017
    SII (immediate VAT information supply) starts for large companies, monthly VAT filers and VAT groups
  3. 20 Apr 2026
    Real Decreto 238/2026 enters into force (published 31 Mar 2026); its application is deferred
  4. 6 Oct 2026
    Orden HAC/1028/2026 on the public solution enters into force and starts the compliance deadlines
  5. 6 Oct 2027
    B2B e-Invoicing applies to businesses and professionals with turnover above EUR 8 million in the previous year
  6. 6 Oct 2028
    B2B e-Invoicing applies to all other businesses and professionals
  7. 6 Oct 2029
    Individuals and income-attribution entities must report invoice status and payments

What the invoice contains

Invoices must be structured data in one of four formats aligned with the EN 16931 standard: UBL, CII, EDIFACT or Facturae. The public solution uses UBL. Platforms must convert between the permitted formats and sign invoices with an advanced electronic signature. Each invoice carries a unique code built from the issuer's tax ID, series, number and issue date. Private platforms must send a faithful UBL copy of every invoice to the public solution, and the public solution validates submissions and can reject them.

What your ERP has to deliver

Finance systems must create EN 16931 compliant UBL (or another permitted format) and connect to a private platform or to the AEAT public solution by web form or web service. They must also handle status messages: the buyer has to report acceptance or rejection and full payment within 4 natural days, excluding weekends and national holidays, and the payment due date has to be known. Access to the public solution uses an electronic certificate, so signing and representation rights need to be set up. For the first 12 months after an issuer's start date, larger businesses must also send a readable PDF unless the buyer accepts the original format.

The data flow, step by step

ERP invoice (UBL/CII/EDIFACT/Facturae)
private platform or AEAT public solution
validation and advanced signature
UBL copy to AEAT public solution
delivery to buyer
buyer accepts or rejects
payment and due-date status reported
AEAT holds status data

Practical insights

  • The Spanish system is not a pure clearance model. Companies may keep using private platforms, but a copy of each invoice and the payment status must reach the public solution. Companies need a plan for both channels.
  • The start dates run from 6 Oct 2026 and are based on the previous calendar year's turnover. A group with several Spanish entities can have entities starting in 2027 and others in 2028, so each entity should be checked separately.
  • Payment reporting is new for most finance teams. The buyer must record commercial acceptance or rejection and the effective payment date, and an invoice with no rejection is presumed accepted. Accounts payable processes need to produce these events in good time.
  • Spain also has separate invoicing-system rules (VERI*FACTU) and immediate VAT reporting (SII). These apply to different data and different dates, so they should be planned as separate workstreams.

Common pitfalls

  • Assuming the October 2027 date applies to everyone. Only businesses above EUR 8 million turnover in the previous year start then; most others start in October 2028.
  • Treating a PDF or a scanned image as an e-invoice. Only structured formats count, and the PDF is only a transitional extra for larger issuers.
  • Ignoring the buyer-side duties. Recipients must report rejection and payment within 4 natural days (weekends and holidays excluded), and many AP processes cannot send this data yet.
  • Mixing up the three regimes. B2G invoices to public bodies use FACe, B2B e-Invoicing uses the new system, and SII is a separate VAT reporting obligation.

Linked obligations in Spain

VERI*FACTU: The invoicing software regulation (Real Decreto 1007/2023) is separate from B2B e-Invoicing. Current law sets 1 Jan 2027 for corporate income tax payers and 1 Jul 2027 for others, but Hacienda announced in Oct 2026 a delay to Oct 2028 that is not yet in the BOE.
SII: Large companies (turnover above EUR 6 million), monthly VAT filers and VAT groups send invoice records to AEAT within 4 days. e-Invoicing does not replace SII.
FACe / FACeB2B: Invoices to public administrations still go through the public entry point, and public-sector subcontractors using FACeB2B have 24 months to adapt.
ViDA: The EU VAT in the Digital Age package sets EU-wide digital reporting and e-Invoicing rules, which Spain will need to align with.

e-Invoicing Spain: questions, answered

Keep this guide

Download the Spain e-Invoicing guide as a PDF. It has the same content as this page.

More e-Invoicing guides

Cookie Preferences

We use cookies to enhance your experience. You can manage your preferences below. Privacy Policy.