Spain IRPF Withholding on Invoices: AP Processing Guide

Published
Updated
Reading Time
20 min
Author
David
Topics:
Tax & ComplianceWithholding TaxSpainFreelancer InvoicingIRPF
Spain IRPF Withholding on Invoices: AP Processing Guide

How to process Spanish invoices with IRPF withholding. Covers the three-component structure (base + IVA minus IRPF), rate validation, and Modelo 111 filing.

When a Spanish freelancer sends you an invoice, one line probably looks wrong. Alongside the familiar IVA charge, there is a negative figure labelled retención de IRPF that reduces the total payable. That line is not an error. It is an income tax withholding (retención) that professionals registered for autonomous activities in Spain are legally required to build into every invoice they issue to a Spanish business or a business with a permanent establishment in Spain.

IRPF stands for Impuesto sobre la Renta de las Personas Físicas, Spain's personal income tax. Under this system, the freelancer calculates the withholding and includes it as a deduction on the invoice itself. The standard IRPF withholding rate is 15% of the taxable base. New autónomos in their first three calendar years of activity apply a reduced rate of 7%. The formula for the amount you actually pay is straightforward:

Payable amount = Taxable base + IVA (typically 21%) − IRPF withholding

On a €1,000 invoice at the standard rate, that works out to €1,000 + €210 IVA − €150 IRPF = €1,060 payable. The gross value of the services is €1,000, but the amount that leaves your bank account is lower because you retain the IRPF portion.

This mechanism is unusual compared to most countries. In the UK, Australia, or the United States, income tax withholding on contractor payments is typically the payer's calculation or handled through a government intermediary. Spain inverts that responsibility: the freelancer embeds the withholding directly in the invoice as a negative line item, and the paying company deducts that amount from payment. You then remit the withheld funds to Spain's tax authority, the Agencia Estatal de Administración Tributaria (AEAT), on the freelancer's behalf. In effect, you become a collection agent for Spanish income tax the moment you pay a Spain IRPF withholding invoice.

The volume of these invoices reaching international AP departments is growing. According to Spain's Social Security affiliation data for December 2024, the country's registered self-employed workforce reached a record 3,386,765 workers at the end of 2024. Professional, scientific, and technical activities were among the fastest-growing sectors, adding over 21,500 new autónomos in a single year. For any company that contracts Spanish consultants, developers, designers, translators, or other professional service providers, IRPF withholding on Spanish invoices is becoming a routine accounts payable concern rather than an edge case.

Your obligations as the payer are concrete. When you receive one of these invoices, you must validate that the withholding rate and calculation are correct, pay only the net amount (taxable base plus IVA minus the retención), hold the withheld IRPF funds, file a quarterly declaration (Modelo 111) reporting the amounts withheld, and submit an annual summary (Modelo 190) detailing every freelancer you withheld from during the year. Missing a filing or withholding the wrong amount exposes your company to penalties from AEAT, not the freelancer.


When IRPF Withholding Applies to an Invoice

Not every invoice from a Spanish vendor will carry an IRPF withholding line. Whether it should depends on a specific set of conditions, and as the paying company, you need to know what those conditions are so you can validate what you receive.

Three Conditions That Must All Be True

For IRPF withholding to correctly appear on an invoice, every one of these must hold:

  1. The supplier is registered under IAE Section 2 or Section 3. Spain's Impuesto de Actividades Económicas (IAE) classifies economic activities into three sections. Section 1 covers business activities (actividades empresariales). Sections 2 and 3 cover professional activities and artistic activities, respectively. Only autónomos operating under Sections 2 or 3 are required to apply IRPF withholding (retención) on their invoices.

  2. The invoice is issued to a Spanish business or professional. IRPF withholding is a B2B mechanism. The client receiving the invoice must be a company or self-employed professional operating in Spain. If the autónomo is invoicing a private individual or a company outside Spain, withholding does not apply.

  3. The service rendered is a professional activity, not a commercial one. Even if someone is registered as an autónomo, the nature of the activity matters. A freelance consultant, architect, or lawyer performing professional services under IAE Section 2 applies withholding. A sole trader running a retail shop under IAE Section 1 does not, even though both may technically be autónomos.

When IRPF Withholding Should NOT Appear

