Skip to content

New: the B2Brouter connector for Claude.Add it to ClaudeRead the guide

Log in

Spain

Three obligations coexist in Spain: e-invoicing to the public administration, tax reporting to the Tax Agency or to the regional tax authority and, from October 2027, e-invoicing between businesses. With B2Brouter you already meet the first two from a single place, and we are getting ready for the third.

Spain combines real-time tax reporting models (Verifactu and TicketBAI) with a model of electronic record books (SII). From October 2027, invoicing between businesses will follow a five-corner model.

  1. 15/01/2015 Public sector (FACe) (In force)
  2. 01/07/2017 Tax report (SII) (In force)
  3. 2022–2026 Tax report (TicketBAI) (In force)
  4. 10/2027 Receive and issue: > 8 M€ (Coming (date published))
  5. 10/2028 Receive and issue: the rest (Coming (date published))
  6. 10/2028 Tax report (Verifactu) (Coming (date published))

In force Coming (date published) Announced, not yet published

The Crea y Crece Law (Law 18/2022) and its regulation (RD 238/2026) require all businesses and professionals to issue and receive e-invoices between them. The obligation comes in phases: first, businesses with a turnover above €8M and, one year later, those with a turnover of €8M or less.

StatusPassed into law
Who it affectsBusinesses and professionals, in phases by turnover.
Who manages itInterconnected private platforms and the Tax Agency's public solution.
How it worksBusinesses issue and receive invoices in a structured electronic format. The recipient of the invoice reports whether they accept or reject it and when they pay it. The invoicing platform sends a copy to the Tax Agency.
How it is sent and receivedThrough open networks such as FACeB2B (invoices from public-sector subcontractors, until October 2028) or Peppol (international), through private networks or by email.
In which formatIt depends on the sending channel and on what each customer requires. FACeB2B requires Facturae 3.2.2 with the FACeB2B-specific extension, while Peppol uses UBL (Peppol BIS 3.0). From October 2027, Royal Decree 238/2026 accepts EN 16931 in UBL, CII, EDIFACT or Facturae, and the copy to the public solution is always in UBL.
How it is identifiedThe business is identified by its NIF. On FACeB2B the recipient is identified by the DIRe code, and Peppol requires the Peppol identifier (PIN).

Law 25/2013 requires e-invoices to be issued to the public administration and sent through an entry point.

StatusIn force
Who it affectsEveryone who invoices the public administration, including foreign businesses.
Who manages itFACe (central government) and the regional entry points.
How it worksThe business issues the invoice in electronic format, signs it and sends it through an entry point.
How it is sentThrough the national general entry point FACe or through the entry points of the autonomous communities and other administrations: eFACT, PeFAC, PeCAM, Efaktur, EsPublico, Eusko Jaurlaritza or Osakidetza.
In which formatBoth FACe and the regional entry points require Facturae 3.2, 3.2.1 or 3.2.2 signed with XAdES-EPES.
How it is identifiedThe issuing business is identified by its NIF. Each invoice must carry the recipient's three DIR3 codes: accounting office, managing body and processing unit.

The Anti-Fraud Law (Law 11/2021) and RD 1007/2023 require invoicing software to report each invoice to the Tax Agency. In the Basque Country, this is regulated by the regional tax authorities.

StatusPassed into lawMandatory from 10/2028.
Who it affectsBusinesses and self-employed workers in the common territory, that is, outside the Basque Country and Navarre.
How it worksThe business issues the invoice with its invoicing software, which generates a record of it with a digital fingerprint. The invoice carries a QR code so that the customer can verify its compliance.
How it is sentThe software sends the record to the Tax Agency in real time, in XML format, through Verifactu's own channel.
StatusIn force
Who it affectsBusinesses and self-employed workers with their tax domicile in Álava, Biscay or Gipuzkoa.
How it worksThe business issues the invoice with certified invoicing software, which generates a digitally signed and chained record of it. The invoice carries a TicketBAI identifier and a QR code.
How it is sentThe software sends the record to the corresponding regional tax authority in real time, in XML format, through TicketBAI's own channel.
StatusIn force
Who it affectsLarge businesses (turnover above €6M), VAT groups, businesses registered in REDEME and businesses that join voluntarily.
How it worksThe business reports its VAT record books to the Tax Agency, independently of invoicing. The main ones are issued and received invoices, but there are others, such as capital goods or intra-community transactions.
How it is sentThe software sends the records to the Tax Agency in XML, grouped in batches, through the SII's own channel.

B2Brouter covers the e-invoicing and tax reporting obligations in Spain. See what we do for you and what to keep in mind when integrating it with your system.

