Skip to content
← Back to Journal
Tax & Compliance
10 min read

E-Invoicing in Spain for Foreigners: 2026 Survival Guide

Moving a business to Spain or selling here as a foreigner? Understand mandatory e-invoicing, B2B/B2G rules, deadlines, and the tools that work in English.

By Frihet Team Updated on June 13, 2026

TL;DR: Foreigners running a business in Spain face two separate e-invoicing mandates that are easy to confuse: VeriFactu (how your software records and reports invoices to the tax agency) and Crea y Crece (mandatory structured B2B e-invoicing between companies). This guide explains which rules apply to you, the rollout timeline, the NIE/NIF/digital-certificate setup you can't skip, the formats you'll send and receive, and how to choose invoicing software that actually works in English.

Share
Frihet

Key takeaways

  • Spain has two distinct e-invoicing mandates — VeriFactu (anti-fraud invoicing software rules) and Crea y Crece (B2B structured e-invoicing) — and confusing them is the single most common mistake foreigners make.
  • Your first move isn't software, it's identity: you need an NIE, a NIF, and a digital certificate before you can sign or submit anything electronically in Spain.
  • B2B invoices need a structured format (Facturae, UBL, or CII), B2G invoices already go through FACe, and B2C invoices to consumers stay outside the structured mandate for now.
  • EU clients are billed with reverse charge (no Spanish VAT), and if you're based in the Canary Islands you charge IGIC, not VAT — both have specific invoicing consequences.
Contents

If you’ve just moved a business to Spain — or you’re selling here from abroad — the word “e-invoicing” probably arrived in your inbox wrapped in three Spanish acronyms and a vague sense of dread. Good news: the rules are learnable, and most of the confusion comes from mixing up two completely different mandates.

This is the practical, English-first version. No translated tax bureaucracy, no scare tactics. Just what e-invoicing in Spain for foreigners actually requires, what order to do things in, and what to ignore.

Mandatory e-invoicing in Spain: what the law actually requires

There is no single “e-invoicing law” in Spain. There are two parallel regimes, born from different ministries, with different goals and different timelines:

  1. VeriFactu — an anti-fraud rule about how your invoicing software behaves. Every invoice you issue must be recorded by certified software that hashes and chains records so they can’t be quietly altered or deleted, with the option to send those records to the tax agency (AEAT) in real time. It applies to almost everyone who issues invoices in mainland Spain, regardless of who the customer is.

  2. Crea y Crece (Law 18/2022) — a rule about the format of B2B invoices. When you bill another company or professional, the invoice must be a structured electronic document the recipient’s system can read automatically, plus a status channel that reports whether it was accepted and paid.

Here’s the trap: VeriFactu is about your software, Crea y Crece is about the document format you exchange with other businesses. You can be fully VeriFactu-compliant and still not be issuing valid B2B e-invoices — and vice versa. Treat them as two checklists, not one.

If you want the deep dive on the anti-fraud side, we wrote a dedicated piece on what VeriFactu means and when it kicks in.

Crea y Crece vs. VeriFactu: two mandates foreigners confuse

A quick side-by-side, because this is where 80% of the panic lives:

VeriFactuCrea y Crece
What it governsHow invoicing software records invoicesThe structured format of B2B invoices
Who it touchesAlmost all issuers in mainland SpainBusinesses and professionals billing other businesses
The outputHashed, chained, tamper-evident invoice records (optionally sent to AEAT)A machine-readable XML invoice + accepted/paid status reporting
The pain it killsInvisible invoice manipulation, fraudLate payments, lost invoices, manual data entry
Sent to a person?Records exist regardlessNot required for B2C (consumers)

The mental model that works: VeriFactu is the recorder; Crea y Crece is the envelope. One makes sure your invoices can’t be secretly rewritten. The other makes sure that when you bill a company, both sides exchange the same structured data instead of a PDF nobody can process.

A foreigner who only reads about “mandatory e-invoicing in Spain” online often finds Crea y Crece articles and assumes that’s the whole story. Then they buy software that emits structured XML but isn’t a certified VeriFactu system — and they’re half-compliant. Check both boxes.

B2B, B2G, and consumer invoicing: which rules apply to you