If you receive an invoice with an IRPF retención line but any of the following apply, the withholding may have been applied incorrectly:

  • B2C invoices. The supplier is invoicing a private individual, not a business. No withholding obligation exists in this scenario.
  • Cross-border invoices. The client is located outside Spain. Spanish IRPF withholding is a domestic mechanism and does not apply to invoices directed at foreign entities.
  • Business activities under IAE Section 1. The supplier operates a commercial business (retail, hospitality, manufacturing) rather than a professional or artistic service. These activities are excluded from the withholding regime.
  • Suppliers under the módulos regime. Freelancers and small businesses taxed under Spain's objective estimation system (estimación objetiva, commonly called "módulos") are exempt from applying IRPF withholding on their invoices.

Using This as a Validation Checklist

When a Spanish invoice lands in your AP queue with a negative IRPF line, run through the three conditions above. If any one fails, the retención should not be there. Common red flags include invoices from suppliers who clearly operate a commercial business rather than a professional service, or invoices from Spanish autónomos billing your non-Spanish entity.

Getting this validation right matters because you, as the payer, bear the obligation to withhold and remit the correct amount to the Agencia Tributaria. Paying an invoice with an incorrect withholding amount creates reporting problems downstream.

One scenario deserves special attention: if your company is based outside Spain and has no permanent establishment in the country, IRPF withholding should not appear on invoices you receive from Spanish freelancers at all. The withholding obligation is a domestic mechanism that only applies when the client is a Spanish business or professional. If a freelancer includes the retención line on an invoice to your non-Spanish entity, request a corrected invoice without the withholding before processing payment.

Spain's approach to freelancer invoice withholding shares some structural DNA with other Iberian systems. Portugal's recibos verdes freelancer invoicing system, for example, also requires tax retention on professional service invoices, though the rates, thresholds, and reporting mechanics differ significantly. Further east, Greek freelancer invoicing requirements impose their own triple tax mechanism alongside mandatory myDATA e-reporting, creating yet another variant AP teams must recognize. If your AP team processes invoices from multiple southern European countries, understanding where the systems diverge prevents costly assumptions.

IRPF Withholding Rates on Spanish Invoices

The withholding rate on a Spanish professional invoice is not one-size-fits-all. Several rates exist depending on the service provider's activity type and how long they have been registered as self-employed. As the paying company, your job is to confirm that the rate shown on each invoice matches the provider's actual situation.

Standard and Reduced Rate Reference

CategoryIRPF RateApplies To
Standard professional services15%Most freelancers and professionals (consultants, lawyers, engineers, designers, etc.)
New autónomos (first three calendar years)7%Self-employed workers recently registered with Hacienda
Certain agricultural and forestry activities2%Specific farming, timber, and forestry income categories
Certain livestock activities1%Specific animal husbandry income categories

The 15% rate is what you will see on the vast majority of Spanish professional invoices. If an invoice from a freelancer or professional shows any rate other than 15%, that should trigger a verification step before you process payment.

The 7% Reduced Rate for New Autónomos

Spain offers a reduced 7% IRPF withholding rate to newly registered self-employed professionals during their startup period. The qualifying window covers the calendar year of initial registration plus the following two full calendar years.

A concrete example: a freelancer who registers as autónomo in November 2024 qualifies for the 7% rate for the remainder of 2024, all of 2025, and all of 2026. Starting January 2027, every invoice they issue must carry the standard 15% withholding.

Two details matter for AP processing:

  • The reduced rate is calendar-year based, not anniversary-based. Whether someone registers in January or December, the clock runs the same way. A late-year registration does not extend the qualifying period into a fourth calendar year.
  • Mid-year rate changes are legitimate. If a freelancer's qualifying period ends on December 31, their January invoices the following year will jump from 7% to 15%. Seeing two different rates from the same provider within a short timeframe is not an error when it coincides with this transition.

The freelancer is responsible for communicating their eligibility for the reduced rate to you. In practice, many new autónomos include a brief note on the invoice referencing the applicable regulation. If they do not, and you have reason to question the rate, you can request confirmation of their registration date.

Rate Errors to Watch For

