Coffee Robot Deployment in Spain: Permits, Taxes and the 10-Week Timeline
Spain is one of the most coffee-driven markets in Europe and one of the least automated. But the paperwork catches out first-time operators — a licence route, a food registration, an invoicing deadline in 2027 and a tax election that can move your payback by two months. Here is the full compliance and cost picture, using the Madrid deployment as the reference case.

At a glance
Deployment and payback figures come from the Madrid case study and the European ROI benchmark, where the full eight-month operating curve is published. Tax and social security figures are Spanish 2026 rates.
Why Spain, and why the maths is unusual
Spain has one of the highest rates of out-of-home coffee consumption in Europe. The morning coffee is a social institution, not a commute refuel — people drink it standing at a bar, slowly, often twice a day. That frequency is exactly what an automated coffee business needs, because the machine's economics depend on repeat visits, not on large individual transactions.
But Spain is also a low-ticket market, and that is the constraint that shapes everything else. As of 2026, an indicative price for a café con leche or café solo looks roughly like this:
| Location type | Indicative price |
|---|---|
| Neighbourhood bar, small municipality | €1.30 – €1.80 |
| Medium-sized city | €1.50 – €2.20 |
| Large city centre | €2.00 – €3.00 |
| Tourist area or premium terrace | €2.50 – €3.50+ |
| Specialty coffee shop | €2.50 – €4.00+ |
Indicative ranges compiled from Spanish market reporting for 2026. Not an official tariff — prices vary by city, neighbourhood, service type and season.
What this means for a robot, stated plainly
The Madrid deployment runs at an average ticket of €3.50. Look again at the table above: that sits at the top of the range for a Spanish city centre, and above it for most of the country.
This is the single most important thing to understand before you start. The machine is not competing on price. It cannot — a bar two streets away sells coffee for €1.50 and has done for years. The robot has to be worth a premium, and it earns that premium through four things a bar cannot offer:
- 24-hour availability. The Madrid unit trades around the clock, including the hours when every bar in the city is closed.
- Consistency and speed. No queue, no variability, no waiting for a barista to finish a conversation.
- Location without a lease. A machine fits in a corridor, an entrance or a service area where no café could ever be built.
- The novelty factor. Robotic arms pouring latte art are still a spectacle in Spain, and spectacle converts footfall into trial.
The timing argument
Coffee prices in Spain have risen sharply — market reporting through 2026 describes year-on-year increases around 20% — driven by green bean prices, energy, wages and commercial rents. That pressure squeezes traditional café margins hard, because a café carries staff, rent and fit-out costs that do not flex with volume.
A coffee robot carries the same ingredient exposure but a very different cost structure: no front-of-house staff, no fixed rent if you negotiate a revenue share, and a footprint measured in square metres rather than a shopfront. When the input cost rises for everyone, the operator with the lowest fixed cost base is the one who survives it.
Rising coffee prices cut both ways. A machine buying the same green beans at the same inflated price has the same ingredient exposure as a bar. What differs is everything else. If you are modelling a deployment, model a 15–20% rise in ingredient cost over your first two years and check the payback still works — the cost and ROI breakdown walks through how to do that.
The five registrations you need
Spain does not have a single "vending licence". It has a stack of registrations that sit at three levels — national tax, national food safety, and municipal. Most of them are cheap and fast. One of them is neither, and it is the one people underestimate.
Work through them in this order, because each one depends on the previous.
Alta censal — Modelo 036 or 037
Before you can trade, you must register your activity with the Agencia Tributaria (AEAT). This declares what you do, where, and under which legal form. Modelo 037 is the simplified version for straightforward cases; Modelo 036 is the full version and is what you will file if you register as a company or have more complex circumstances.
You will also need to select your IAE epígrafe — the activity classification code. Vending and automated retail typically fall under an epígrafe in the 619 or 647 range depending on your model and sales area, but the exact code matters for both tax and municipal purposes, so confirm it with your advisor before filing rather than copying a code from a forum.
RETA registration, or company constitution
If you operate as a self-employed individual you register under RETA (Régimen Especial de Trabajadores Autónomos). If you incorporate a Sociedad Limitada, you register as an autónomo societario instead.
This choice is not administrative trivia — it determines your social security cost, your profit tax, and whether you can recover the IVA on your machine. We come back to it in section 05, because it is the most expensive decision in this list.
RGSEAA food business registration
Anyone storing, handling, distributing or supplying food and beverages must be registered in the Registro General Sanitario de Empresas Alimentarias y Alimentos (RGSEAA), or the equivalent registry of your autonomous community. Selling coffee and milk counts. Details in section 04.
Licence, declaración responsable, or comunicación previa
The municipal route depends on the premises and the activity. For most machine installations this is the lightest of the three options — but it changes entirely if you are placing on public pavement or in a third party's building. Details in section 03.
Civil liability insurance
Spain does not impose one blanket compulsory insurance for vending. In practice, a seguro de responsabilidad civil is non-negotiable: it covers third-party damage from the machine itself, from installation defects, and from product-related incidents. Any shopping centre, supermarket or transport operator you negotiate with will require it before they let you install.
Add a seguro de daños for the machine, stock and payment equipment against theft, fire, vandalism and breakdown. The Madrid cost model carries €120 a month covering both equipment and liability.
| Requirement | Authority | When | Status |
|---|---|---|---|
| Alta censal (036 / 037) + IAE epígrafe | AEAT | Before trading | Mandatory |
| RETA, or company constitution | Seguridad Social | Before trading | Mandatory |
| RGSEAA food registration | AESAN / autonomous community | Before trading | Mandatory |
| Municipal licence / declaración responsable | Ayuntamiento | Before trading | Mandatory |
| Civil liability + equipment insurance | Private insurer | Before install | Required by site owner |
| Contrato de cesión (third-party premises) | Site owner | Before install | Site dependent |
| Certified invoicing software (Ley Antifraude) | AEAT | 1 Jul 2027 for autónomos | Deadline 2027 |
| Packaging EPR / RPP registration | MITECO | If you are the producer | Depends on model |
A general orientation, not legal or tax advice. Requirements vary by autonomous community and municipality. Confirm every item with a Spanish asesoría before you commit capital.
The municipal licence: three routes
Spain's ayuntamientos handle opening permissions, and they offer three different routes. Which one applies to you is determined by the activity's impact and by whose premises you are standing on.
| Route | Applies when | Can you start immediately? |
|---|---|---|
| Declaración responsable | The activity is inocua (harmless) and the premises comply with planning, accessibility and safety rules | Yes — from the moment you file, under your own responsibility |
| Comunicación previa | Lower-complexity openings where you only notify the council | Yes — it is a notification, not an authorisation |
| Licencia de actividad | The activity is classified, or has environmental, acoustic, health or safety impact | No — the council reviews a full technical project before authorising |
For a standalone coffee machine in an existing commercial space, the usual route is the declaración responsable. You file the documentation, pay the municipal tasa de apertura, and you can begin trading. The council checks later rather than in advance, which is why the declaration carries your personal responsibility for its accuracy.
The licencia de actividad route is where timelines blow out, because the council reviews the file before you open. It is normally triggered by the premises rather than the machine — a space being converted, or one with extraction, acoustic or public-access implications.
Whose floor you are standing on changes everything
This is the part that catches operators out, and it maps directly onto the site deals you will be negotiating.
| Site type | What you additionally need |
|---|---|
| Your own commercial premises | Council verifies planning use and building compatibility |
| Leased premises | Rental contract plus the landlord's written authorisation |
| Third-party building (shopping centre, supermarket, hospital, station, petrol station) | A signed contrato de cesión o explotación with the space owner, plus their internal authorisation |
| Public pavement or plaza | A concesión municipal — the slowest and most competitive route |
Both the Madrid and Sofia deployments sit in the third row. Carlos Méndez's machine stands in a shopping centre corridor under a revenue-share agreement; the Sofia robot stands at a Kaufland supermarket entrance. In both cases the site owner's internal approval process is a real gate, and it usually takes longer than the municipal filing.
That is why the contrato de cesión deserves as much attention as the licence. It is where you negotiate the occupancy structure — revenue share versus fixed rent — which is the single biggest determinant of whether your first quarter is survivable. The Madrid deal runs at 18% of revenue with no fixed rent, and the benchmark analysis shows how much that clause was worth during the ramp.
Do not order the machine before the site contract is signed and the licence route is confirmed. The Madrid deployment took ten weeks from contract to first cup, but that clock started after the site was secured. Every week you spend resolving a licensing question after the machine has shipped is a week of committed capital earning nothing.
Food safety: RGSEAA and what it actually demands
Selling coffee and milk is a food activity. That means registration in the RGSEAA — the national food business registry maintained by AESAN — or the equivalent registry of your autonomous community, depending on the territorial scope of your activity.
Registration is triggered when you store, handle, package, distribute or supply food products. A machine that holds milk, dispenses it and stores dry ingredients behind a service door is doing all of those things. What you cannot do is assume that because the machine is automated and sealed, food hygiene rules do not apply to you. They do.
What registration obliges you to do
The registration itself is a filing. The obligations it brings are operational, and they are what you need to design into your routine from day one.
- An APPCC-based self-control system — a HACCP-style plan covering your specific process: receiving goods, storage, machine loading, cleaning, and what happens when something goes wrong.
- Traceability — you must be able to identify where a batch of milk or beans came from and which days it was in the machine. In practice this means keeping supplier invoices and a simple loading log.
- Temperature control — documented. Milk and any perishable ingredient must be held within range, and you need records to prove it. This is the obligation most first-time operators fail on, because a machine does not record it for you unless you ask for that feature.
- Cleaning and hygiene schedule — written, with a record of when each task was completed.
- Withdrawal procedure — a defined process for removing and quarantining non-conforming product, and for notifying the authority if a product safety issue arises.
This is where a connected machine earns its keep. Cup counts, drink mix, uptime, milk temperature and error logs are already being generated by the unit — the question is whether they are stored in a form you can hand to an inspector. Before you buy, ask whether the platform can export a hygiene and temperature log by date range. If it cannot, you will be reconstructing it by hand, and that is a recurring monthly cost nobody puts in the ROI model.
Our deployment process covers how monitoring, servicing and compliance records are set up during commissioning.
Two extra restrictions worth knowing
Spain applies additional restrictions on what can be sold in educational centres and sensitive spaces, particularly around sugary drinks and products with certain nutritional profiles. If you are evaluating a school, a sports centre or a hospital as a site, check the applicable regional rules before you commit — the machine may be perfectly legal while a specific product line is not.
If your range includes alcohol or tobacco, both carry excise duties and specific sales restrictions on top of the general IVA rate. That moves you out of the scope of a standard coffee deployment and into a different regulatory conversation.
The registrations cost you a few hundred euros. The tax election can cost you eight thousand. Do not spend three weeks on the first and ten minutes on the second.
Moocoo ResearchSpain deployment guide, October 2026
The tax election worth €8,000
This is the section most deployment guides skip, and it is the one with the largest single euro impact on your payback.
First: the €3.50 is not all yours
In Spain, prices shown to consumers are IVA-inclusive. Coffee sold through a vending machine falls under the reduced 10% rate for food and non-alcoholic beverages — not the 21% general rate that applies to, say, soft drinks and alcohol.
So of every €3.50 a customer pays, the IVA component is roughly €0.32. What happens to that €0.32 depends entirely on which regime you are in.
Second: the two regimes behave completely differently
| Consideration | Autónomo in recargo de equivalencia | Sociedad Limitada (general IVA regime) |
|---|---|---|
| Quarterly IVA returns on sales | No — the surcharge mechanism replaces them | Yes — Modelo 303, four times a year |
| IVA on purchases from suppliers | You pay IVA plus a surcharge (1.4% on 10%-rate goods) | You pay IVA and deduct it |
| IVA on the machine | Not recoverable | Deductible |
| Profit tax | IRPF, progressive | Impuesto de Sociedades — 25%, or 15% for the first two years with a positive base for newly created companies |
| Liability | Unlimited — your personal assets are exposed | Limited to the capital contributed |
| Administrative load | Lighter | Heavier |
Simplified comparison for orientation. The recargo de equivalencia regime applies to retailers operating as natural persons and brings specific rules about which purchases it covers. This is precisely the question to put to a Spanish asesor — the answer depends on your circumstances and on how the machine is classified.
Why this is an €8,000 question
The machine costs €38,500. Spanish IVA on capital equipment is 21%. That is roughly €8,085 of IVA on a single line item of your investment.
In the general regime, you deduct it. In the recargo de equivalencia regime, the whole point of the mechanism is that you do not reclaim input IVA — you accept a surcharge on purchases instead of filing returns. On a business with a €43,450 upfront capital cost, that difference is not a rounding error. It is roughly 19% of your entire investment, and it lands in month one.
Why it is not a simple answer
Three things complicate it, and this is why it belongs with your advisor rather than in a blog post:
- Recargo de equivalencia applies to retail sales by natural persons — but the precise treatment of a fixed asset like the machine, as opposed to goods bought for resale, is exactly the kind of question that has a specific answer under the regulations.
- Import matters. If the machine arrives from outside the EU, the IVA is charged at import and the recovery route depends on your regime.
- The legal form has other consequences — liability, financing, and how you can bring in a partner later. Optimising only for IVA can produce the wrong answer overall.
The four questions to put to your asesor
Take these, in this order, before you sign the machine order:
- Given my circumstances, which regime will I be in — recargo de equivalencia or the general IVA regime?
- If I am in recargo de equivalencia, can I recover any of the IVA on the machine, and if not, what is the exact unrecoverable amount on a €38,500 unit?
- If I incorporate an SL instead, what is my total first-year cost — social security as an autónomo societario, plus the Impuesto de Sociedades position?
- Which answer produces the lower total cost over three years, given that the machine is 88.6% of my capital investment?
The Madrid benchmark's net profit figures are stated on gross ticket value. If you operate under the general regime, deduct the 10% coffee IVA from revenue before comparing your own model to those numbers.
The real cost stack in Spain
The Madrid case study publishes a full capital and operating breakdown. Here it is, followed by the Spain-specific business overheads that sit outside it — the ones that appear on your bank statement but not in a machine-focused ROI model.
Capital investment — the reference deployment
| Capital item | Amount |
|---|---|
| Moocoo coffee robot unit | €38,500 |
| Shipping & customs (Shenzhen → Valencia → Madrid) | €2,200 |
| Installation & on-site technician | €1,500 |
| Initial inventory (beans, milk, cups, syrups) | €800 |
| Electrical minor works | €450 |
| Payment terminal setup | €0 (included) |
| Total initial investment | €43,450 |
Budget 11–13% above the quoted machine price to reach a trading unit. The two lines most often omitted at budgeting stage are shipping and customs, and the electrical connection.
Monthly operating cost — as published
| Cost line | Monthly (EUR) |
|---|---|
| Location commission (18% of revenue) | €1,134 |
| Restocking labour (part-time, 1 hr/day) | €550 |
| Coffee beans (Arabica blend, 18 kg/mo) | €430 |
| Milk & dairy alternatives | €320 |
| Cups, lids, napkins, stirrers | €180 |
| Maintenance reserve | €150 |
| Insurance (equipment + liability) | €120 |
| Electricity (dedicated circuit) | €110 |
| Syrups & flavourings | €95 |
| Internet (dedicated 4G router) | €35 |
| Total monthly OpEx | €3,124 |
The Spain-specific overheads this table does not include
The €3,124 covers running the machine. Running a Spanish business adds two lines that a machine-focused model misses entirely.
| Line | Monthly | Notes |
|---|---|---|
| Social security — autónomo | €88.64 | 2026 flat rate (tarifa plana), first 12 months, MEI included. From month 13 this rises to roughly €200–230 on the lowest contribution brackets |
| Accounting / asesoría | €50 – €150 | Typical range for an autónomo in 2026, depending on invoice volume and services |
| Spain-specific overhead added | €139 – €239 | Month 1, autónomo route |
The €88.64 flat rate lasts twelve months. The second-year extension is no longer automatic — it now depends on your net income in year one being below the SMI. Assume that from month 13 you will pay the standard bracket rate, roughly €200–230 at the lowest income bands.
That is an extra €1,300–1,700 a year appearing in month 13, right around the point where you have just finished paying back the machine. Build it into the model now, not into a surprise later.
One more thing to plan for
Some autonomous communities offer a cuota cero — a 100% rebate of the social security contribution for new autónomos in year one. If your chosen region offers it, your month-one social security cost is effectively zero and the business overhead above drops by €88.64. The tarifa plana itself must be requested at the moment of registration; if you do not claim it when you file, you lose it for the year.
Municipal opening fees (tasa de apertura) are set by each council's own tax ordinance and scale with premises size, so there is no national figure to quote. Expect a few hundred euros, and confirm the amount with the specific ayuntamiento before you sign a lease.
Where the economics actually work