Your obligations depend entirely on who you’re billing:

  • B2B (business to business) — the heart of Crea y Crece. If you invoice another company or a self-employed professional, you’ll need a structured electronic invoice and status reporting once the mandate reaches your turnover band. This is the part most expat founders and freelancers need to plan for.

  • B2G (business to government) — invoicing the Spanish public sector. This has been mandatory for years through the FACe portal, using the Facturae format with an electronic signature. If you win a public contract — a town hall, a regional body, a university — you’re already in structured-e-invoicing territory, today, not in some future phase.

  • B2C (business to consumer) — selling to private individuals. These are, for now, outside the structured B2B mandate. You still issue a proper invoice or simplified invoice, and your software still has to be VeriFactu-compliant, but you don’t need to send a structured XML to your customer’s machine.

So a digital nomad designing logos for private clients abroad has a very different obligation profile from a relocated agency owner billing Spanish SMEs. Map your customer types first; everything else follows from that.

The compliance timeline through 2027 (and who goes first)

The two mandates roll out on their own clocks.

Crea y Crece is sequenced by turnover, and the big players go first:

  • Companies with annual turnover above €8 million lead the rollout, becoming obligated roughly one year after the technical regulation is finalized.
  • Everyone else — the vast majority of SMEs and all self-employed professionals doing B2B — follows roughly two years after that regulation, landing the bulk of small businesses in the later wave.

Because the start dates are anchored to the publication of the implementing regulation, exact months can shift. The principle that won’t shift: larger turnover means earlier obligation, and waiting until the last quarter is the worst plan — software demand spikes and onboarding queues lengthen.

VeriFactu runs on a separate track tied to a 2025/2027 horizon, with companies generally obligated before self-employed individuals. The takeaway for a newcomer is simple: don’t try to memorise the calendar. Pick software that already supports both regimes, and you’re covered whichever date applies to your band.

Setting up as a foreigner: NIE, NIF, and digital certificate basics

This is the step people skip — and then nothing else works. Before any invoicing software is relevant, you need an identity stack:

  1. NIE (Número de Identidad de Extranjero) — your foreigner’s identity number. You need it for essentially any legal or economic activity in Spain: opening a bank account, signing a lease, registering as self-employed.

  2. NIF (Número de Identificación Fiscal) — your tax ID. For an individual foreigner, the NIE usually is your NIF for tax purposes. A company gets its own NIF when it’s incorporated. This is the number that appears on every invoice.

  3. Register your activity — file Modelo 036/037 (the declaración censal) to tell the tax agency what you do, where, and which tax obligations apply. This is also where you register for VIES if you’ll be billing EU clients (more on that below).

  4. Digital certificate — the one that trips everyone up. You request a certificate from the FNMT (or use the Cl@ve system), verify your identity in person, and install it. Without it you can’t electronically sign a Facturae invoice for the public sector, submit VeriFactu records, or file your quarterly taxes. Start this before you need it; the appointment-and-collection process takes time.

Order matters: NIE → NIF → Modelo 036 → digital certificate → invoicing software. Skip ahead and you’ll hit a wall the first time something needs a signature.

Peppol, Facturae, and the formats you’ll need to send and receive

Once your identity is sorted, the format question becomes concrete. A few names you’ll meet:

  • Facturae — Spain’s national structured invoice format (XML). It’s mandatory for B2G via FACe and is one of the accepted formats in the B2B world. If you bill the Spanish public sector, this is your format, signed with your digital certificate.
  • UBL 2.1 and CII (UN/CEFACT) — the international XML standards used across the EU. Many cross-border invoices and Peppol exchanges ride on these.
  • Peppol — not a format but a delivery network. Think of it as the postal service for structured invoices across Europe: standardized “envelopes” (Peppol BIS) routed through accredited access points so a sender in Spain and a recipient in, say, Germany or the Netherlands can exchange invoices automatically.

For a foreigner, the practical point is that you’ll likely send and receive different formats depending on the counterparty — Facturae for Spanish government, UBL/CII or Peppol BIS for EU partners, and a structured B2B format domestically. You should not be hand-building XML. Your software should generate the right format per destination and route it for you. If you trade across the EU, our Peppol e-invoicing guide for European businesses explains how the network actually moves your invoices.