B2Brouter
Invoicing between businesses
Peppol, FACeB2B, private networks and email.
Covered
Mandatory B2B e-invoicing (Ley Crea y Crece)
E-invoicing between businesses.
In progressReady before it comes into force.
Invoicing the public administration
Signed Facturae through FACe and the regional entry points, with the DIR3 codes.
Covered
Tax reporting
Verifactu, TicketBAI and SII.
Covered
  • Connection to multiple networks. We are connected to Peppol, FACeB2B and private networks (SERES, Banc Sabadell, Pagero, etc.). If your customer receives invoices through one of these networks, we send them that way. If they use none of them, we send them the invoice as a PDF by email or through the B2Brouter internal channel. If in doubt, your customer is the one who should tell you which reception channel they use.
  • Identify your customer correctly. Depending on the transport, the customer may require a specific identification. We are connected to the Peppol directory to know whether the customer is there. We have a directory at your disposal but, when in doubt, your customer is the one who should give you their identification (DIRe, DIR3, Peppol identifier).
  • Reception is automatic. Once reception is activated for each channel, the invoices you receive through Peppol, FACeB2B or email go straight into the account.
  • Connection to the public administration's open networks. We are connected to FACe, the central government's general entry point, to eFACT and to the regional entry points. We send each invoice to the entry point of the public body that receives it.
  • DIR3 codes are defined on the contact. When you create your customer's contact, you enter the accounting office, the managing body and the processing unit, and we add them to every invoice you issue to them. If an invoice needs different ones, you can change them on the invoice itself. With our directory of entities you can fill in these fields easily, or your customer can confirm their reception details.
  • Facturae and signature. Whether you create the invoice manually, in JSON or import it in your own format, we generate the signed Facturae 3.2.x, with B2Brouter's certificate or with your own, and send it to FACe or to the corresponding entry point.
  • Status synchronised with the entry point. B2Brouter picks up the status changes reported by FACe or the entry point (all except EsPublico) and applies them to the invoice automatically.
  • It is activated once per account with a tax report setting, which can be done manually in the app or through the API.
  • You don't need your own certificate. B2Brouter is a social collaborator of the Tax Agency and sends and signs the records on your behalf.
  • Verifactu and TicketBAI, in real time. The data of each invoice is sent when it is issued: Verifactu to the Tax Agency (VERI*FACTU mode), and TicketBAI to the corresponding regional tax authority. In Biscay, the TicketBAI file goes inside Batuz's LROE book, within its deadlines.
  • Automatic record and QR code. When the invoice is issued, we automatically generate the record, send it to the Tax Agency or to the regional tax authority and add the QR code to the invoice's PDF view, as the regulation requires.
  • The status of each report can be checked both from the account and through the API. You can see whether it has been accepted or rejected and, if rejected, the reason.
  • Correction with a corrective invoice. With Verifactu and TicketBAI, an issued invoice cannot be edited or deleted. It is corrected with a corrective invoice.
  • Test your integration without reporting. In our sandbox environment, Verifactu and TicketBAI submissions are simulated. In the staging environment, they connect to the test environment of the Tax Agency and the regional tax authorities.
  • SII, independent of issuing. Unlike Verifactu and TicketBAI, the SII is not sent when each invoice is issued. It reports the VAT record books, for both issued and received invoices. That is why the invoice carries no QR code.
  • Asynchronous submission of SII records. As imported XML (Tax Agency format) or CSV (B2Brouter format), or with JSON via the API. It can be automatic or manual.
Recipient What you need to do What the law says B2Brouter
B2B
Businesses
Send it via Peppol, FACeB2B or email. Formats: Facturae, UBL Peppol BIS. Tax report: SII or TicketBAI, depending on your case. Verifactu, from October 2028. Coming From October 2027 We do it 10/2027 obligation: rolling out
B2G
Public sector
Send it via FACe, eFACT or regional entry points. Format: signed Facturae 3.2. With the three DIR3 codes of the recipient. Tax report: SII or TicketBAI, depending on your case. Verifactu, from October 2028. Mandatory We do it
B2C
Consumers
Send it via email. Tax report: SII or TicketBAI, depending on your case. Verifactu, from October 2028. Not mandatory We do it
Recipient What you need to do What the law says B2Brouter
B2B
Businesses
The customer's country sets the format and channel: see its page. Tax report: SII or TicketBAI, depending on your case. Verifactu, from October 2028. Depends on destination We do it
B2G
Public sector
Send it to the public platform of the customer's country. Tax report: SII or TicketBAI, depending on your case. Verifactu, from October 2028. Depends on destination Depends on country
B2C
Consumers
Send it as a PDF by email. Tax report: SII or TicketBAI, depending on your case. Verifactu, from October 2028. Not mandatory We do it
Recipient What you need to do What the law says B2Brouter
B2B
Businesses
Send it via Peppol or email. Format: UBL Peppol BIS. Not mandatory Only binds companies established in the country We do it 10/2027 obligation: rolling out
B2G
Public sector
Send it via FACe, eFACT or regional entry points. Format: signed Facturae 3.2. With the three DIR3 codes of the recipient. Mandatory We do it
B2C
Consumers
Send it via email. Not mandatory We do it
Formats

Open the format in the field mapper.

Field mapper →
Identifiers

Schemes to identify sender and recipient.

All schemes →
Channels

Transport code to pick it via API.

All channels for the country →

  1. Get started with the API: Get started
  2. Set up transports and identifiers: Transports · Schemes
  3. Activate the tax reporting that applies to you: Tax report settings · Verifactu · TicketBAI · SII
  4. Send your first invoice: Send invoices (end-to-end) · JSON invoice fields to Facturae XML (3.2.2)
  5. Solve specific cases: Send to FACe with imported file · Submit TicketBAI
  1. Sign up for B2Brouter: Sign up and create an account
  2. Set up your company: Set up your account
  3. Activate the tax reporting that applies to you: Verifactu · TicketBAI · SII
  4. Create the contact and add the codes when needed: Create a contact · Assign invoice routing codes to a contact · DIR3 codes · DIRe code · Peppol identifier
  5. Send or receive your first invoice: Create and send an invoice · Receive invoices