Electronic Invoicing

Status of Mandatory Electronic Invoicing Between Companies in Spain

b2b Electronic Invoicing spain

Table of Contents [Hide]

The initiative to implement electronic invoicing between businesses in Spain is described within the "Crea y Crece" Law, which was created in September 2022. This law designates electronic invoicing as the exclusive method for conducting commercial transactions between companies and self-employed individuals in Spain. This measure aims to enhance payment efficiency and oversight, ultimately reducing commercial debts and promoting business expansion.

B2B Electronic Invoice Technical Regulation in Spain 

On June 20, 2023, the publication of the Draft Royal Decree marked a significant step in the development of Law 18/2022, aimed at the Creation and Growth of Companies, specifically addressing electronic invoicing among businesses and professionals. This milestone initiated a period for public consultation, allowing for the submission of feedback until July 10, 2023. Following this period, on February 2, 2024, the Ministry of Economic Affairs and Digital Transformation alongside the Ministry of Finance and Public Function presented the European Commission with the refined draft of the “Crea y Crece” Law's regulatory development. This submission incorporates the amendments proposed during the public consultation phase and outlines the invoicing requirements for businesses and professionals within Spain.

*The key updates include:

Invoice Statuses

  • Recipients of electronic invoices are required to notify the public system of the full payment or rejection of these invoices, regardless of whether the public solution or a private platform was used, or if the invoice statuses were also transmitted through the latter.
  • In cases where invoice exchanges occur between private platforms, the invoice recipient must inform the issuer about the rejection and full payment, as well as the acceptance of the invoice.
  • Notification of payment statuses will be made to the public solution and will not be sent to the “Suministro Inmediato de Información” (SII).
  • Information on the statuses of the invoice must be sent within a maximum of 4 calendar days from the date of the status reported in each case. In the absence of rejection or a subsequent corrective invoice, invoices will be presumed accepted.

Public Solution Format

  • The syntax format of the public solution will be Facturae. Among private platforms, any format can be used under one of the following syntaxes: XML, UBL, EDIFACT, or Facturae.

Public Solution Communication Mechanisms

  • The public solution will have mechanisms in place for invoice issuers to voluntarily report the payment or non-payment of invoices.

Invoice Copies

  • Invoices exchanged between private platforms must be sent simultaneously as a true copy and clearly identified to the public solution. The recipient will have mechanisms in the public solution to download the original invoices, copies, or both.

Deadlines for Invoice Status Notification

  • A deadline of 12 months is set for the notification of invoice statuses for companies with a turnover exceeding 8 million euros.
  • An additional deadline of 36 months is established for the notification of invoice statuses for companies with a turnover of less than 8 million euros.

From now on, a period for submissions from EU member states is open, concluding on May 6, 2024. After this submission period ends, the draft regulatory development will be forwarded to the State Council, which will prepare the final draft to be presented to the Council of Ministers for approval. Following approval, it will be published in the Official State Gazette (BOE), marking the start of the envisaged implementation deadlines.

Who is Required to Issue Electronic Invoices?

Business owners and professionals engaged in business-to-business transactions are required to issue electronic invoices when the recipient is also a business owner or professional. However, this obligation does not apply under the following circumstances:

  • If either party involved in the transaction does not have their primary economic activity headquarters within Spanish territory or lacks a permanent establishment in Spain to which the invoicing is directed.
  • Simplified invoices issued in accordance with Article 4 of Royal Decree 1619/2012, except for qualified simplified invoices as defined in Article 7.2 of the regulation.

When is Electronic Invoicing Mandatory?

The Royal Decree will come into effect twelve months after its publication in the Official State Gazette (BOE) and will be applicable from that moment for companies and professionals. According to the draft submitted to the European Commission, the implementation phases are:

  • 12 months for the issuance/reception of invoices and notification of corresponding statuses for companies with annual turnover exceeding 8 million euros from the final publication of the Royal Decree.
  • 24 months for the issuance/reception of invoices for companies with annual turnover less than 8 million euros from the final publication of the Royal Decree.
  • 36 months for the notification of corresponding statuses for companies with annual turnover less than 8 million euros from the final publication of the Royal Decree.

During the first 12 months from the entry into effect of the Royal Decree, companies required to issue electronic invoices in their transactions must accompany them with a PDF copy to ensure readability for companies and professionals for whom the obligation to receive electronic invoices has not yet come into effect, unless the recipient of the electronic invoices voluntarily and explicitly agrees to receive them in their original format.

