DPL.GROUP
+34 865 664 424 ES The Arsenal Free 15-min call
DPL Asesores › Businesses › Technology and startups › Digital marketing agency
📣 Businesses · Digital marketing

Taxes for a digital marketing agency

The ads you buy from platforms, the freelancers you subcontract and your clients abroad: activity code, VAT and withholding.

🧾 Freelancers and SMEs🇪🇸 Accounting and taxes in Spain🤝 Remotely, all over Spain⚖️ Lawyers and tax advisers

In short

A digital marketing agency goes under group 844 of the IAE (Business Activity Tax), charges 21% VAT in Spain and no Spanish VAT to businesses in other countries.

The tricky part is the ads you buy for clients from foreign platforms: they fall under the reverse charge and, depending on how you invoice them, they change your VAT and your turnover.

The IAE heading (epígrafe) of a marketing agency: group 844

“Advertising, public relations and similar services”, in section one. The Directorate General for Taxes (DGT) places social media management, websites, strategic advice and corporate videos there (ruling V2008-21); if you also design and build the websites, add group 845. Even though you register with the Spanish Tax Agency under that heading, no IAE is paid for the first two years of activity or, after that, while turnover stays below €1 million; individuals never pay it.

If you work alone as a self-employed professional (autónomo), your group is 751 of section two, and your business clients withhold 15% from your invoices, or 7% when you are starting out.

VAT for a digital marketing agency

CustomerYour invoice
Business or self-employed person in Spain21% VAT
Business in another EU country with an EU VAT numberNo Spanish VAT, with the note “reverse charge”; registration in the ROI and modelo 349
Business outside the EUNo VAT: outside the scope of Spanish VAT

The ads you buy from platforms

Advertising platforms usually invoice from another country: you self-assess the VAT and deduct it on the same modelo 303 (reverse charge). You need to be on the Register of Intra-Community Operators (ROI) and, if the supplier is in the EU, report the purchase on modelo 349 (we explain it in the ROI and VAT on what you pay abroad). There are two ways to pass the cost on to the client:

You buy and re-invoiceYou pay on the client's behalf (disbursement)
Platform invoiceIn the agency's nameIn the client's name
Your invoice to the client21% on everything: fees and ads21% on your fees only; the disbursement carries no VAT
VAT on the adsYou report it and deduct itNot yours: you do not deduct it
Your turnoverFees plus ads, if you act as principalFees or commission only

A disbursement requires the client's express mandate, paying in the client's name and on their behalf, and evidence of the exact amount. Turnover matters: the reduced corporate tax rate and the IAE exemption depend on it.

Withholding: who an agency withholds from

  • Freelancers. Copywriters, designers or developers who invoice you as self-employed professionals: 15%, or 7% in the year they start and the next two if they tell you so. Modelos 111 and 190.
  • Your office landlord. 19% of the rent (modelos 115 and 180).
  • Not a company. Services invoiced by another agency or by a studio that is a company carry no withholding.

If you pay content creators in products, see payments in kind to influencers.

If the agency is a company

15% corporate income tax in the first year with a positive taxable base and the following year; after that, with turnover below €1 million in the previous year, 19% on the first €50,000 of taxable base and 21% on the rest for tax years starting in 2026, and 17% and 20% from 2027. The software you invoice with must meet the invoicing systems regulation (Verifactu).

Three mistakes we see

  • Deducting VAT on ads invoiced in the client's name, or treating them as a disbursement without a mandate.
  • Paying foreign platforms for advertising without being on the ROI or reporting their VAT.
  • Not withholding from self-employed freelancers and then facing an adjustment of your modelo 111.

Frequently asked questions

What IAE heading (epígrafe) does a digital marketing agency have?

Group 844, “Advertising, public relations and similar services” (ruling V2008-21 of the Directorate General for Taxes). If you also produce videos for your own channels, that goes under heading 961.1.

How do I invoice the ads I pay for on behalf of my client?

If the platform invoices you, you re-invoice them with 21% VAT and they are your income. If the invoice is in the client's name and you advance the payment under their express mandate, it is a disbursement: you charge it without VAT, at the exact amount, and you do not deduct its VAT.

Do I have to withhold tax from a freelancer who invoices me?

Yes, if they are a self-employed individual professional: 15%, or 7% if they tell you they are in their first year of activity or the next two. If a company invoices you, there is no withholding.

Does an agency pay the “Google tax”?

No. The Tax on Certain Digital Services (3%) covers online advertising, but only for companies with more than €750 million in turnover and more than €3 million of revenue from those services in Spain.

Shall we look at your case?

This page covers the essentials for your profession. At DPL Asesores we handle the accounts and taxes of businesses like yours across Spain, remotely. Book a 15-minute call or write to us through the form.