As the payer, you bear joint responsibility for correct withholding. Applying the wrong rate creates problems during Modelo 111 and Modelo 190 reporting, potentially triggering penalties from Hacienda. Watch for these common issues:

  • A freelancer using 7% beyond their qualifying period. This is the most frequent error. A provider who registered in 2022 should have switched to 15% starting January 2025. If their 2025 invoices still show 7%, flag it before processing.
  • A rate applied to a non-qualifying service. The 2% and 1% rates apply only to specific agricultural and livestock activities. A general business consultant or IT freelancer invoicing at anything other than 15% (or 7% if newly registered) is almost certainly incorrect.
  • A 0% withholding rate with no valid exemption. Some providers attempt to invoice with zero IRPF withholding. Unless the transaction genuinely falls outside the scope of withholding obligations (for example, invoices from a sociedad limitada rather than an individual professional), a 0% rate should not be accepted without verifying the legal basis.

When you identify a rate discrepancy, request a corrected invoice before making payment. Processing an invoice with the wrong withholding rate means you will either under-remit or over-remit to Hacienda, and reconciling the difference after the fact is significantly more work than catching it upfront.


Anatomy of a Spanish Invoice With IRPF and IVA

A standard invoice follows a simple formula: base amount plus tax equals total payable. Spanish professional invoices break that pattern by introducing a third component that reduces the payment amount. Understanding this three-part structure is essential for processing these invoices correctly and routing funds to the right recipients.

The Three Components

Every Spanish professional invoice subject to IRPF withholding contains three elements:

Base imponible (tax base): This is the professional's fee for the service rendered. It represents the agreed-upon compensation before any taxes are applied. On a typical freelancer invoice, this appears as the first line item or subtotal.

IVA (Impuesto sobre el Valor Añadido): Spain's value-added tax, applied as a percentage on top of the base imponible. The standard rate is 21%, though reduced rates of 10% and 4% apply to specific categories of goods and services. As the paying company, you will typically reclaim this IVA through your own periodic VAT filings.

Retención de IRPF (income tax withholding): The amount the payer deducts from the invoice total and remits directly to the Spanish tax authority (Agencia Estatal de Administración Tributaria, or AEAT). This is shown as a negative line because it reduces the amount you pay to the freelancer.

Walking Through the Calculation

Consider a freelance consultant who invoices €1,000 for advisory services at the standard IRPF withholding rate of 15%:

Line itemCalculationAmount
Base imponibleService fee€1,000.00
IVA (21%)€1,000 × 0.21+€210.00
IRPF retención (15%)€1,000 × 0.15−€150.00
Total a pagar (amount payable)€1,000 + €210 − €150€1,060.00

The payable amount of €1,060 is less than the gross total of €1,210 (base plus IVA). This is the detail that trips up AP teams accustomed to invoices where the total always exceeds the subtotal. The "missing" €150 is not a discount. It is a tax obligation you owe to AEAT on the freelancer's behalf.

Where the Money Actually Goes

Your total economic outlay on this invoice is still €1,210 before any IVA reclaim. The difference is that the cash flows to two separate recipients:

  • €1,060 to the freelancer — their service fee plus IVA, minus the withheld income tax
  • €150 to AEAT — remitted via your quarterly Modelo 111 filing

The freelancer receives less cash upfront but credits the €150 withholding against their own annual income tax return. You are acting as a collection intermediary for the Spanish tax authority, which is why accurate calculation and timely remittance matter.

Multi-Line Tax Structures

Some invoices combine services taxed at different IVA rates on a single document. A freelancer who provides both standard-rated consulting (21% IVA) and a reduced-rate service (10% IVA) will list each IVA calculation separately. The IRPF withholding, however, is always calculated on the total base imponible across all line items, not per IVA category.

The principle stays the same regardless of complexity: sum all base amounts, sum all IVA lines, then subtract the single IRPF withholding from the gross total. When verifying these invoices, confirm that the IRPF percentage is applied to the combined base imponible rather than to each line independently.


Processing Spanish IRPF Invoices in Your AP Workflow

Spanish professional invoices with IRPF withholding break a fundamental assumption in most AP systems: that the invoice total equals the payment amount. When a freelancer's invoice shows a gross of €1,000 plus 21% IVA minus 15% IRPF, your payment to the freelancer is €1,060, not the €1,210 that appears as the base-plus-IVA subtotal. That difference is not a discount, not an error, and not negotiable. It is a tax obligation you owe directly to the AEAT (Agencia Estatal de Administración Tributaria).

Getting this wrong creates cascading problems: incorrect vendor payments, unreconciled balances, and missed quarterly filings. Here is how to process these invoices correctly from receipt through reconciliation.

Step 1: Verify the Freelancer's Details and IRPF Applicability

