The Spanish government has published the much-anticipated draft regulation with the framework for implementing mandatory B2B e-invoicing.

The proposed legislation outlines the operation of the Spanish e-invoicing system. Its main feature is the reliance on the principles of interoperability of e-invoice formats and interconnectivity of e-invoicing platforms. The goal is to promote digitalization (particularly for smaller companies), reduce late invoice payments and save on administrative costs such as the management of invoices.

The draft Royal Decree provides further details to the Law for Creation and Growth of companies published in September 2022, which initially establishes the e-invoicing obligation for companies and professionals.

Scope of the Spanish B2B e-invoicing mandate

All companies and professionals required to issue invoices under Spanish law will be obliged to do so electronically. This applies to B2B operations with a few excluded transactions, such as: when issuing a simplified invoice, issuing an invoice voluntarily when there is no such obligation to do so under Spanish rules and in other cases that the government may regulate in the future.

However, the obligation does not apply if one of the parties to the transaction does not have an established business, a fixed establishment or habitual business residence in Spanish territory where invoices are directly issued.

Main requirements of the Spanish e-invoicing system

The Spanish e-invoicing system will consist of privately owned electronic invoicing platforms and the public electronic invoicing solution managed by the State Tax Administration Agency. Taxpayers under scope must send and receive e-invoices through one of these two means and will be able to use both in parallel.

Other important characteristics and requirements of this system are:

Accepted e-invoice formats

The proposed Royal Decree defines an e-invoice as a structured document, which means that a PDF will no longer be considered an electronic invoice. Taxpayers will be required to issue e-invoices using one of the accepted formats:

  1. XML CEFACT/ONU as specified in the XML schemas 16B (SCRDM – CII)
  2. UBL as defined in the ISO/IEC 19845:2015 standard
  3. EDIFACT per the ISO 9735 standard
  4. Facturae, in the version for invoicing between entrepreneurs and professionals in force at any given time

Additionally, in line with the principle of interoperability, private e-invoicing platforms must be able to convert e-invoices into all supported formats while preserving I&A.

Communication of e-invoice status

The invoice recipient must communicate the e-invoice status to the invoice issuer within the maximum deadline of four calendar days counted from the date of the reported status.

Mandatory statuses comprise the following:

  1. a) Commercial Acceptance or Rejection of the invoice and its date
  2. b) Full effective payment of the invoice and its date

Additionally, the draft regulation establishes optional statuses:

  1. c) Partial commercial acceptance or rejection of the invoice and its date
  2. d) Partial payment of the invoice, amount paid, and its date
  3. e) Assignment of the invoice to a third party for collection or payment, with identification of the assignee and the date of assignment

Implementation timelines

The Royal Decree is currently in draft form but will be effective 12 months after its official publication on the Spanish Official Gazette (BOE). Following the Law for Creation and Growth of companies, the 12-month-timeline will apply to entrepreneurs and professionals whose annual turnover is over €8 million, and for the remaining taxpayers under scope the deadline is 24 months.

In the first year from the regulation’s effective date, companies under the e-invoicing obligation must attach a PDF file to the legal e-invoice to ensure readability to counterparties not yet in scope – unless the recipient agrees to receive it in the original format.

The obligation to report the e-invoice statuses will come into effect 36 months after the publication of the Royal Decree for entrepreneurs with an annual turnover below €6 million and 48 months after the publication of the Royal Decree for professionals below the same threshold.

Further details are expected concerning how taxpayers under the SII (Suministro Imediato de Información) mandate must inform the mandatory e-invoice statuses.

What’s next?

As this is still a draft and certain details remain to be established, taxpayers can expect changes before publication of the final version. Additionally, until 10 July 2023, the draft regulation is open for comments from the general public.

Another important note is that the entry into force of this draft Royal Decree is subject to Spain obtaining derogation from Articles 218 and 232 of the EU VAT Directive before the EU Commission. Although this is a formal step and there is no indication that the Commission would not grant the derogation, until it happens the new Spanish rules cannot enter into force.

Looking for further information on e-invoicing in Spain? Contact our expert team.

For an overview about other VAT-related requirements in Spain read this comprehensive page about VAT compliance in Spain.

In July 2023, the French authorities postponed the implementation timeline. A new timeline will be announced with the adoption of the finance law for 2024.

When your organisation trades cross-border, regular changes to the regulatory landscape are a given. Whether those changes are brand-new requirements in a country where you do business or the evolution of existing legislation, you must be ahead of the developments to remain compliant.

With global tax authorities continually making progress with their digitization strategies, the e-invoicing revolution continues at speed.

In this quarter’s instalment of our VAT Snapshot webinar, Kelly Muniz and Enis Gencer from Sovos’ Regulatory Analysis and Design team, will look in detail at anticipated changes in countries with emerging digital strategies and discuss updates to some of the more established regimes.

They will cover:

Join our 30-minute update on 13 July for the latest news, and for an opportunity to put your questions to our speakers.

Register today

Update: 7 December 2023 by Carolina Silva

Spain Establishes Billing Software Requirements

The long-awaited Royal Decree, establishing invoicing and billing software requirements to secure Spanish antifraud regulations, has been officially published by the Spanish Ministry of Finance.

The taxpayers and SIF developers, defined further below in this article, must be aware of several new official deadlines set forth by the Spanish tax authority in the Royal Decree:

Therefore, companies that fall within scope must ensure their computer systems are adapted to this regulation as of 1 July 2025.

Looking for more information on tax compliance in Spain? This page can help.

 

Update: 10 February 2023 by Carolina Silva

Understanding Spain’s Verifactu system

The Spanish government is pursuing various routes for digitizing tax controls, including introducing software requirements on the billing system.

