🇪🇸 Spain · IVA · IRPF · VeriFactu 2027

Free Invoice Generator for Spain

Create professional Spanish invoices with IVA (21%, 10%, 4%), automatic IRPF withholding, FacturaE XML export and VeriFactu 2027 compliance. Free, no registration.

Generate Invoice Free →
🇪🇸

Create your Spain invoice now

Select EUR, choose your IVA rate and toggle IRPF withholding. Everything calculates automatically.

Create Free Spain Invoice →

Spanish invoice requirements

▶ Quick answer

Billing a client based in Spain? You need a Spanish-compliant invoice with IVA (VAT) and — if your client is a business — IRPF withholding.

  • Spanish businesses withhold 15% IRPF from your invoice (7% if it's your first year)
  • You charge IVA at 21% on top of your base price (some services at 10% or 4%)
  • Invoice must be in EUR with your NIF/NIE/CIF tax number
  • If you're based outside Spain and billing a Spanish business, reverse charge may apply (0% VAT)

In Spain, invoices are regulated by Royal Decree 1619/2012 (Reglamento de Facturación). A valid invoice must include:

IVA (Spanish VAT) Rates 2026

RateApplies to
21% — GeneralMost products and services, electronics, clothing, hospitality
10% — ReducedFood (non-basic), transport, construction works on homes
4% — Super-reducedBasic foods (bread, milk, eggs), books, medicines
0% — ExemptMedical services, education, exports outside EU

IRPF withholding — what is it?

IRPF (Impuesto sobre la Renta de las Personas Físicas) withholding is a tax retention that applies when a Spanish freelancer (autónomo) invoices a company or another freelancer. The client withholds a percentage and pays it directly to the Spanish Tax Agency (Agencia Tributaria) on behalf of the freelancer.

💡 IRPF does NOT apply when billing private individuals or clients outside Spain. FacturaPDF includes an IRPF toggle that automatically calculates the retention and shows the net amount you will receive.

VeriFactu 2027 — What foreign freelancers need to know

VeriFactu is Spain's new electronic invoicing system, mandatory from January 2027 for companies and July 2027 for freelancers. It requires invoices to be registered in a government-verified system using the FacturaE XML format.

FacturaPDF already exports invoices in FacturaE XML v3.2.1 format — the official Spanish standard compatible with VeriFactu. This makes it one of the few free tools ready for 2027 compliance.

For freelancers and businesses invoicing Spain from abroad

Most users of this tool from the US, UK, Canada and other non-EU countries fall into one of these situations:

You're a freelancer based outside Spain billing a Spanish company

Good news: when you bill a Spanish business (B2B) from outside Spain, you generally don't charge Spanish IVA. The Spanish company applies reverse charge (inversión del sujeto pasivo) and handles VAT internally. Your invoice shows 0% VAT with a note like "VAT exempt — reverse charge applies (Art. 69 Spanish VAT Act)".

IRPF withholding does NOT apply to invoices from non-Spanish providers. You simply invoice your base amount with no deductions.

You're a US company or agency working with a Spanish client

Same rule: no Spanish IVA on B2B cross-border services. Invoice in EUR or USD — though EUR is strongly preferred by Spanish accounting departments. Include your company's tax ID (EIN for US companies) and the Spanish client's NIF/CIF.

You're a digital nomad or expat living in Spain

If you're registered as an autónomo (self-employed) in Spain, you follow Spanish rules: IVA 21% on all professional services, IRPF 15% withholding for business clients, quarterly modelo 303 and 130 tax filings. FacturaPDF handles all of this automatically.

You're invoicing a Spanish individual (not a business)

Charge IVA normally (21%). No IRPF withholding — private individuals don't withhold tax. You're responsible for declaring and paying IVA yourself via quarterly filings.

Common mistakes on Spanish invoices

Frequently Asked Questions

Do I charge VAT (IVA) to my Spanish clients?+
B2B (business-to-business): If you're based outside Spain and billing a Spanish company, you generally don't charge IVA. The Spanish company applies reverse charge. Your invoice shows 0% VAT.

B2C (individual clients): If billing a private person in Spain, you normally charge IVA at 21%. Check with an accountant for your specific situation.
What is IRPF withholding and does it apply to me?+
IRPF is Spain's income tax withholding. Spanish businesses withhold 15% (or 7% for your first 2 years as autónomo) from invoices and pay it to the tax authority on your behalf. If you're based outside Spain, IRPF does NOT apply to your invoices. It only applies to Spanish autónomos billing Spanish businesses.
Can I invoice in USD or do I have to use EUR?+
Technically you can invoice in any currency, but Spanish accounting departments strongly prefer EUR. If you invoice in USD, the client needs to convert at the official exchange rate for their accounts. FacturaPDF lets you select any currency — just note that IVA calculations are always shown in the invoice currency.
Are PDF invoices legally valid in Spain?+
Yes. PDF invoices are fully valid in Spain as long as they include all mandatory fields (NIF, invoice number, IVA breakdown, dates). The mandatory electronic invoice (VeriFactu/XML FacturaE) won't apply to most freelancers until July 2027. Until then, PDF invoices are completely sufficient.
What NIF/CIF do I put on the invoice if I'm not Spanish?+
As a non-Spanish provider: use your country's equivalent tax ID (EIN for US companies, UTR for UK, VAT number for EU businesses). If you have a Spanish NIE (foreigner ID), use that. The Spanish client needs your tax ID to deduct the expense. If you don't have any Spanish tax ID, include your home country's ID with a note of the country.

Related Tools