Before processing payment, confirm three things:

  • The invoice includes the freelancer's NIF/NIE and their professional activity description. Spanish tax law requires these on invoices subject to IRPF withholding.
  • IRPF withholding is correctly applied. Cross-reference against the criteria that trigger withholding obligations: the supplier must be an individual or professional entity subject to personal income tax, and the services must fall within the categories requiring retention. If the invoice is from a Sociedad Limitada (S.L.) or Sociedad Anónima (S.A.), IRPF withholding generally does not apply.
  • The freelancer has not provided a valid exemption certificate. New freelancers in their first three calendar years of activity may invoice at a reduced 7% rate. If someone claims this reduced rate, you should have documentation supporting it.

Step 2: Confirm the Withholding Rate

The standard IRPF withholding rate for professional services is 15%, applied to the taxable base (before IVA). Verify the rate on the invoice matches the freelancer's status:

  • 15% — standard rate for established professionals
  • 7% — reduced rate for new professionals (first three full calendar years of activity)
  • Other rates — certain agricultural, forestry, or specific professional activities carry different rates

If the rate on the invoice does not match what you expect, flag it for clarification with the freelancer before processing.

Step 3: Validate the Net Payable Calculation

Run the arithmetic yourself: base imponible + IVA − IRPF withholding = net payable. On a €2,000 base, that is €2,000 + €420 IVA − €300 IRPF = €2,120 payable. Any mismatch between your calculation and the invoice total signals either an arithmetic error by the freelancer or an incorrect withholding rate.

Step 4: Pay the Net Amount to the Freelancer

Transfer only the net payable amount. The withheld IRPF portion stays with you until you remit it to the AEAT via the quarterly Modelo 111 filing. Do not pay the gross invoice total and attempt to recover the IRPF later.

Step 5: Record the IRPF Withholding Separately

This is where most AP workflows need adaptation. The withheld IRPF amount must be:

  • Booked as a separate liability, not netted against the invoice or recorded as a discount. You are holding this money on behalf of the tax authority.
  • Tracked in a withholding register that accumulates all IRPF retentions by quarter, by freelancer. You will need the per-freelancer totals for both the quarterly Modelo 111 and the annual Modelo 190.
  • Kept distinct from IVA payable. IVA and IRPF flow to different tax filings and different payment schedules. Mixing them in a single tax liability account will cause reconciliation failures at filing time.

Handling the Reconciliation Mismatch

The core challenge for AP teams is structural. Standard three-way matching (purchase order, goods receipt, invoice) assumes the invoice total is the payment amount. Spanish IRPF invoices violate this assumption every time.

There are two ways to handle it:

Option A: Split the invoice into two payables. Record the net amount as payable to the freelancer and the IRPF withholding as payable to the AEAT. The two payables together equal the invoice gross, which satisfies the matching logic. This is the cleaner approach for ERP systems that support multi-line payable splits.

Option B: Manual exception workflow. Process the payment at the net amount and maintain an offline or parallel register of withholdings. This works for lower volumes but becomes error-prone as the number of Spanish freelancer invoices grows.

What you must never do is record the IRPF deduction as a discount, early-payment reduction, or write-off. These treatments are factually incorrect, will distort your expense reporting, and will leave you without the documentation trail needed for Modelo 111 and 190 filings.

Common AP Processing Errors to Avoid

  • Paying the gross amount. If you pay €1,210 instead of €1,060 on the example above, you have overpaid the freelancer by €150. You are still obligated to remit €150 to the AEAT, meaning you have effectively paid the tax twice.
  • Recording IRPF as a discount. This reduces your reported cost of services, understates your tax liabilities, and creates audit exposure.
  • Failing to track withholdings by freelancer. The Modelo 190 annual summary requires per-supplier breakdowns. Aggregate-only tracking forces a painful manual reconstruction at year-end.
  • Ignoring the IRPF line entirely. Some AP teams unfamiliar with Spanish invoicing simply skip the IRPF line and pay based on base + IVA. This overpays the freelancer and still leaves you with the withholding obligation.

Processing at Scale With Mixed Invoice Batches

For companies that receive Spanish freelancer invoices alongside standard invoices from other jurisdictions, the three-component tax structure (base + IVA − IRPF) is a genuine extraction challenge. A typical invoice from a UK or US supplier has a straightforward total. A Spanish professional invoice has a negative tax line that must be identified, separated, and routed differently.

