E-invoice formats in Spain: a complete guide for business owners and financial directors

Oct 9, 2023 | Uncategorized

Perhaps it still sounds a bit strange to you, but you are certainly fully aware of it: the e-invoice is a reality. It has revolutionized the way any company manages its financial transactions. However, there are questions surrounding the concept that you should know, such as the existing formats. Therefore, throughout this article, we will explore in detail the various e-invoice formats that exist in Spain. Additionally, we examine their legality and show you how to change formats if needed. Enjoy this useful guide designed for business owners and financial directors from companies across all sectors.

The Different E-invoice Formats in Spain

The digital transformation has been underway for years, and the business sector is no stranger to it. So it’s no surprise that various e-invoice formats have been created during this time. However, we are currently at a point where there is a push to standardize processes, regardless of the company or sector.

 In the Spanish business environment, there are several common e-invoice formats. Some of these are recently created, while others have been in use for years. Below, we present the most relevant ones, categorized by format, their implications, and when each term is typically used:

1. E-invoice 

More than a digital invoice format itself, the e-invoice is a term that encompasses all electronic invoices, regardless of the specific format used. It is an efficient and sustainable alternative to paper invoices, as it is issued, received, and processed through software like easyap’s and/or digital platforms.

2. Online Invoice 

The online invoice is an expression used to describe the process of sending and receiving invoices through electronic means.. As with e-invoices, we refer to email and online invoicing platforms. In other words, rather than a format in itself, ‘online invoice’ is a popularly used term.

3. Facturae Format 

The Facturae format is the official standard for electronic invoicing in Spain. It complies with all legal requirements and, in fact, it is the mandatory format that public administrations demand in the vast majority of their operations with private companies. Using this format ensures the legal validity of your electronic invoices. In fact, here you can learn more about the Facturae format.

4. UBL (Universal Business Language) 

Although Facturae is the most common standard, some sectors and companies also use the UBL format for their electronic invoices. In this case, we are talking about an international standard, which is widely recognized and compatible with European regulations.

5. EDIFACT (Electronic Data Interchange for Administration, Commerce, and Transport) 

EDIFACT is a global standard for electronic data interchange which is also used in some cases for electronic invoicing, both in Spain and in other countries. It is true that in our country it is less common than, for example, Facturae, but it is also valid in certain contexts.

6. Other Custom Formats

Finally, there are companies that use custom formats that comply with the legal requirements for electronic invoicing. However, it is important to ensure that they comply with current regulations and are accepted by the invoice recipients. 

Regardless of the electronic invoice format you use, invoices must comply with the legal and technical requirements established by Spanish and European legislation, such as Law 25/2013 and the Directive 2014/55/EU. 

And what exactly is the XML format? 

In turn, when we talk about e-invoice formats, something many people wonder about based on what they read online is what the XML format is. To begin with, we are talking about a technical format in which numerous electronic invoices are issued and managed. For example, the Facturae format relies on the XML format, as do others we just mentioned.

In turn, a file in XML format is a structured representation of data in an electronic invoice. Since it’s best to show with an example, here is an XML format example that complies with Facturae requirements.














This representation of an XML invoice format shows the code that is entered and applied in accounting software. However, regarding the information, you can see that it will still require the same information as other types of invoices.

What happens when changing e-invoice format? 

Transitioning from one e-invoice format to another is a very important decision for your company. As we mentioned in the previous point, before adopting a specific format, verify its compliance with current regulations and acceptance by business partners and the Public Administration. 

Next, we explain what you should take into account.

The possible adaptation to new legal requirements and legislative changes 

Legal requirements can change over time, by country, by sector… In such a situation, your current format might become obsolete. If a format change is necessary, it’s important to review and adapt to current regulations to ensure legal compliance.

The benefits of e-invoicing 

The adoption of e-invoicing is not only a legal obligation, but it can also bring you numerous benefits. These include the reduction of printing and shipping costs, greater speed in invoicing processes, improved document management, and many others that we would love to reveal to you at easyap.

E-invoicing in Public Administration 

E-invoicing and its formats are also especially relevant when it comes to interacting with any public administration in Spain. In fact, all governmental institutions currently require the use of Facturae to receive invoices from suppliers. Therefore, if you work with them or plan to, you will have to seriously consider whether your invoice format is suitable for this.

E-invoicing tools and software 

Whether you plan to change your format or not, for your e-invoicing the choice of the right software is crucial. In the current market, there are numerous tools and programs that can help you. However, creating, sending, and managing your invoices efficiently is not simple nor is it offered by all options. At easyap, we tell you much more.

The security and authenticity of invoices 

One of the main benefits of e-invoicing is the security and authenticity of these. Electronic formats usually incorporate digital signatures and timestamps that guarantee the integrity of the documents. Check those offered by the one you currently use or the one you plan to implement.

E-invoice format change: steps to follow 

Once these previous points have been considered, if you decide to change your company’s e-invoice format, it is essential to follow a step-by-step process. A well-planned process will ensure a smooth transition. Based on our experience, here is a step-by-step guide to implement this change: 

  Step 1 – Needs Assessment. Identify the reason why you need to change the format. It is important that this decision is backed by a solid justification, as it involves time and financial resources for your company.

  Step 2 – New Format Selection. Research available formats and choose the one that best suits your current and future needs. Ensure that the new format is legal and accepted by your business partners and public administrations.

  Step 3 – Systems and Process Update. Update your invoicing systems and internal processes to utilize the new format you adopt. This may require changes to your software or the implementation of new digital tools.

  Step 4 – Staff Training. Ensure that your team (or you, if applicable) is trained in using the new format. Training is essential to avoid errors and ensure the continuity and effectiveness of your operations.

  Step 5 – Testing and Validation. Conduct thorough tests to ensure that the invoices you issue in the new format are correct and comply with legal requirements.

  Step 6 – Communication to Clients and Suppliers. Inform your clients and suppliers about the change in your invoice format. This is the best way to ensure they are prepared to receive and process the new invoices you send them. 

To conclude, e-invoicing is a key component in the modernization of companies in Spain. Using a legal format is fundamental to comply with legal requirements and take advantage of the benefits of digitalization. 

If you find yourself needing to change your e-invoice format, make sure to adapt to current regulations and choose the right tools to do so efficiently and securely. 

Remember that e-invoicing is not only an obligation, but also an opportunity to optimize your financial and administrative processes. Adopting a new format can be a challenge, but with proper planning, you will leverage the advantages of e-invoicing. At easyap we know how to face it and we want to help you.

Increase your company’s productivity and optimize invoicing processes

Still have questions? Contact us

13 + 15 =