How will Electronic Invoicing work in Spain?

The Spanish B2B electronic invoicing system will comprise a series of private platforms for electronic invoice exchange that meet the criteria outlined in the Royal Decree, along with a public electronic invoicing solution functioning as an invoice repository, overseen by the State Tax Administration Agency (AEAT).

Electronic invoicing can be conducted using private platforms, the public solution, or a combination of both. Companies and professionals are mandated to issue and transmit electronic invoices to their trading partners while also receiving them from their suppliers through any of these channels. Irrespective of the channel through which the electronic invoice is delivered to the client, all electronic invoice issuers who don't utilize the public electronic invoicing solution are obligated to send an accurate duplicate of each invoice in the Facturae format to the public solution, encompassing the essential minimum requirements defined in the technical regulations of electronic invoicing.

How to Generate an Electronic Invoice?

Electronic invoices must comply with the technical requirements established in the Royal Decree that approves the regulatory development regulating invoicing obligations. As per the draft submitted to the European Commission regarding this regulation, these invoices can be generated using one of the specified syntaxes:

  • XML CII format from CEFACT/UN, applicable to all invoices
  • UBL format for invoices and credit notes, as defined in the ISO/IEC 19845:2015 standard.
  • EDIFACT format for invoices in accordance with the ISO 9735 standard.
  • Facturae format, in the version for invoicing between entrepreneurs and professionals that is in force at any given time.

The authenticity of the origin and the integrity of the content of electronic invoices must be ensured through one of the following methods:

  • By utilizing an advanced electronic signature in compliance with the eIDAS Regulation governing electronic identification and trust services.
  • Through electronic data interchange (EDI) when procedures are employed to guarantee the authenticity of the origin and the integrity of the data.

Statuses of Electronic Invoices

As stipulated in Article 2, paragraph 1 of Law 56/2007 dated December 28, recipients of electronic invoices must communicate the following statuses of invoices:

  • Complete commercial acceptance or rejection of the invoice, including the date.
  • Full payment of the invoice, along with the date.

Furthermore, it is possible to report the following statuses:

  • Partial commercial acceptance or rejection of the invoice, and the corresponding date.
  • Partial payment of the invoice, specifying the amount paid and its date.
  • Assignment of the invoice to a third party for collection or payment, including the identification of the assignee and the assignment date.

Information regarding the status of the invoice must be submitted within a maximum period of 4 natural days, excluding Saturdays, Sundays, and national holidays, from the date of the status being reported in each instance.

Interconnection Among Private Electronic Invoicing Platforms

Providers of private electronic invoicing platforms are required to establish connections with any other private electronic invoicing provider that are part of the Spanish electronic invoicing system when requested by one of their clients.

Alternatively, if the client permits, providers can utilize the public electronic invoicing solution as a means of interconnection. In the event that the public solution is employed for this purpose, the private electronic invoicing platform chosen by the recipient will be responsible for adapting the electronic invoice message to meet the syntax and technical specifications agreed upon by the parties, should it differ from the format and specifications of the public electronic invoicing solution. This ensures the preservation of the authenticity of the message's origin and the integrity of its content.

EDICOM’s Global Electronic Invoicing Platform

EDICOM, a global leader in electronic invoicing, is the most widely used provider by Spanish companies for exchanging electronic invoices. Our platform is also one of the most preferred choices for Spanish companies and international businesses to manage electronic invoicing with Spanish public administrations. Furthermore, it supports other fiscal procedures such as Immediate Supply of Information (SII) and Ticket Bai (Basque Country).

EDICOM offers its customers a comprehensive solution that complies with all the technical requirements of the Spanish electronic invoicing system and those of any other country worldwide.

Seeking more information regarding electronic invoicing in Spain?

Reach out to our specialists for comprehensive project insights and to strategize the alignment of your systems with the requirements outlined by the electronic invoicing regulations.

Get in touch with us now

EDICOM News Global | Find out more about Electronic Invoicing

How the Online Electronic Invoice System works - FEL de Guatemala

We explain all the details about the new electronic invoicing system, FEL

The Electronic Invoice in Peru

Get to know how the Electronic Invoice System (SEE) in Peru Works. 

The Peppol 4-corner model and the 5-corner Peppol CTC

Peppol is an interoperable system for exchanging electronic documents extended worldwide