Skip to content
Aipiter, homeCreate my account

Guide · E-invoicing in Spain

Mandatory e-invoicing in Spain

The rules and calendar are set: it applies from October 2027 or October 2028, depending on turnover.

100 places. €28.99 + tax based on country/month for 6 full calendar months; then from €78.99 + tax based on country/month. Days before the first full month charged pro rata. No minimum term.

The Aipiter teamPublished Reviewed

The short answer

Mandatory e-invoicing is the obligation to issue, send and receive invoices in a structured format between businesses and professionals based in Spain. It is governed by Royal Decree 238/2026 of 25 March and Order HAC/1028/2026 of 2 October, in force since 6 October 2026.

According to the Tax Agency’s site, it applies from 6 October 2027 to businesses whose operations exceeded 8 million euros in the previous year and from 6 October 2028 to everyone else.

What mandatory e-invoicing is

It covers invoices between businesses and professionals, which until now could be on paper or in a PDF and will travel as a structured electronic message. Article 2 bis of Law 56/2007 and the eighth final provision of Law 18/2022 on creating and growing businesses impose it, and Royal Decree 238/2026 develops it.

The regulation sets the format requirements, the private invoice exchange platforms, the statuses of each invoice and the public e-invoicing solution run by the Tax Agency.

Who it applies to

Article 3 covers businesses and professionals required to issue invoices when the recipient is another business or professional with its seat, a permanent establishment or its address in Spain. It is an obligation between businesses: an invoice to a private individual is outside it.

  • A company invoicing another business in Spain.
  • A self-employed professional invoicing a business or another self-employed person.
  • A joint-property community or other income-attribution entity with an economic activity.

Which invoices are left out

Article 4 exempts transactions documented with simplified invoices, except qualified simplified invoices. A ministerial order may also exclude other transactions of a sector that struggles to adapt, generally on a temporary basis. If your case is unclear, confirm it with your accountant.

From when it is mandatory

Royal Decree 238/2026 was published in the BOE on 31 March 2026, but its effective application is deferred by the fourth final provision: it counts from the entry into force of the ministerial order on the public solution, 6 October 2026. The Tax Agency’s site summarises the dates, checked on 18 November 2026 on that page and in the BOE:

  • 6 October 2027: businesses and professionals with more than 8 million euros of operations in the previous year. Issue, send and receive e-invoices, and report their statuses and payments.
  • 6 October 2028: all other businesses and professionals. Issue, send and receive; legal entities with 8 million or less also report statuses and payments.
  • 6 October 2029: individuals and income-attribution entities report invoice statuses and payments.

Accepted formats

Article 7 requires a structured message following the European EN16931 semantic model in one of four syntaxes:

  • CII, the United Nations format.
  • UBL, with the adaptations needed for business-to-business invoicing.
  • EDIFACT, widespread in some sectors.
  • Facturae, already used to invoice public administrations.

How each invoice is sent

Under articles 5 and 6, the invoice is exchanged through a private e-invoice exchange platform, the Tax Agency’s public solution or a combination of both. A business that has not agreed a private platform with its supplier is understood to use the public solution, without having to say so.

Invoices sent through a private platform carry an advanced electronic signature. The public solution uses the UBL syntax, according to article 11.

Status and payment of each invoice

Whoever receives the invoice can reject it; if they do not, and no corrective invoice follows, it is presumed accepted. Article 12 also requires recipients to report the full effective payment of each invoice received to the public solution. These are separate duties from issuing and receiving.

Transitional period with a PDF

Businesses above 8 million euros must accompany their e-invoices with a legible PDF during the twelve months after the regulation applies to them, under the second transitional provision.

E-invoicing and VERI*FACTU

VERI*FACTU deals with the invoicing records the software generates; mandatory e-invoicing deals with the document and how it is exchanged between issuer and recipient. They are separate obligations with their own calendars.

On 5 October 2026 the Ministry of Finance published a note with the plan to postpone the pending VERI*FACTU obligations to October 2028 so they coincide with e-invoicing. It is an announcement, not a rule: the VERI*FACTU guide lists the dates that count today.

What to do now

Four steps that work whatever your date:

  • Check last year’s operations: over 8 million euros, October 2027; under, October 2028.
  • Ask your invoicing provider which format it issues and whether it uses a private platform or the public solution.
  • Check that your business customers’ tax details are complete before issuing in a structured format.
  • Talk to your accountant: what changes is how each invoice travels, not how taxes are filed.

How Aipiter does it

From invoice to record, and what to decide before your date

The example shows how Aipiter’s invoicing keeps invoice, record and payment apart, and what to confirm to invoice in a structured format between businesses.

Invoice, record and payment kept apart

In Aipiter’s invoicing, Marta’s invoice F-2026-0142, for €3,480, generates its record and its payment is noted separately. It is the basis of VERI*FACTU software, which deals with records and not with the exchange of the invoice between businesses.

What you decide before your date

To invoice between businesses in a structured format you must confirm the format (CII, UBL, EDIFACT or Facturae) and the sending route, private platform or public solution. Ask your invoicing provider about both and review the invoicing software you use before your date.

Questions about mandatory e-invoicing

Is e-invoicing mandatory yet?

It does not apply to anyone yet. The obligation starts on 6 October 2027 for businesses with more than 8 million euros of operations and on 6 October 2028 for the rest.

Does it affect the self-employed?

Yes, if they invoice another business or professional based in Spain. Issuing and receiving e-invoices reaches them on 6 October 2028; reporting statuses and payments, on 6 October 2029.

Is it the same as VERI*FACTU?

No. VERI*FACTU deals with the records the software generates; e-invoicing deals with the invoice and how it travels between businesses.

Can I keep sending PDFs?

Between businesses in scope, from their dates the invoice must be a structured message (article 7), not just a PDF. Businesses above 8 million euros must accompany it with a legible PDF for the first year.

Which format do I have to use?

One of four: CII, UBL, EDIFACT or Facturae, following the EN16931 model. The Tax Agency’s public solution uses UBL.

What if I invoice private individuals?

The obligation is between businesses and professionals: an invoice to a private individual is outside it. Simplified invoices are too, except qualified ones.

Prepare your invoicing in good time.

See how Aipiter keeps invoice, record and payment apart, and confirm the format and sending route with your provider before your date.

100 places. €28.99 + tax based on country/month for 6 full calendar months; then from €78.99 + tax based on country/month. Days before the first full month charged pro rata. No minimum term.

hola@aipiter.com