Spain e-invoicing: What you need to know

Spain e-invoicing

Spain is one of many European countries to adopt e-invoicing for taxpayers. With several standards to comply with and additional regional VAT compliance, understanding Spain’s e-invoicing requirements can be complex.

Our regulatory experts break down what you need to know, from specific B2B and B2G standards to required formats. Bookmark this page to stay up to date with the latest e-invoicing requirements in Spain.

Get the information you need


Who must use e-invoicing in Spain?

Electronic invoicing in Spain has been mandatory for all transactions between public administrations and their suppliers since 2015.

Businesses are under varying e-invoicing obligations depending on the nature of their transactions. Electronic invoices will soon be mandated for business-to-business (B2B) transactions, whereas business-to-government (B2G) transactions may already qualify for e-invoicing. More information on the specifics of a company’s compliance obligations can be found below.

How does e-invoicing in Spain work?

From an e-invoicing perspective, Spain is a post-audit country. There is not an e-invoice clearance requirement, but Spain has been an early adopter of the CTC method in the EU with the introduction of mandatory near real-time invoice data reporting.

Currently, Spain’s tax authority is transitioning to adopt a mandatory B2B e-invoicing requirement that will significantly affect the country’s e-invoicing process.

Spain B2B E-invoicing

Spain originally planned to launch its B2B e-invoicing mandate in July 2024 but postponed it. As the Spanish government commits to giving a year’s notice before implementing a passed law, businesses can currently expect a 2025 launch for the mandate.

The country is expected to implement B2B e-invoicing in a phased approach, with it initially affecting large taxpayers and all other taxpayers joining them a year later.

Read more on Spain B2B e-invoicing.

Spain B2G e-invoicing

Since 2015, e-invoicing has been mandatory in Spain in the public sector. Law 25/2013 mandates that all invoices sent to public sector entities must be sent electronically and signed with an eSignature. All public entities receive invoices through one common point of entry, namely FACe.

An exception to the rule allows paper invoices to be sent to public administrations if the transaction amount is under 5,000 euros.

Timeline for e-invoicing requirements in Spain

The mandatory B2B electronic invoicing requirement will be effective according to the annual turnover of the taxpayer:

  • Entrepreneurs and professionals whose annual turnover exceeds €8 million will have one year after the regulatory framework is approved
  • For the rest of the entrepreneurs and professionals, the electronic invoicing obligation will take effect two years after the regulatory framework is approved

This timeline will be updated when official implementation dates are announced.

What is the required format for an e-invoice in Spain?

Spain’s approved e-invoicing format for B2G transactions is FacturaE and it follows the XAdES standard and uses XML signatures. The central platform to send e-invoices to public administrations is FACe, though business transactions are to be processed through web service FACeB2B.

E-invoices in Spain must comply with EN 16931 and are required to include set information, including:

  • QR code
  • VAT number
  • Date and time
  • Invoice number
  • Total invoice amount including taxes
  • Unique identification number (Número de Identificación Fiscal or NIF)

The e-invoice issuer must archive the electronic document for a minimum of six years.

Spain - Alcalá

Standards and communications for e-invoicing in Spain

Spain - Toledo

There are several e-invoicing standards in play in Spain, governing how the process is carried out by taxpayers.

The format of e-invoices for B2G transactions must meet set standards, for example. Namely, electronic invoices must follow the FacturaE format – an XML-based national standard that is used in tandem with a secure eSignature which follows the XAdES standard.

Once e-invoicing for B2B transactions comes into effect, the format of e-invoices must comply with the EN 16931 standard. The following will be accepted:

  • EDIFACT invoice messages compliant with ISO 0735
  • UBL Invoice and Credit note messages in accordance with ISO/IEC 19845:2015

In terms of communication for e-invoicing in Spain, FACe is the singular hub for submitting electronic invoices in B2G supplies.

How Sovos can help

By now, you will be fully aware that tax compliance in Spain isn’t simple for many businesses. You don’t have to do things alone, though – Sovos can help, combining local tax expertise with complete compliance solutions.

Speak with a member of our team today to free yourself up and focus on what truly matters: your business.