When you are processing mixed batches manually, every Spanish IRPF invoice requires exception handling: someone has to spot the IRPF line, verify the rate, confirm the net payable, and log the withholding separately. At low volumes this is manageable. At scale, with dozens of Spanish freelancers alongside hundreds of standard invoices, manual sorting becomes the bottleneck.

Tools that support prompt-based data extraction can address this directly. Platforms built to automate Spanish invoice data extraction can identify the IRPF withholding line, separate it from the IVA and base amounts, and output structured data ready for both payment processing and your IRPF tracking register.

Modelo 111 and Modelo 190: Your Reporting Obligations as the Payer

Withholding IRPF from a freelancer's invoice is only half the obligation. The paying company must also declare those withholdings to AEAT (Agencia Estatal de Administración Tributaria) on a strict quarterly and annual schedule. Failure to file correctly shifts liability squarely onto your organization.

Modelo 111: Quarterly Withholding Declaration

Modelo 111 is the quarterly return where your company declares the aggregate IRPF amounts withheld from all professional invoices during the period and remits that total to AEAT. Filing deadlines fall on the 20th of the month following each quarter-end:

QuarterPeriod CoveredFiling Deadline
Q1January–MarchApril 20
Q2April–JuneJuly 20
Q3July–SeptemberOctober 20
Q4October–DecemberJanuary 20

The form consolidates withholdings across all vendors subject to IRPF retention during that quarter. You report the number of recipients, the total gross amounts subject to withholding, and the total IRPF retained. The payment accompanying the filing must match the declared withholding amount exactly.

This quarterly payer obligation is structurally comparable to withholding tax reporting in other jurisdictions where the company paying a contractor must declare and remit amounts withheld. If your AP team already handles New Zealand's contractor withholding tax invoicing requirements, the Modelo 111 cycle will feel familiar, though the Spanish filing portal and deadlines differ.

Modelo 190: Annual Summary and Freelancer Certificates

Modelo 190 is the annual informational return that breaks down the year's withholdings by individual recipient. The filing deadline is typically January 31 of the following year.

Beyond the AEAT submission, your company must issue an individual certificate to each freelancer detailing:

  • Total gross amounts invoiced during the calendar year
  • Total IRPF withheld across all invoices
  • Total net amounts paid

Freelancers depend on these certificates to credit the withheld amounts against their annual income tax return (Declaración de la Renta). Without your certificate, they cannot offset what was already deducted from their earnings, which directly damages the business relationship and may trigger inquiries from AEAT directed back at your company.

Filing Practicalities

AEAT submissions for both Modelo 111 and Modelo 190 are made through the Sede Electrónica, the agency's electronic filing portal. Access requires a valid digital certificate (certificado digital) issued to the company or its legal representative. Most foreign companies operating in Spain delegate this to an asesor fiscal (tax advisor) who holds the necessary credentials and manages the filing calendar.

From a record-keeping perspective, retain the following for a minimum of four years (the standard AEAT prescription period):

  • Original invoices from each freelancer showing the IRPF withholding line
  • Proof of payment confirming the net amount transferred to the vendor
  • Modelo 111 filing receipts for each quarter
  • Modelo 190 submission confirmation and copies of certificates issued to freelancers

Consequences of Non-Compliance

Late Modelo 111 filings trigger automatic surcharges on the unpaid withholding amount, starting at 1% for each full month of delay up to 12 months, then escalating to 15% plus late-payment interest beyond that period. Incorrect declarations that understate the withholding amount can result in penalties ranging from 50% to 150% of the underpaid tax, depending on whether AEAT classifies the error as negligent or intentional.

The downstream effect on your vendors is equally significant. If your company fails to report withholdings through Modelo 190, the freelancer cannot credit those amounts on their annual tax return. They effectively lose the 15% (or applicable rate) that was deducted from their invoices, with no mechanism to recover it until your company corrects the filing. This is one of the fastest ways to lose a reliable Spanish contractor.

Extract invoice data to Excel with natural language prompts

Upload your invoices, describe what you need in plain language, and download clean, structured spreadsheets. No templates, no complex configuration.

Exceptional accuracy on financial documents
1–8 seconds per page with parallel processing
50 free pages every month — no subscription
Any document layout, language, or scan quality
Native Excel types — numbers, dates, currencies
Files encrypted and auto-deleted within 24 hours