Banking Law And Last-Mile Delivery Finance Spain .
Banking Law and Last-Mile Delivery Finance in Spain
1. Introduction
Last-mile delivery finance refers to the financing of businesses and infrastructure involved in the final stage of transporting goods from a warehouse, distribution centre, store or logistics hub to the customer.
In Spain, this sector has grown alongside e-commerce, digital delivery platforms, urban logistics, grocery delivery and rapid-delivery services.
There is no separate Spanish statute called the “Last-Mile Delivery Finance Law.” Instead, financing transactions are governed by a combination of:
Spanish banking law;
EU banking regulation;
commercial and contract law;
secured-transactions law;
insolvency law;
labour and social-security law;
digital-platform regulation;
competition law;
transport regulation;
data-protection law; and
environmental and urban-mobility requirements.
The subject is particularly important for banks because last-mile businesses often depend on technology platforms, large numbers of workers or subcontractors, vehicles, warehouses and highly time-sensitive logistics networks.
Consequently, financing a last-mile delivery company requires both ordinary credit analysis and careful examination of regulatory risks.
2. Main Types of Last-Mile Financing
Spanish banks and other finance providers can support the sector through several structures.
Corporate Loans
A bank may provide a conventional loan to a logistics company to finance expansion, technology or working capital.
The lender normally examines:
revenue;
operating costs;
customer concentration;
profitability;
existing debt;
cash flow; and
regulatory compliance.
Working-Capital Facilities
Delivery companies can experience significant differences between when operating expenses must be paid and when customers pay their invoices.
Revolving credit facilities can help finance this gap.
Vehicle Financing
Last-mile businesses commonly require cars, vans, bicycles and other delivery vehicles.
Banks and specialist finance providers can finance vehicles through loans or leasing arrangements.
Warehouse and Logistics-Hub Finance
Banks may finance:
urban warehouses;
micro-fulfilment centres;
distribution facilities;
automated sorting systems; and
charging infrastructure for electric fleets.
Receivables Finance
Where a logistics company delivers goods for large retailers, its invoices can potentially support factoring or other receivables-finance structures.
3. Banking Regulation
A Spanish bank financing a delivery company remains subject to ordinary prudential banking requirements.
The lender must manage risks such as:
credit risk;
operational risk;
concentration risk;
collateral risk; and
counterparty risk.
A fast-growing delivery company does not become creditworthy merely because its sales volume is increasing.
The lender needs to determine whether the underlying business generates sustainable cash flows.
This is especially important where expansion is financed through continuing losses.
4. Importance of the Rider Law
One of the most important Spanish developments affecting last-mile delivery is Law 12/2021 of 28 September, commonly associated with the “Rider Law.”
The legislation amended the Workers' Statute and introduced a presumption concerning employment in digital-platform delivery.
The presumption applies to paid activities involving the delivery or distribution of consumer products or goods where the business exercises organisational, managerial and control powers directly, indirectly or implicitly through algorithmic management using a digital platform.
This matters significantly for financing.
A lender cannot assess a platform simply by examining delivery revenues.
It must consider whether the company's workforce model creates liabilities involving:
salaries;
social-security contributions;
employment benefits;
employment claims;
regulatory sanctions; and
historic liabilities.
A business valued on the assumption that thousands of couriers are independent contractors can have a very different cost structure if those couriers are legally employees.
5. Algorithmic Management
Digital delivery companies frequently use algorithms to:
allocate orders;
determine routes;
measure performance;
monitor delivery times;
evaluate couriers; and
organise working activity.
Spanish employment law therefore looks beyond the contractual label used by the company.
Calling a person an “independent contractor” does not automatically determine legal status.
The actual relationship between the platform and the courier is crucial.
Spanish Supreme Court jurisprudence emphasises the need to adapt traditional concepts of dependence and working for another's account to modern digital working arrangements.
For banks, algorithmic management therefore creates potential regulatory and financial exposure.
6. Financing Delivery Fleets
Fleet financing represents another important part of last-mile finance.
A lender can finance the acquisition of delivery vehicles and take appropriate security where legally available.
However, the bank should consider more than vehicle values.
Important questions include:
How quickly will the fleet depreciate?
Are vehicles owned or leased?
What maintenance expenses exist?
Are vehicles suitable for urban restrictions?
Could environmental regulation require fleet replacement?
Does the company possess adequate insurance?
Electric fleets can require additional investment in charging infrastructure.
Consequently, the financing model should consider both the vehicles and the infrastructure necessary to operate them.
7. Low-Emission Zones and Urban Regulation
Spain's climate legislation has encouraged the introduction of low-emission zones in certain municipalities.
This can materially affect last-mile logistics.
A delivery company using older vehicles can face:
operating restrictions;
fleet replacement expenses;
route changes; or
increased capital expenditure.
Banks financing long-term fleets should therefore examine whether the vehicles are likely to remain commercially usable throughout the financing period.
A vehicle can remain mechanically functional while becoming commercially less useful because of regulatory restrictions.
8. Warehouses and Micro-Fulfilment Centres
Last-mile delivery increasingly depends on facilities located close to consumers.
These can include small urban warehouses and micro-fulfilment centres.
Banks financing these facilities need to consider:
ownership or lease rights;
planning permission;
permitted use;
environmental restrictions;
access arrangements;
insurance;
location; and
customer demand.
Location can be particularly important because the economic purpose of last-mile logistics is to reduce the distance between inventory and the final customer.
9. Receivables Financing
Consider a Spanish logistics company delivering goods for several major retailers.
The retailers pay invoices after 60 days, while the logistics company must pay wages, fuel, leases and other expenses much earlier.
The company can seek financing against its receivables.
The lender will examine matters including:
whether the receivable legally exists;
whether it is assignable;
whether the customer can raise contractual defences;
concentration in individual customers;
historical payment behaviour; and
whether receivables have already been assigned.
Receivables financing can therefore convert future customer payments into current liquidity.
10. Platform Dependence as Credit Risk
Modern last-mile companies can depend heavily upon digital infrastructure.
Their essential assets may include:
applications;
routing software;
algorithms;
customer databases;
merchant networks; and
courier-management systems.
This creates a form of operational risk different from conventional logistics.
If a company's platform fails, deliveries can stop even though its physical vehicles remain operational.
Banks should therefore examine:
technology resilience;
cybersecurity;
data protection;
business continuity;
outsourcing arrangements; and
intellectual-property rights.
11. Data Protection
Last-mile delivery companies process substantial amounts of personal data.
Examples include:
customer names;
addresses;
telephone numbers;
location information;
purchasing information;
courier location data; and
delivery histories.
The GDPR and Spanish data-protection legislation can therefore be relevant.
For lenders, serious data-protection failures can create regulatory penalties, reputational damage and operating costs.
Data compliance can consequently form part of regulatory due diligence.
12. Insolvency Risk
Last-mile businesses can be vulnerable where rapid expansion is funded primarily through external capital.
If the company becomes insolvent, lenders need to determine the status of their claims and security under Spanish insolvency legislation.
Important assets can include:
vehicles;
warehouses;
receivables;
technology;
intellectual property; and
contractual rights.
However, not every commercially valuable feature of a platform can automatically be treated as freely enforceable collateral.
Data, licences and certain contractual rights may be subject to legal restrictions.
Important Case Laws
Because “last-mile delivery finance” is not an independent field of Spanish case law, the strongest authorities concern platform delivery, employment classification, digital control and transport-platform regulation. These decisions are directly relevant to lenders because they determine liabilities and operating costs that can materially affect a delivery company's ability to repay financing.
1. Spanish Supreme Court Judgment 805/2020 — Glovo
The most important Spanish authority is the Supreme Court's judgment of 25 September 2020 concerning a Glovo courier.
The company had formally treated the courier as an economically dependent self-employed worker.
The Supreme Court examined the actual economic relationship rather than relying solely upon the contractual description.
It concluded that the relationship was an employment relationship.
An important consideration was that the platform represented an essential element of the business. The courier's motorcycle and telephone were significantly less important to the commercial organisation than the digital platform through which the service was organised.
The Court also examined elements of algorithmic control and the company's organisation of the delivery service.
Importance for Banking
This judgment has direct consequences for credit analysis.
If couriers classified as independent contractors are legally employees, the company can face increased:
salary expenses;
social-security costs;
employment liabilities; and
regulatory exposure.
The case therefore shows why employment classification can become a material banking risk.
2. Asociación Profesional Élite Taxi v Uber Systems Spain — Case C-434/15
The Court of Justice considered the legal nature of services supplied through the Uber platform.
The Court concluded that a service connecting non-professional drivers with passengers was inherently linked to a transport service in the circumstances before it.
The platform was therefore not treated merely as a neutral information-society intermediary.
Importance for Last-Mile Finance
Although the case concerned passenger transport rather than parcel delivery, its reasoning is highly relevant to digital logistics.
A technology company cannot necessarily avoid sector-specific regulation simply by describing itself as an online intermediary.
A lender financing a digital delivery platform should therefore examine the company's actual business model, not merely its corporate description.
3. Uber France — Case C-320/16
The Court of Justice again considered regulation of Uber-related transport services.
The judgment followed the reasoning that particular platform-based transport activities could fall within the field of transport rather than being treated solely as information-society services.
Importance
The case reinforces the regulatory principle that digital technology does not automatically remove a business from traditional sector regulation.
For lenders, the classification of a platform can determine:
licensing requirements;
operating restrictions;
compliance costs; and
potential penalties.
These factors can directly affect repayment capacity.
4. B v Yodel Delivery Network — Case C-692/19
This Court of Justice order concerned a parcel-delivery courier whose contract characterised the courier as an independent contractor.
The relevant contractual arrangements included considerable flexibility concerning matters such as accepting work, using substitutes and providing services to competitors.
The Court explained circumstances under which an individual possessing genuine independence may fall outside the EU concept of a worker, while emphasising that the national court must determine whether the apparent independence is genuine.
Importance for Spanish Finance
The decision provides an important comparison with the Spanish Glovo litigation.
Not every courier working through a technology-supported system must necessarily have identical legal status.
The actual relationship matters.
Banks conducting due diligence should therefore examine facts including:
control;
substitution rights;
working-time freedom;
ability to reject jobs;
pricing power; and
ability to work for competitors.
5. Spanish Central Administrative Court Judgment 90/2024 — Glovoapp23
A later Spanish proceeding examined a modified Glovo business model.
The Central Contentious-Administrative Court No. 10 considered whether couriers operating under the changed arrangements were genuinely autonomous.
The court concluded on the facts before it that Glovo was operating as an intermediary and that the couriers concerned had sufficient autonomy.
It therefore rejected the claimed employment relationship for those circumstances and annulled substantial Social Security assessments and sanctions.
Importantly, the judgment was not final when reported and was subject to appeal.
Importance
This decision demonstrates that classification cannot be based solely upon the word “platform.”
The precise operating model must be examined.
For lenders, this means employment-risk due diligence should evaluate current contractual and operational practices rather than assuming that an earlier judgment automatically determines every later version of a platform's business model.
6. Audiencia Nacional Judgment 96/2026 — Glovo
In March 2026, the Audiencia Nacional addressed litigation concerning the employment status of Glovo delivery workers.
The court emphasised factors including the economic importance of Glovo's digital platform compared with the couriers' own material equipment.
It also considered Glovo's control over essential aspects of the service, including pricing and conditions, together with algorithmic management, ratings and real-time geolocation.
The court concluded that the circumstances demonstrated dependence characteristic of employment.
Importance for Banks
This authority illustrates how significant employment liabilities can remain a material risk for platform businesses.
When financing such companies, lenders should examine not only contractual documents but also the practical operation of:
algorithms;
pricing;
delivery allocation;
ratings;
geolocation; and
disciplinary mechanisms.
7. Audiencia Nacional Judgment 295/2026 — Glovo
A further Audiencia Nacional judgment of 25 June 2026 addressed similar issues concerning Glovo's operating model.
The court again stressed that the digital platform was an essential productive asset and that couriers operated within a service organised by the platform.
It identified organisational and control features including the platform's role in determining the service and its economic conditions.
Importance
The judgment strengthens the practical lesson that lenders cannot evaluate delivery-platform labour exposure solely from the wording of independent-contractor agreements.
Actual operational control can determine legal classification.
This matters because a reclassification can affect historical liabilities as well as future operating expenses.
13. Relationship Between Case Law and the Rider Law
The Spanish Supreme Court's Glovo judgment was especially important because it preceded the statutory Rider Law.
Law 12/2021 subsequently introduced the specific presumption concerning delivery work organised and controlled through digital platforms. The legislation itself refers to Supreme Court Judgment 805/2020 as an important part of the jurisprudential background.
The development can therefore be understood as:
Platform economy growth → litigation over courier classification → Supreme Court Glovo judgment → Rider Law → continuing litigation concerning particular platform models.
For banks, this demonstrates that regulatory risk can evolve during the life of a financing transaction.
14. Credit Analysis Example
Assume that a Spanish bank is considering a €40 million facility for a national last-mile delivery company.
The company operates:
1,000 delivery vehicles;
several urban warehouses;
a digital logistics platform;
thousands of deliveries each day; and
a large courier workforce.
The bank should analyse the transaction in stages.
Step 1 — Revenue
Examine delivery contracts, customer concentration and historical revenue.
Step 2 — Labour Structure
Determine whether couriers are employees, genuine independent contractors or workers supplied through logistics subcontractors.
Step 3 — Rider Law Exposure
Assess whether the platform exercises algorithmic organisation, direction or control capable of engaging the statutory employment presumption.
Step 4 — Historical Liabilities
Determine whether there are outstanding employment or social-security assessments.
Step 5 — Fleet
Examine vehicle ownership, leasing obligations, depreciation and regulatory suitability.
Step 6 — Urban Regulation
Assess whether environmental or traffic restrictions could require fleet replacement.
Step 7 — Technology
Examine ownership and resilience of the delivery platform.
Step 8 — Receivables
Determine the quality and assignability of major customer invoices.
Step 9 — Collateral
Identify which assets can legally provide effective security.
Step 10 — Stress Testing
Consider what happens if labour expenses, fuel costs, vehicle expenses or regulatory costs increase materially.
15. Key Banking Risks
The principal risks can be divided into several categories.
Credit risk: Customers or the delivery company itself may fail to pay.
Employment risk: Couriers may be legally classified differently from the company's assumptions.
Regulatory risk: New labour, environmental, transport or digital rules may increase operating costs.
Technology risk: Platform outages or cybersecurity incidents can interrupt the business.
Concentration risk: The company may depend excessively on one major retailer or marketplace.
Asset risk: Vehicles can depreciate rapidly.
Liquidity risk: Delivery companies may need to pay operating expenses before receiving customer payments.
Insolvency risk: Rapid expansion can produce substantial debt without sustainable profitability.
16. Why Last-Mile Finance Is Different From Traditional Logistics Finance
Traditional logistics financing often concentrates heavily on tangible assets such as warehouses, trucks and receivables.
Modern last-mile businesses add another layer.
Their commercial value can depend heavily upon:
technology + algorithms + workforce organisation + customer data + merchant networks + urban accessibility.
This makes legal due diligence particularly important.
The value of 1,000 delivery vehicles may provide limited comfort if the company cannot legally or economically operate its delivery network.
Likewise, a sophisticated application has limited value if the underlying workforce structure generates major regulatory liabilities.
Conclusion
Banking law and last-mile delivery finance in Spain is an interdisciplinary area combining banking, commercial finance, employment law, digital-platform regulation, transport law, environmental regulation, data protection and insolvency law.
Banks can finance delivery companies through corporate loans, working-capital facilities, vehicle finance, leasing, receivables finance and warehouse or logistics-infrastructure financing.
The most distinctive Spanish legal issue is the employment status of digital-platform couriers. Spanish Supreme Court Judgment 805/2020 concerning Glovo and the subsequent Law 12/2021 Rider Law demonstrate that algorithmic organisation and control can have major consequences for employment classification and therefore for a company's financial liabilities.
At least six important authorities help define the legal environment: Spanish Supreme Court Judgment 805/2020 (Glovo); Asociación Profesional Élite Taxi v Uber Systems Spain (C-434/15); Uber France (C-320/16); B v Yodel Delivery Network (C-692/19); Central Contentious-Administrative Court Judgment 90/2024 (Glovoapp23); Audiencia Nacional Judgment 96/2026; and Audiencia Nacional Judgment 295/2026.
The central banking principle is that financing a last-mile delivery company requires examination of more than its vehicles and revenues. A lender must understand the company's workforce model, algorithmic control, digital infrastructure, receivables, urban operating environment and regulatory liabilities, because each can materially affect the cash flows from which the financing must ultimately be repaid.

comments