Complete Guide to Freelancer Invoicing in Spain: VAT, IRPF Withholding & Compliance
Issuing professional invoices as a self-employed worker (autónomo) in Spain requires a precise understanding of the tax components governing commercial transactions: the net taxable base (Base Imponible), Value Added Tax (IVA - Impuesto sobre el Valor Añadido), and personal income tax withholding (Retención de IRPF). Incorrect invoicing calculations can trigger fiscal penalties from the Spanish Tax Agency (Agencia Estatal de Administración Tributaria - AEAT), accounting discrepancies, or liquidity bottlenecks.
This calculator accurately models statutory fiscal requirements under the Spanish VAT Law (Ley 37/1992), the Personal Income Tax Regulations (Real Decreto 439/2007), and the Invoicing Regulations (Real Decreto 1619/2012). It allows freelancers and professional contractors to instantly preview their gross invoice totals, applicable tax withholdings, and real disposable income collected from business clients.
Key Components of a Spanish Freelance Invoice
Every legal invoice issued by an autónomo in Spain must clearly distinguish the following economic components:
- Taxable Base (Base Imponible): The net agreed compensation for the products delivered or professional services rendered, before taxes and withholdings.
- Output VAT (IVA Repercutido): An indirect consumption tax collected on behalf of the Tax Agency. The standard rate is 21%, the reduced rate is 10%, and the super-reduced rate is 4%. Certain healthcare, teaching, and artistic services are legally exempt (0% VAT under Article 20 of the VAT Law).
- IRPF Withholding (Retención en Origen): A direct prepayment towards your annual personal income tax return. The client withholds this amount and pays it directly to the Tax Agency on your behalf via quarterly Form 111.
- Total Payable / Net Collected: The final cash amount the client must transfer into your bank account:
Total = Base + VAT - IRPF.
Standard vs. Reduced IRPF Withholding Rates (7% vs 15%)
The statutory withholding rate applied depends on your seniority in the RETA register (Régimen Especial de Trabajadores Autónomos):
- Standard Rate (15%): Mandatory for established freelancers registered under professional or artistic IAE headings when invoicing Spanish companies, legal entities, or other freelancers.
- Reduced Rate for New Freelancers (7%): Under Article 95.1 RIRPF, newly registered autónomos may apply 7% during the year of registration and the two subsequent fiscal years, provided they notify their client in writing and have not carried out economic activities in the preceding 12 months.
- Agricultural / Forestry Rate (2%): Special rate applicable to specific agricultural and livestock activities.
- No Withholding (0%): When invoicing private final consumers (B2C), foreign clients (EU or non-EU), or when operating under commercial/business headings (IAE Section 1) without mandatory professional withholding.
Invoicing International Clients: EU (VIES) & Non-EU Exports
Cross-border invoicing rules in Spain depend on the location of your customer and their tax registration status:
- European Union B2B (Intra-Community Services): If both you and your corporate client are registered in the VIES system (Registro de Operadores Intracomunitarios - ROI), the invoice is issued with 0% VAT under the reverse charge mechanism (inversión del sujeto pasivo - Art. 69 LIVA). You must report these transactions quarterly in Form 349. No IRPF withholding applies.
- European Union B2C (Private Individuals): Services provided to private EU consumers generally follow destination VAT rules (OSS system) or Spanish standard VAT (21%).
- Non-EU Exports (USA, UK, Latin America, etc.): Invoices issued to non-EU businesses are treated as tax-exempt exports (no Spanish VAT, 0% withholding). The invoice must state: "Operation not subject to VAT pursuant to Article 69 of Law 37/1992".
Mandatory Legal Fields on Invoices (Royal Decree 1619/2012)
To be valid before the Tax Agency, your invoice must include: unique consecutive invoice number and series; date of issuance and date of operation if different; full legal name, fiscal address, and NIF/CIF of both issuer and recipient; itemized description of services; breakdown of the taxable base, tax rate applied (IVA), withholding applied (IRPF), and final total amount payable; plus your bank IBAN for wire settlement.
Quarterly Tax Settlement: Forms 303, 130 and 111
Understanding how invoicing items translate into quarterly tax obligations ensures smooth fiscal management:
- Form 303 (Quarterly VAT Return): Filed in April, July, October, and January. You settle the difference between the VAT charged to your clients (devengado) and the VAT paid on deductible business expenses (soportado).
- Form 130 (Quarterly IRPF Advance): Self-employed workers declare 20% of their net fiscal yield. However, if over 70% of your invoicing was subject to IRPF withholding, you are legally exempt from filing Form 130.
Best Practices for Freelance Treasury & Cash Flow Management
Remember that the VAT charged to clients does not belong to you—it is collected on behalf of the Tax Agency and must be refunded each quarter. Maintain a dedicated tax reserve account and transfer the collected VAT (plus 15-20% for income tax) immediately upon collecting each invoice to avoid unexpected tax payment crises.
Practical Example
Base Imponible: 1,000.00 € | IVA: 21% | IRPF Retención: 15%
Net to Collect: 1,060.00 € | Base: 1,000.00 € | Output VAT: +210.00 € | IRPF Withholding: -150.00 €
The client pays 1,060.00 € to the freelancer and deposits 150.00 € into the Tax Agency via Form 111 on the freelancer's behalf.
Base Imponible: 1,500.00 € | IVA: 21% | IRPF Retención: 7%
Net to Collect: 1,710.00 € | Base: 1,500.00 € | Output VAT: +315.00 € | IRPF Withholding: -105.00 €
Allows the new freelancer to maximize liquidity during their first three years of professional activity.