In February 2022, Spain published a Draft Royal Decree establishing invoicing and billing software requirements to secure Spanish antifraud regulations.

The Draft Decree ensures billing software meet the legal requirements of integrity, conservation, accessibility, legibility, traceability and inalterability of billing records. It sets standards for systems known as SIF (Sistemas Informaticos de Facturación).

To comply with SIF standards, taxpayers may use a Verifactu system – a verifiable invoice issuance system which is further detailed later in this article.

Since publishing the Draft Decree and concluding its public consultation, the Spanish tax authority has released draft technical specifications for the Verifactu system and a list of modifications to be introduced to the Draft Decree. One is the estimated date of entry into force of the billing software requirements.

What is a Verifactu billing system?

Among the many SIF requirements established in the Draft Decree is the capability to generate a billing record in XML format for each sale of goods or provision of services. This needs to be sent to the tax authority simultaneously or immediately before the issuance of the invoice.

The Draft Decree establishes two alternative systems taxpayers can adopt to comply with the technical standards of the SIF: the ordinary SIF and the Verifactu system.

A Verifactu system is a verifiable invoice issuance system, and its adoption is voluntary under the Draft Decree. Taxpayers who use computer billing systems to comply with invoicing obligations may choose to continuously send all the billing records generated by their systems to the tax authority.

A Verifactu billing system complies with all the technical obligations imposed by the Draft Decree., Taxpayers use the system to effectively send all billing records electronically in a continuous, automatic, consecutive, instantaneous, and reliable manner.

Benefits of the Verifactu billing system

A taxpayer opts for a “verifiable invoice issuance system” by systematically initiating the transmission of billing records to the tax authority. If the systems are Verifactu, invoices must include a phrase stating so.

There are several benefits for taxpayers who decide to opt for a Verifactu system:

Current deadlines

Taxpayers and SIF developers must be aware of several deadlines set forth by the Spanish tax authority. These are still part of the draft development of the SIF and official deadlines are outstanding:

What’s next?

Although still in draft form, it’s expected there will be official publication of the Draft Royal Decree – along with a Ministerial Order detailing the technical and functional specifications of the billing systems. Official publication of the Verifactu technical specifications is to come.

The Draft Decree explicitly states that its implementation is compatible with an electronic invoicing mandate which is also underway in Spain. Therefore, taxpayers must ready themselves to comply.

For further information on the incoming changes to tax in Spain, speak with a member of our expert team.

For an overview about other VAT-related requirements in Spain read this comprehensive page about VAT compliance in Spain.

Update: 24 February 2022 by Victor Duarte

The Spanish Ministry of Finance has published a draft resolution that will – once adopted – establish the requirements for software and systems that support the billing processes of businesses and professionals. This law will have a significant impact on the current invoice issuance processes. It will require implementing new invoice content requirements, including a QR code, and the generation of billing records by January 2024.

The regulation is also intended to adapt the Spanish business sector, especially SMEs, micro-enterprises, and the self-employed, to the demands of digitization. For this, it is considered necessary to standardise and modernise the computer programs that support the accounting, billing, and management of businesses and entrepreneurs.

Scope of the regulation

The regulation establishes the requirements that any system must meet to guarantee the integrity, conservation, accessibility, legibility, traceability and inalterability of the billing records without interpolations, omissions or alterations.

The new rules established in the regulation will apply to:

Companies that do not fall within the above categories do not need to comply, but those who do must ensure their computer systems are adapted to this regulation as of 1 January 2024.

New invoice content requirements: ID and QR codes

Invoices generated by the computer systems or electronic systems and programs that support the billing processes of businesses and professionals must include an alphanumeric identification code and a QR code, generated per the technical and functional specifications established by the Ministry of Finance.

Billing system requirements

The computer systems that support billing processes must have the capability to:

To achieve these ends, all computer systems must certify that they ensure the commitment to comply with all the requirements established in this regulation through a “responsible statement”. The Ministry of Finance will establish the minimum content of this statement later in a new resolution.

Billing record content and its optional transmission

The billing records must comply with several content requirements laid down by the regulation.

The taxpayers using computer systems to comply with their invoicing obligations may voluntarily send all its billing records generated by the computer systems to the AEAT automatically by electronic means. The response of a formal acceptance message from the AEAT will automatically mean that these records have been incorporated into the taxpayer’s sales and income ledgers.

Tax administration audits

The AEAT may appear in person where the computer system is located or used and may require full and immediate access to the data record, obtaining, where appropriate, the username, password and any other security key that is necessary for full access.

The AEAT may request a copy of the billing records, which companies may provide in electronic format through physical support or by electronic means.

Application to the B2B e-invoicing mandate

The regulation doesn’t include any specific rule for the B2B e-invoice mandate draft decree currently being discussed in Congress and waiting for approval. However, if the mandate is approved, all the B2B e-invoices issued under this draft decree will have to comply with all the new rules established in this regulation.

Next steps

While this new regulation does not seem to take Spain further down the continuous transaction control (CTC) route, the proposal has clear similarities with Portugal’s invoice requirements.

The draft resolution establishing these is currently open for public consultation until 11 March 2022. Once this resolution is approved, the Ministry of Finance will publish the technical and functional specifications needed to comply with the new requirements and the structure, content, detail, format, design and characteristics of the information that companies must include in the billing records.

The Ministry of Finance will also publish the specifications of the signature policy and the requirements that the fingerprint or ‘hash’ must meet. Once these details are published, it will be clearer whether Spain is going down the Portuguese route or carving out its own path.

Take Action

Need help staying up to date with the latest VAT and compliance updates in Spain that may impact your business? Get in touch with Sovos’ team of experts today.