Choosing English-first, compliant invoicing software

Here’s where most relocation guides go quiet, because the honest answer is uncomfortable: a lot of Spanish accounting software is Spanish-only, assumes you already speak the tax dialect, and treats VeriFactu and structured e-invoicing as advanced add-ons.

What a foreigner actually needs:

  • It runs in your language. Tax law is hard enough without translating the interface in your head. The legal XML is language-neutral; your daily tool doesn’t have to be Spanish.
  • It covers both mandates natively. VeriFactu hash-chaining and structured B2B/B2G formats — not one or the other bolted on later.
  • It calculates the right tax automatically. Mainland VAT, EU reverse charge, and IGIC for the Canaries — without you remembering which applies.
  • It exports your data, always. You should never be hostage to a tool you can’t leave.

This is exactly the gap Frihet was built to close. It runs in English (and 16 other languages), generates Facturae, UBL 2.1, CII, and other structured formats, produces VeriFactu-compliant hash-chained records with AEAT submission and FACe portal delivery for B2G, and calculates Spanish and Canary Islands tax in the background. You handle the business decisions; the compliance plumbing stays out of your way. That’s the whole point — less management, more freedom.

A reasonable first 90 days as a foreign business owner in Spain looks like: sort your NIE/NIF, file Modelo 036, get your digital certificate, connect software that does both mandates, run one real B2B invoice end to end, and confirm your first Modelo 303 VAT return reconciles. Do that, and the scary acronyms become routine.

FAQ: invoicing EU clients, reverse charge, and IGIC in the Canaries

Billing an EU client? Use the reverse charge. For B2B services to a VAT-registered business elsewhere in the EU, you invoice with 0% Spanish VAT, record the client’s VAT number, and add the reverse charge / inversión del sujeto pasivo reference. You must be on the VIES register and report the sales in Modelo 349 — and the client self-assesses the VAT at home.

Billing in another currency? Perfectly fine, but the invoice and your books still need a euro equivalent at the correct exchange rate. Software that handles invoicing in multiple currencies from Spain does this conversion and the bookkeeping in one move.

Based in the Canary Islands? You’re outside Spanish VAT. You charge IGIC at its own rates, file the IGIC equivalent of the VAT return (usually Modelo 420), and you must not let your software apply mainland VAT by default. The difference is real money and a real audit risk — see our breakdown of IGIC vs. VAT in the Canary Islands.

The deeper truth of e-invoicing in Spain for foreigners is that the technology was never the hard part. The hard part was knowing which of the two mandates applies, in what order to set up your identity, and which tool won’t make you fight Spanish tax law in a second language. Sort those three, and you’re done worrying about it.

Was this article helpful?

FAQ

Do I need a Spanish digital certificate as a foreigner?

Yes. Once you operate as an autónomo or run a company in Spain, you need a digital certificate (or Cl@ve) to sign invoices, submit VeriFactu records, and file taxes electronically. You request it from the FNMT (Fábrica Nacional de Moneda y Timbre) using your NIE/NIF, then collect it at a tax office or police station that handles foreigners. Get this done early — almost everything else depends on it.

How do I invoice EU clients from Spain?

For B2B services to a VAT-registered business in another EU country, you apply the reverse charge: you issue the invoice with 0% Spanish VAT, note the client's VAT number, and add a reference to reverse charge (inversión del sujeto pasivo). You also need to be on the VIES register (via Modelo 036) and report these sales in Modelo 349. The client accounts for the VAT in their own country.

Is e-invoicing different in the Canary Islands?

The invoicing mandates (VeriFactu and Crea y Crece) apply across Spain, but the Canary Islands are outside Spanish VAT. You charge IGIC instead, with its own rates and its own quarterly model (Modelo 420 in most cases). Your invoicing software needs to handle IGIC correctly, not silently apply mainland VAT.

Can I run all of this in English?

Yes, if you pick the right tools. The legal formats and submissions are language-neutral XML, but the interface and support you use day to day don't have to be in Spanish. Frihet runs in English (and 16 other languages), calculates Spanish and Canary Islands tax, and generates the structured formats and VeriFactu records behind the scenes — so you stay compliant without translating tax law in your head.

Compare with

Related articles

Comments

Frihet — Business without drama

Start Free