"I don't know which IAE code fits my business" is the question Reglapp clients ask our AI assistant most often. An artist who sells paintings and handmade figurines. A 3D-printing maker. A travel blogger selling ads, guides and consultations. A teacher who wants to run group classes.
Here is what the code is, what it affects and how to choose it so you don't overpay or run into trouble with the tax office.
Updated 19 November 2026.
What the IAE code is
An epígrafe is an activity code from the official list of the Impuesto sobre Actividades Económicas (IAE, the business activity tax). You declare it when you register with the tax office (Hacienda) using Modelo 036 or 037. The list is set out in Royal Legislative Decree 1175/1990.
Individuals don't actually pay the IAE: autónomos are fully exempt. But the code is mandatory because it determines:
- whether your clients withhold income tax (IRPF) from your invoices;
- whether you have to file Modelo 130 every quarter;
- whether your service carries VAT (IVA) or is exempt;
- whether you can use special regimes such as módulos or the equivalence surcharge for retailers.
Three sections: business, professional and artistic
The IAE list is divided into three sections:
- Section 1 — business activities. Trade, manufacturing and business-type services: an online shop, a workshop, repairs, hospitality.
- Section 2 — professional activities. Services provided personally as a professional: developer, translator, marketer, designer, consultant, teacher.
- Section 3 — artistic activities. Performing arts: musicians, actors, artists.
The biggest practical difference is IRPF withholding. If you are a professional (Section 2) and invoice a Spanish company or another autónomo, the client withholds 15% (7% in your first years of activity) and pays it to Hacienda on your behalf. Most Section 1 codes have no withholding, but you file Modelo 130 every quarter.
How to choose your code in 4 steps
Step 1. Describe what you are actually paid for
Not "I'm a freelancer", but something concrete: "I write code to order", "I sell finished figurines on Etsy", "I teach group drawing classes". The code follows what you sell, not the job title on your CV.
Step 2. Identify your main income stream
If you have several, start with the biggest one. A travel blogger who earns mostly from sponsored integrations is mainly doing advertising work; guides and consultations are secondary activities.
Step 3. Look up the code in the official list
Use the text of Royal Decree 1175/1990 or the activity search on the Agencia Tributaria website. Aggregator sites are useful for orientation but sometimes list outdated codes.
Step 4. Check the consequences
See what the code means for IRPF, VAT and quarterly returns. If two codes fit equally well, choose the one that describes the activity more accurately: a formal "saving" is not worth the risk of being reclassified.

Can you have more than one code?
Yes. One autónomo can register several activities, for example a professional one (consulting) and a business one (selling products). Income and expenses are tracked separately for each code, and each has its own withholding and filing rules.
An artist who paints and sells her own pictures and also sells mass-produced figurines of her own design is a classic two-code case: an artistic activity plus manufacturing or trade.
VAT doesn't depend on the code alone
The code helps, but what matters is the nature of the service. An example from client questions: a teacher registered under code 826 (teaching staff for various subjects). Private lessons given by an individual are VAT-exempt (VAT Act 37/1992, art. 20.1.10º). Selling a pre-recorded online course, however, is an electronic service with different rules. Group classes, courses or book clubs need to be assessed on their content: what exactly you sell and to whom.
What to do if you chose the wrong code
You can change your code or add a new one with Modelo 036 or 037 (a change declaration). It's free. The key is to do it before you start the new activity or issue your first invoice for it.
If you've been working under the wrong code for a while, don't just switch it: ask your gestor to check how it affected VAT, withholding and Modelo 130 in previous quarters.
How Reglapp helps
When we register you as an autónomo, we choose the code based on what you actually do and, if you have several activities, set up separate bookkeeping for each. Reglapp's AI assistant answers questions about codes 24/7, and your personal gestor checks the final choice.