E-Invoicing in Spain – soon to be mandatory for B2B transactions

Spain Approves Draft Bill for Compulsory B2B E-Invoicing

| | Product Manager software applications/services electronic business data exchange, SEEBURGER
Update of September 26 2022: Spain: Legislation from 15 September 2022 "Crea y Crece" finalizes B2B e-invoicing obligation

+++ Update of September 26 2022: Spain: Legislation from 15 September 2022 “Crea y Crece” finalizes B2B e-invoicing obligation

 While passing the law on the foundation and growth of companies “Crea y Crece”on 15 September 2022, Spain’s Congress of Deputies also gave final approval to the introduction of the B2B e-invoicing mandate.

After in-depth discussion, parliamentary cooperation with the autonomous regions and economic entities, the law received – with some adjustments – strong support in the Chamber of Deputies. The law is ready for publication in the government gazette and subsequent entry into force. With publication of “Crea y Crece” in the government gazette “Boletín Oficial del Estado” (BOE), expected in the coming days, the usual deadlines will take effect:

  • Twelve months for companies and self-employed individuals with an annual turnover greater than eight million euros
  • Thirty-six months for the remaining companies and self-employed individuals

Find more information on the adoption of the law on the creation and growth of companies “Crea y Crece” on the official website of the Spanish government.


Spain has mandated e-invoicing for the B2G sector since 2015. Now, the Spanish government has approved a preliminary draft bill stipulating e-invoices for B2B transactions. This will make B2B e-invoicing mandatory in the domestic market for business relationships between companies and freelancers. Specifically, this draft law defines how invoices should be created, what they must contain, and the schedule for implementing these new requirements. By extending the obligation to issue e-invoices from the B2G to the B2B sector, the Spanish government hopes to boost the current potential to digitalise, simplify and save money in invoicing. Our e-invoicing expert Gerrit Onken has put together what you need to know.

Up until now, Spain has only mandated e-invoicing for B2G business relationships. Spain is now planning to extend this obligation to create and send electronic invoices to the B2B sector. This follows a similar pattern to both Italy’s e-invoicing mandate and the planned mandate in France, which both introduced e-invoicing to the B2G sector before extending it to B2B transactions.

Spain has published various draft laws which cover the following:

  • Stipulations on the software to be used to generate invoices, invoice content and how to keep electronic records for tax audits
  • Making e-invoicing mandatory for B2B transactions for both companies and contractors

Read on to discover what these changes mean for you.

New stipulations on invoicing software, invoice content and electronic records for tax audits

In a draft law of 21st February 2022, Spain’s financial ministry covers the following:

  1. What type of invoicing software to use
  2. Invoices to contain an alphanumeric ID code and a QR code
  3. Creating invoice records for tax audits, which can be electronically transmitted to AEAT as required
  4. Ensuring that AEAT has immediate access to invoice records for tax audits.

The draft law states that, as of 01.01.2024, companies need to use computer software that meets certain requirements to issue invoices. These “VERI*FACTU systems” (verifiable invoicing systems) are certified computer systems capable of automatically transmitting invoices to the tax authorities correctly, completely, promptly and securely. If an invoice is created on one of these certified computer systems, the origin and integrity of the content of the invoice is automatically deemed to be authentic. It therefore doesn’t need an electronic signature.

The e-invoices also need to contain an alphanumeric ID code and a QR code which both meet certain criteria from the ministry of finance. If they wish, invoice recipients can contact the tax authority with the alphanumeric identification code and QR code from their invoice to crosscheck the invoice they have received and the copy submitted to the authorities. Portugal has been using this system very successfully for years and invoice recipients are granted tax rebates for cross-checking. This makes is an effective monitoring tool.

Why not take a look at our article on Ticket BAI, a similar system used by the Basque provinces?

E-invoicing mandatory for B2B transactions between companies and freelancers

