evidoria

← Back to browse

Good practice Imported

BOSCO — Spain's Supreme Court Forces Open the Source Code Behind the Electricity Social Bonus

Spain · Madrid · See the Spain profile · See the Madrid profile

Evidence: Descriptive / self-reported Top 66% 53/100 · Ask Evidence Copilot about this practice

Spain's BOSCO app decides eligibility for the electricity 'bono social' subsidy; after Civio proved it wrongly denied eligible applicants and the government refused disclosure for 7 years, the Supreme Court ordered its source code opened in Sept 2025.

7 years
Years the Ministry withheld the BOSCO source code after Civio's request (2018-2025)
BOSCO — Spain's Supreme Court Forces Open the Source Code Behind the Electricity Social Bonus

Details

Maturity
Established
Promoter
Ministerio para la Transición Ecológica y el Reto Demográfico (Spanish Ministry for Ecological Transition)
Period
2018 (deployed) – September 2025 (Supreme Court ruling)
Keywords
energy subsidy, social protection, algorithmic transparency, judicial oversight

Context

Since 2018, Spain's Ministry for Ecological Transition has used the BOSCO application to automatically verify whether applicants qualify for the 'bono social eléctrico', a subsidy protecting vulnerable consumers from electricity disconnection.

Results

In 2019, the civic-tech foundation Civio demonstrated that BOSCO contained errors that wrongly denied the subsidy to people who met the legal requirements, and requested the source code under Spain's transparency law; the Ministry refused for seven years, citing intellectual-property and cybersecurity concerns. On 11 September 2025, Spain's Supreme Court (judgment 1119/2025) ruled that the constitutional right of access to public information takes precedence over claimed intellectual-property protections, ordering the administration to give Civio the BOSCO source code under safeguards (controlled environment, confidentiality duties, exclusion of personal data).

Conclusions

Legal commentators (Garrigues, Cuatrecasas) describe the ruling as Spain's foundational precedent for algorithmic transparency in public administration, though the source-code disclosure is limited to Civio under confidentiality duties rather than full public release, and no comprehensive post-ruling accuracy audit of BOSCO itself has yet been published.

Implementation

Indicative cost
Low (< €50k) — No public budget or development-cost figure disclosed for BOSCO.
Time to results
Long (> 3 years) — Deployed since 2018; Civio's error investigation in 2019; seven years of withheld source code until the September 2025 Supreme Court ruling ordering disclosure under safeguards.
Staffing & skills
Ministerio para la Transición Ecológica y el Reto Demográfico (Spanish Ministry for Ecological Transition)

Conditions for success

  • Independent civic-tech scrutiny (Civio) to detect and document real-world denial errors
  • Legal/transparency-law routes (freedom-of-information requests) to press for disclosure
  • A judicial backstop (Supreme Court) willing to override intellectual-property/cybersecurity objections in favour of public-interest transparency

Common failure modes

  • Eligibility-determination errors wrongly denied the subsidy to applicants who met the legal requirements (Civio's 2019 investigation)
  • Source code was withheld from independent scrutiny for seven years, blocking verification of the errors

Where it fits

Governance type
national ministry
Scale
national
Income level
high_income

Commonly funded by

National / regional programmes

Indicative funding routes for practices of this type — always check each programme's current calls and eligibility rules.

Do you run this practice? Claim it — verified implementers get a public contact pathway and can propose corrections.

Data sources

Where this practice's information was retrieved from, and when.

Attachments

Similar practices you may find useful