Three requirements, in order of importance
Dwell time. People have to be somewhere without being in a hurry. A commuter concourse can carry 100,000 people a day and sell nothing, because nobody stops.
Repeated footfall. The ramp in the Madrid data takes eight months to flatten. That curve is built on people who come back — the same commuters, the same shift patterns, the same Saturday routine. A one-off tourist crowd gives you a spike, not a curve.
Price tolerance. The site has to support a €3.50 average. This is the requirement that rules out most of Spain.
Which sites carry a €3.50 ticket
Working backwards from the price point rather than forwards from the footfall is the fastest way to filter a site list. A location can support the premium if the customer is a captive audience, if the alternative is inconvenient or closed, or if the setting itself justifies the price.
| Site type | Dwell | Repeat | Price tolerance | Verdict |
|---|---|---|---|---|
| Shopping centre, main corridor | High | High | High | Reference case — Madrid |
| Supermarket entrance | Medium | Very high | Medium | Works — Sofia model |
| Shopping mall entrance | Low–medium | High | Medium | Works — İzmit model |
| Hospital, clinic, large office campus | High | Very high | Medium–high | Strong if the alternative is a vending machine |
| Transport hub (station, airport) | Low | Medium | Very high | High price tolerance offsets low dwell |
| University campus | High | Very high | Low | Volume play — check regional product rules |
| Residential neighbourhood | Low | High | Very low | Avoid — bars win on price |
The localisation detail that matters
The Madrid machine's drink mix is 42% café con leche, 22% espresso, 18% Americano, 12% Café Bombón and 6% specialty drinks. That is a Spanish menu, not a generic one — Café Bombón is condensed milk and espresso, and it is not a drink most international deployments would carry by default.
Two things follow. First, the menu has to be configured for the market you are entering, and that configuration is part of your deployment lead time. Second, the mix has a direct margin consequence: milk-heavy drinks carry the lowest margin, which is why 40% of Madrid's volume sits in espresso and Americano. A site whose customers overwhelmingly want large lattes will run a lower gross margin than the reference case.
Before you approach a site owner, test the location against one question: what does the nearest coffee alternative cost, and how inconvenient is it? If the answer is "€1.50 and it's forty metres away," the site will not carry €3.50 and no amount of operational excellence will fix it.
The ten-week deployment timeline
The Madrid deployment ran ten weeks from contract to first trading day. The mistake operators make is treating that as a single sequential process. It is two tracks — physical and administrative — and they must run in parallel. If you file the registrations only after the machine lands, you add weeks of idle capital.
| Week | Physical track | Administrative track |
|---|---|---|
| 1–2 | Site assessment — footfall, dwell, power, footprint, access | Engage asesoría; confirm legal form and IAE epígrafe |
| 2–4 | Machine configuration; branding, livery, cup design, on-screen menu and pricing | Alta censal (036/037); RETA or company constitution; claim tarifa plana if eligible |
| 2–4 | Site contract signed — contrato de cesión, occupancy terms | File RGSEAA registration; begin APPCC self-control plan |
| 3–8 | Manufacture, shipping and customs clearance (Shenzhen → Valencia → site) | Municipal filing — declaración responsable or licence route; pay tasa de apertura |
| 8–9 | Installation and commissioning; electrical connection; drink calibration | Civil liability and equipment insurance bound; hygiene records and temperature logging configured |
| 10 | Go live — trading 24/7 | Invoicing system verified against Ley Antifraude requirements |
The critical path is usually the machine itself — manufacture plus shipping plus customs is six to seven weeks and it cannot be compressed by working harder. The administrative track fits inside that window comfortably if you start it in week one.
The two items most likely to extend the timeline are a licencia de actividad route at the municipality (which requires prior review) and a slow internal approval process from a large site owner. Both are outside your control, so both are reasons to begin negotiations earlier than feels necessary.
Every week between paying for the machine and switching it on is a week of committed capital with zero revenue. The benchmark analysis puts the cost of a slow start at roughly €29,000 over eight months on a single machine — the profit the Madrid operator gave up purely to the ramp. Compressing the deployment timeline is one of the highest-value things you can do, and it costs nothing but preparation.
Invoicing: the 2027 deadline to plan for now
Spain is in the middle of a significant change to business invoicing, and the deadlines land in 2027. If you are choosing an invoicing or POS system for a deployment now, choosing the wrong one means replacing it within a year.
Two separate obligations, often confused
The anti-fraud law (Ley 11/2021) requires businesses to use invoicing software that guarantees the integrity, traceability and inalterability of billing records. The technical regulation is set out in Orden HAC/1177/2024. In practice, you need a certified Sistema Informático de Facturación (SIF).
The Crea y Crece law (Ley 18/2022) introduces obligatory B2B electronic invoicing between businesses and professionals. Its deadlines are not fixed dates — they are triggered by publication of the implementing regulation, at which point larger companies get 12 months and everyone else gets 24.
| Obligation | Who | Deadline |
|---|---|---|
| Certified invoicing software (Ley Antifraude) | Companies subject to Corporate Tax (SL, SA) | 1 January 2027 |
| Autónomos and entities not subject to Corporate Tax | 1 July 2027 | |
| Obligatory B2B e-invoicing (Ley Crea y Crece) | Turnover above €8 million | 12 months after the implementing regulation |
| Turnover below €8 million and autónomos | 24 months after the implementing regulation |
Deadlines per Spanish invoicing regulation as reported in 2026. The Crea y Crece timetable runs from publication of the implementing regulation rather than from a fixed calendar date — confirm current status with your asesor, as this area has been moving.
What to do about it
- Choose a certified system from the start. Ask any invoicing or POS vendor directly whether their software complies with the anti-fraud requirements. If they cannot answer clearly, that is your answer.
- Plan for structured formats. Once B2B e-invoicing applies, unstructured PDFs will no longer be valid between businesses. Formats such as Facturae, UBL or EDIFACT will be required. If you invoice a site owner for a revenue-share settlement, this applies to you.
- Get a digital certificate. Electronic signing will be required, and obtaining a certificate takes time.
- Understand the exposure. Using non-certified software when obliged to carries a penalty of up to €50,000 per fiscal year. This is not a compliance detail to defer.
For a single-machine operation this is manageable, but it belongs in the week-one checklist rather than the year-two backlog — particularly because it affects which invoicing system you integrate with the machine's payment platform.
Packaging: the obligation most operators miss
A coffee business is a packaging business. Cups, lids, stirrers, napkins and the film around your bean sacks are all packaging, and Spain regulates them under one of the more demanding regimes in Europe.
The plastic tax
Since January 2023, Spain levies a special tax on non-reusable plastic packaging at €0.45 per kilogram of non-recycled plastic, under Articles 67–83 of Ley 7/2022. Recycled plastic content is exempt where it is certified to the relevant standard by an accredited body.
The taxpayer is the manufacturer, importer or intra-EU acquirer — not the final retailer. So if you buy cups from a Spanish supplier, the tax is embedded in the price you pay. You only become the taxpayer yourself if you import packaging directly from outside Spain. Small imports of under 5 kg of non-recycled plastic are exempt.
Extended Producer Responsibility
Ley 7/2022 and Real Decreto 1055/2022 extended full producer responsibility to commercial and industrial packaging. Anyone placing packaging on the Spanish market must register in the Registro de Productores de Productos (RPP) at MITECO, join a SCRAP collective scheme, and file an annual packaging declaration by 31 March. Producers placing under 15 tonnes a year file a simplified declaration.
Not registering is classified as a serious infraction, with fines from €2,001 to €100,000.
There is an important exception for service packaging — packaging filled at the point of sale, which is what a coffee cup is. For service packaging, and for some businesses placing under 50 tonnes of commercial and industrial packaging, the packaging supplier registers instead of the operator.
In practice this means a single-machine operator buying branded cups from a Spanish supplier is often not the obligated party. But "often" is not "always", and the answer depends on your volumes and on how the supply chain is structured. The practical step is a question to your cup supplier: do you hold the RPP registration and SCRAP membership for these cups? Get the answer in writing before you place a large order.
Why this matters commercially, not just legally
Packaging obligations are eco-modulated — the contribution you pay to a SCRAP varies with the material and weight of what you place on the market. That gives you a direct financial reason to choose cup specification deliberately rather than by default.
It also connects to a number you are already tracking. Cups, lids, napkins and stirrers are the €180 monthly line in the Madrid cost model. Moving to a lighter or more recyclable cup reduces both that line and any packaging contribution attached to it. On a business running 185 cups a day, small per-unit changes compound quickly.
Pre-deployment checklist
Site contract signed, with occupancy terms fixed
Revenue share or fixed rent, decided in writing. Do not order the machine before this is done.
Municipal route confirmed with the ayuntamiento
Declaración responsable, comunicación previa, or licencia de actividad — and the tasa de apertura amount.
Legal form decided, with the IVA question answered
Put the four questions from section 05 to your asesor before signing the machine order.
IAE epígrafe confirmed, not copied
Wrong codes cause problems at both tax and municipal level.
RGSEAA registration filed, APPCC plan drafted
Including documented temperature control and a cleaning schedule you will actually follow.
Insurance quoted and bound before installation
Civil liability plus equipment cover. Site owners will require evidence of it.
Certified invoicing system selected
Compliant with Ley Antifraude ahead of the 2027 deadlines.
Packaging position clarified with your cup supplier
Do they hold the RPP registration and SCRAP membership for the cups you will use?
Machine telemetry specified for compliance records
Confirm the platform can export hygiene and temperature logs by date range before you buy.
Year-two cost modelled, not just year one
Social security rises from €88.64 to roughly €200–230 in month 13. Model it now.
Ingredient cost sensitivity tested
Re-run your payback with a 15–20% rise in green bean cost over two years.
Site tested against the nearest coffee alternative
Price and inconvenience of the alternative decide whether the site carries a €3.50 ticket.
Frequently asked questions
Do I need a licence to operate a coffee robot in Spain?
There is no single "vending licence" in Spain. You need a stack of registrations at three levels: national tax registration with AEAT (Modelo 036 or 037, plus an IAE epígrafe), social security registration under RETA or a company constitution, food safety registration in the RGSEAA, and a municipal opening permission from the ayuntamiento.
For most standalone machine installations the municipal route is a declaración responsable, which lets you begin trading as soon as you file and pay the municipal fee. If your site is a shopping centre, supermarket or hospital, you additionally need a signed contrato de cesión o explotación with the space owner.
How much does it cost to register as an autónomo in Spain in 2026?
The 2026 flat rate (tarifa plana) for new autónomos is €80 a month on the contribution base, which works out at €88.64 a month including the MEI. It applies for the first twelve months.
The second-year extension is no longer automatic — it now depends on your net income in year one being below the SMI. From month 13, expect to pay roughly €200–230 a month at the lowest income brackets, rising to around €590 a month at the top bracket.
Two things worth knowing: the flat rate must be requested at the moment you register, or you lose it for the year. And some autonomous communities offer a cuota cero rebate that reduces the year-one contribution to zero.
What IVA applies to coffee sold from a vending machine in Spain?
Coffee sold through a vending machine falls under the reduced 10% rate for food and non-alcoholic beverages — not the 21% general rate that applies to soft drinks, alcohol and non-food items.
The important consequence is that Spanish retail prices are displayed IVA-inclusive. Of a €3.50 ticket, roughly €0.32 is IVA. Whether you remit that to AEAT or retain it depends on your regime: under the general IVA regime you file quarterly returns, while an autónomo in the recargo de equivalencia regime pays a surcharge on purchases instead of filing IVA on sales.
This choice has a large financial consequence, because the IVA on your machine may or may not be recoverable depending on which regime applies. See section 05.
Do I need food safety registration for a coffee robot?
Yes. Selling coffee and milk is a food activity, so you must register in the RGSEAA (or your autonomous community's equivalent registry) if you store, handle, distribute or supply food products — which a machine holding milk and dry ingredients does.
Registration brings operational obligations: an APPCC-based self-control system, traceability records, documented temperature control, a written cleaning schedule, and a procedure for withdrawing non-conforming product.
The obligation most operators underestimate is temperature logging. A machine does not produce those records automatically unless the platform is configured to, so check that it can export them before you buy.
How long does it take to deploy a coffee robot in Spain?
The Madrid deployment took ten weeks from contract to first trading day. Manufacture, shipping and customs clearance from Shenzhen via Valencia account for six to seven weeks of that and cannot be compressed.
The key to hitting ten weeks is running the administrative track in parallel rather than sequentially. Site assessment and lease negotiation, tax registration, food safety registration and the municipal filing should all happen during weeks one to four — while the machine is still being built.
The two factors most likely to extend the timeline are a licencia de actividad route at the municipality, which requires prior review, and a slow internal approval process from a large site owner.
What are the invoicing obligations for a vending business in Spain?
Spain's anti-fraud law (Ley 11/2021) requires invoicing software that guarantees the integrity, traceability and inalterability of billing records, under the technical regulation Orden HAC/1177/2024. The deadline is 1 January 2027 for companies subject to Corporate Tax and 1 July 2027 for autónomos.
Separately, the Crea y Crece law (Ley 18/2022) introduces obligatory B2B electronic invoicing, with deadlines triggered by publication of the implementing regulation — 12 months for companies above €8 million turnover, 24 months for everyone else.
Using non-certified software when you are obliged to carries a penalty of up to €50,000 per fiscal year, so this is worth resolving when you choose your systems rather than in 2027.
Planning a deployment in Spain? Start with the site, not the machine
Send us the location — footfall, dwell time, the nearest coffee alternative and the occupancy terms on the table — and we will work through the site economics with you before you commit capital.
This article is general orientation on Spanish regulatory and cost matters, not legal, tax or accounting advice. Requirements vary by autonomous community and municipality and change over time. Verify every item with a qualified Spanish asesoría before committing capital. Deployment and payback figures relate to the specific Madrid deployment described and are not a forecast for any other site.