The AEAT public e-invoicing solution

The public e-invoicing solution is the Spanish Tax Agency (AEAT) free platform to issue, receive and interconnect B2B electronic invoices, regulated by Order HAC/1028/2026. It lets you issue invoices one by one with a web form or automatically with web services, uses the UBL syntax and stores the invoices and the true copies sent by private platforms.

This page is part of the B2B e-invoicing guide.

When it will be available

Order HAC/1028/2026 (public solution): start of the B2B e-invoicing timetableSince 6 Oct 2026
In force
B2B e-invoicing: turnover over €8M6 Oct 2027
Published in the BOE, future date
B2B e-invoicing: all other businesses and professionals6 Oct 2028
Invoice statuses optional until 6 October 2029 for individuals and pass-through entities up to €8M.
Published in the BOE, future date

This is not advice: each taxpayer determines what applies to them with their adviser.

The public solution has to be available at least two months before the obligation first applies, that is, by 6 August 2027 at the latest (RD 238/2026, fifth additional provision; Order HAC/1028/2026, second additional provision). No exact date has been published.

Since 10 November 2026, the AEAT has published on its external testing portal the first web services, a test client and a single-invoice validator, for testing only (AEAT, public solution for developers).

What the public solution is

It is the e-invoicing platform managed by the AEAT, one of the routes of the mixed system created by RD 238/2026: businesses can send and receive through private platforms, through the public solution or through a combination of both. The AEAT offers it as a free invoicing and interconnection alternative, and it also works as a repository for the invoices issued through it and for the true copies coming from private platforms.

If you have not agreed with your suppliers to receive through a private platform and have not published your entry point, you receive through the public solution (RD 238/2026, art. 6.1 and 6.3).

What it lets you do

According to the AEAT, the public solution offers:

  • A web form to issue invoices one by one.
  • Web services for automated processes: issuing, interconnection and sending true copies.
  • A repository of invoices, with downloads of issued and received invoices.
  • Reporting of statuses and payments for each invoice. Details in E-invoice status tracking.

True copy: what it is and who sends it

Whoever does not issue their invoices through the public solution sends, at the same time, a true copy of each invoice to the public solution, in UBL syntax and with the EN 16931 semantic model (AEAT, analysis of 29 October 2026). That way the AEAT has every B2B invoice, wherever it is issued.

Public solution vs an API

The AEAT public solution and the Verifacti E-invoicing API
AEAT public solutionE-invoicing API (coming soon)
Who it is forAny business or professional; meant as a free alternative.Companies with their own software and invoicing software makers.
Connection to your softwareWeb form, or web services your team integrates against the AEAT.No published capabilities: the API is in preparation.
Volume and several NIFsWeb form for one-off invoices; web services for automated processes.Today: the NIF management API, with a subscription, to register and manage NIFs.
Prior validationIt validates the syntax, semantics and content of each submission, returns rejections with their reason and rejects duplicates by their unique code (Order HAC/1028/2026, art. 5.4 and 5.5).No published capabilities.
Automatic sendingWith web services.No published capabilities.
CostFree.No published price. The free account is already available.

If you issue from your own software

The E-invoicing API is coming soon, with no date or price yet. If you already use the NIF management API for Verifactu, TicketBAI or SII, that integration carries over: the E-invoicing API will build on that common layer and will have a test environment in the free account, like the others. Today you can open the free account and read the documentation of the available APIs; NIF management is available with a subscription.

Test environment and test NIF included

Questions about the public solution

Is it free?

Yes. Access and every use of it are free for users (RD 238/2026, art. 11.10).

When will it be available?

At least two months before the obligation first applies, which is 6 October 2027 (published in the BOE): by 6 August 2027 at the latest. No exact date has been published. Since 10 November 2026, the AEAT has the first web services, a test client and a single-invoice validator on its external testing portal, for testing only.

If I use another platform, do I have to send anything to the AEAT?

Yes: a true copy of each invoice to the public solution, in UBL and at the same time as you issue it.

How is it accessed and who can use it on your behalf?

With an electronic certificate; on the web forms, also with Cl@ve. A third party can use it as a social collaborator (colaborador social); to use the forms on someone else’s behalf, and to retrieve or look up invoices, the third party must be registered in the AEAT’s register of powers of attorney (Registro de apoderamientos) (Order HAC/1028/2026, art. 11).

Can I connect my ERP to the public solution?

The public solution offers web services for automated processes. The alternative is a private platform or an API that connects to your software.

Create your free account

Try the available APIs today in the test environment, with a test NIF. The NIF management API, the common layer the E-invoicing API will build on, is available with a subscription.

Test environment and test NIF included