At the end of 2021, the Spanish government published a draft law on “The Creation and Growth of Companies “, which makes B2B electronic invoicing mandatory in the domestic market for business transactions between companies and freelancers. On 24th February 2022, the Spanish parliament approved the draft law of 17.12.2021. At time of writing (March 2022), the law has not yet been published in the Official Gazette “Boletín Oficial del Estado” (BOE).

Once the law is published in the BOE, the following schedule will apply:

  • Companies and self-employed persons with an annual turnover of more than eight million euros are required to issue e-invoices 12 months after publication in the BOE.
  • All remaining companies and freelancers will be required to start e-invoicing within three years of publication in the BOE.
Timeline of the new B2B e-invoicing mandate in Spain
Figure 1: Timeline of the new B2B e-invoicing mandate in Spain

The main objective of the legislation is to encourage business to help drive growth in Spain. Further goals behind promoting e-invoicing in business transactions involving companies and self-employed persons are to:

  1. Drive digital transformation in business relationships
  2. Reduce transaction costs
  3. Increase transparency
  4. Combat arrears

The Spanish B2B e-invoicing mandate

All companies and sole contractors are required to issue and send electronic invoices in their business transactions with other companies and freelancers. These e-invoices need to meet the criteria set out by the Spanish ministry of finance, including the new stipulations on content and software.

Companies and freelancers must make the necessary programmes available to their customers so that they can read, copy, download and print their electronic invoices free of charge. They may not charge for these activities, nor may they expect their customers to acquire their own applications.

Invoice recipients must be able to electronically view and download invoices free of charge for at least four years. This applies even if a contract between parties has ended or if the invoice recipient no longer wishes to receive electronic invoices after a certain date.

Failure to comply with these obligations constitutes an administrative offence which may be sanctioned by a warning or a fine of up to 10,000 euros. The sanctions are governed by Art. 19 of Law 6/2020 of 11th November 2020 regulating certain aspects of electronic fiduciary services. The fines are staggered, with the amount a company is ultimately fined based on various criteria.

Spain has had an e-invoicing mandate for its B2G sector since 2015, when it was one of the first countries in Europe use Facturae XML and the FACe platform to implement B2G e-invoicing and make it legally mandatory for suppliers. Conversely, introducing e-invoicing with structured electronic invoices for its B2B sector on a voluntary basis has not progressed well. This is where the approved draft law will soon do some “convincing” in order to increase the potential identified in digitalisation, simplification and cost reduction. Exchanging and processing digital invoices is associated with savings of several euros per invoice. Indeed, the savings are even higher for the invoice recipient than for the invoicing party, particularly once processing the electronic invoices has been automated.

How can SEEBURGER help?

SEEBURGER Global E-Invoicing Services already provide B2G e-invoicing services via the FACe platform, VAT reporting to the Spanish tax authorities’ SII system and EDI supported e-invoicing. SEEBURGER’s particular expertise is in integrating systems and getting data flowing to where it is needed.  We can integrate your ERP system with your e-invoicing systems, including a seamless integration of SAP S/4HANA via the SAP API Business Hub. We are also an established provider of cloud services and have many years’ experience in understanding and implementing the systems you need to meet the demands of various EU countries and further afield.

Webcast on-demand

Learn more about e-invoicing requirements and watch our webcast on-demand!

Watch now

Get in contact with us:

Please enter details about your project in the message section so we can direct your inquiry to the right consultant.

Share this post, choose your platform!

Gerrit Onken

Written by:

Gerrit Onken has been at SEEBURGER AG since 2010 as a product manager for software applications and for electronic data exchange services for the business sector. He focuses on solutions for SAP, electronic invoicing (e-invoicing) and innovations for digitalizing business and technical processes for globally-active customers. Originally a banker, Gerrit Onken went on to graduate in business administration, majoring in industrial management and business informatics. After working in the financial sector, he worked as a manager and project manager from 2004 to 2010 for one of the top five corporate consultancies, working with international BPOs in the banking and automotive industries.