Spain activates mandatory electronic invoicing: impact and key points for foreign trade companies

The Spanish Government has taken the definitive step towards the complete digitization of commercial relations with the publication in the Official State Bulletin (BOE) of the Royal Decree 238 / 2026This regulation develops the mandatory electronic invoicing system between businesses and professionals, culminating the regulatory deployment of the so-called Law Create and GrowThe measure introduces a hybrid model that combines private platforms with a publicly managed solution. Agencia Tributaria (AEAT).

 

For the foreign trade sector, the entry into force of this regulation represents a major operational challenge. Although it does not replace customs documentation or tax requirements for exports and imports, it does accelerate the digitization of document flows with international clients and suppliers. The regulation aims to guarantee the interoperability and transparency in cross-border trade management under European standards.

 

Scope and obligated parties

 

The obligation to issue electronic invoices applies to all businesses and professionals operating within the national territory when the recipient is another business or professional with headquarters, permanent establishment or habitual residence in SpainThe system focuses exclusively on relationships B2B (Business to Business), leaving out, for the time being, billing to the end consumer and simplified invoices, except for specific exceptions.

 

Technical specifications and exchange models

 

The new legal framework requires that electronic invoices be structured messages under the semantic model EN 16931Various syntaxes are supported to ensure system flexibility:

 

  • IIC (Cross Industry Invoice).
  • UBL (Universal Business Language).
  • EDIFACT.
  • invoice.

 

Private billing platforms will be required to interconnect with each other within a maximum of one month if a client requests it. Furthermore, they must provide a true copy in the required format. UBL to the public solution when private channels are used for the exchange of information.

 

Control of payment statuses and deadlines

 

One of the most significant innovations is the obligation to communicate the status of the invoice. Companies will have to report on the commercial acceptance or rejection and the full cash payment within a maximum of four calendar days. This information will be shared by the AEAT ’s relationship with the Ministerio de Economía, Comercio y Empresa to monitor payment deadlines and combat late payments.

 

Concept Details of the Regulations
Reference standard Royal Decree 238/2026 (Create and Grow Law)
Deadline for reporting states 4 calendar days (excluding public holidays)
Supported syntax CII, UBL, EDIFACT, Facturae
Semantic model EN 16931 (European Standard)

 

Phased implementation schedule

 

The rollout of electronic invoicing will be phased in once the ministerial order that develops the public solution is published:

 

  • Companies with a turnover > €8M: 12 months after the ministerial order.
  • Other companies and professionals: 24 months after the ministerial order.
  • Platform interconnection: 12 months from the date of entry into force.

 

Impact on internationalization and the EU

 

For internationalized Spanish companies, the main impact lies in the need to harmonize their systems ERP with the requirements of its foreign partners. The Spanish reform aligns with the European strategy ViDA (VAT in the Digital Age), which predicts that by the year 2030 electronic invoicing should be mandatory for all cross-border transactions within the European Union.

 

In the case of transactions with third countries outside of the UECompanies will have to manage a "double layer" of administration: comply with the digital traceability required in Spain and, simultaneously, adapt to the formats and validations of the partners in Asia, America o Africa.

 

 

Key points and frequently asked questions about mandatory electronic invoicing

What happens if my client is a foreigner?

The obligation to issue electronic invoices in this specific format applies when the recipient has its headquarters or permanent establishment in SpainHowever, for intra-Community transactions, it is recommended to adopt the standard EN 16931 to facilitate the future transition to European regulations ViDA.

Is it mandatory to use the AEAT platform?

No, the model is hybrid. Companies can choose private platforms or the public solution of the AEAT or by a combination of both, provided that the integrity and authenticity of the documents are guaranteed.

How does this affect the control of late payments?

This is a radical change, as the obligation to report the effective payment date within four days will allow the Administration to have real-time control of financial flows, facilitating the monitoring of legal payment deadlines in B2B trade.

Coexia®

AI in the foreign trade

Hi! I'm Coexia. How can I help you today with your internationalization strategy?
Coexia AI of foreign trade