E-invoicing in Spain | All for One Poland

It looks like you're visiting us from outside Poland.

For the best browsing experience, we recommend switching to the English version of our website.

E-invoicing in Spain

Prepare SAP for B2B e-invoicing, AEAT and status reporting

Spain has introduced the regulatory framework for mandatory structured e-invoicing for domestic B2B transactions. The model combines the AEAT’s public e-invoicing solution with interoperable private platforms and introduces mandatory invoice status and payment reporting.

Spain has introduced the regulatory framework for mandatory structured e-invoicing for domestic B2B transactions. The model combines the AEAT’s public e-invoicing solution with interoperable private platforms and introduces mandatory invoice status and payment reporting.

The Spanish model e-invoicing differs from a traditional clearance platform. Invoices do not require tax authority approval before delivery to the recipient. Instead, it combines invoice exchange, mandatory submission of invoice copies to the AEAT, invoice status reporting and payment information within a single ecosystem.

In the context of mandatory e-invoicing, companies using SAP in Spain will need to adapt their systems to support multiple formats, different exchange channels, status reporting, and integration with local compliance requirements.

What changes with the Spanish B2B e-invoicing model?

In Spain, the regulatory framework for mandatory e-invoicing in domestic B2B transactions is now complete: Royal Decree 238/2026 sets out the rules, while Order HAC/1028/2026, in force since October 6, 2026, regulates the AEAT public e-invoicing solution and triggers the statutory timelines for the implementation of the mandate.

B2G, B2C, and cross-border transactions are governed by separate rules.

In practice, Spanish regulations will require companies not only to issue invoices in the appropriate format, but also to manage invoice statuses and provide payment information.

B2B E-Invoicing in Spain
Key Principles

  • Scope: domestic B2B transactions
  • Formats: EN 16931-compliant invoices in UBL, UN/CEFACT CII, Facturae or EDIFACT (UBL when using the AEAT public solution),
  • Platforms: the AEAT’s public solution and private providers
  • Model: hybrid and decentralized system combining a public platform and interoperable private platforms,
  • Reporting: copies of invoices, payment statuses and information
  • Ministerial Order: Order HAC/1028/2026, in force since October 6, 2026
  • Companies with annual turnover exceeding EUR 8 million: e-invoicing mandatory from October 6, 2027
  • All other companies and professionals: e-invoicing mandatory from October 6, 2028

Mandatory e-invoicing in Spain

Time left to prepare...

Days
Hours
Minutes
Seconds

AEAT, private platforms, and payment reporting

Under the Spanish B2B e-invoicing framework, the AEAT public solution will operate alongside private e-invoicing platforms. Private platforms will submit a copy of the invoice in UBL format to the AEAT. Companies will also be required to handle invoice statuses, including acceptance or rejection, and report full payment and the date on which it was made.

This is an important distinction from basic document exchange models. Spain is developing a system in which e-invoicing supports not only the digital transmission of invoices, but also greater transparency throughout the payment process between companies.

Companies using SAP must prepare to handle statuses, messages, payment data, and the linking of sales and purchasing documents to local reporting requirements.

Why should companies using SAP start preparing early?

Businesses with annual turnover exceeding EUR 8 million have until October 6, 2027, and all other businesses until October 6, 2028. Smaller suppliers should not wait either, because their large customers may already expect structured e-invoices from 2027.

The model involves multiple formats, different platforms, and additional reporting of invoice statuses and payments, which requires a thorough analysis of processes in an SAP environment.

Preparations should include:

  • analysis of Spanish invoicing processes in SAP,
  • identification of documents subject to the B2B e-invoicing mandate,
  • mapping data to the required formats,
  • support for UBL, UN/CEFACT CII, Facturae, and EDIFACT,
  • integration with the AEAT’s public solution or private platforms,
  • preparation of invoice copy reporting,
  • handling of invoice acceptance/rejection and payment statuses,
  • validation of data and structures,
  • integration with financial, procurement, and sales processes.

For multinational companies, it will also be crucial to distinguish the new B2B mandate from existing Spanish systems, such as FACe for B2G, SII for VAT ledger reporting, and Veri*factu for the integrity of invoicing systems.

All for One experience with complex e-Invoicing models

All for One helps companies adapt their SAP systems to local legal obligations and compliance requirements. The experience we gained while building the platform for mandatory e-invoicing in Poland provides a strong foundation for helping companies prepare their SAP systems for the requirements applicable in Spain.

Our e-invoicing solution All for One KSeF is already used by over 120 companies. In these projects, we supported clients with mapping invoice data, integrating SAP with the Polish National System of e-Invoices (KSeF) – Ministry of Finance’s platform – document validation, status handling, process monitoring, and preparing business users to work with e-invoices.

The Spanish model requires a similar approach: a combination of regulatory expertise, SAP integration, data quality, and practical process management within finance operations. Status updates, payment information, and integration with various platforms will be particularly important.

E-Invoicing and SAP Compliance News

How do we help prepare SAP for e-invoicing in Spain?

The All for One E-Invoicing integration layer connects SAP with public and private e-invoicing platforms without the need to build a separate interface for each scenario. The solution can support both document exchange and the reporting of required information within the local ecosystem.

We support various SAP versions and different architectural models, so the solution can be tailored to a local company in Spain, a shared services center, or a global organization with multiple locations.

Get SAP ready for B2B e-invoicing in Spain in time

The Spanish e-invoicing model will require companies not only to issue structured invoices, but also to monitor payment statuses and information. This means that the SAP implementation should cover the entire invoicing process, not just the technical conversion of the document.

All for One will help you prepare your SAP system for e-invoicing in Spain, offering support for the required formats, integration with public and private platforms, and expertise gained from over 120 e-invoicing projects in Poland.

HOT TOPIC: E-Invoicing

All for One supports e-invoicing integration across countries and systems,
connecting SAP and other ERP platforms with B2B and B2G networks
and supporting Peppol alongside other international and local
standards and formats.

Recommended offer

Write us Call us Send email






    Details regarding the processing of personal data are available in the Privacy Policy

    +48 61 827 70 00

    The office is open
    Monday to Friday
    from 8am to 4pm (CET)

    General contact for the company
    office.pl@all-for-one.com

    Question about products and services
    info.pl@all-for-one.com

    Question about work and internships
    kariera@all-for-one.com

    This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.