Skip to main content

Compliance Tools

Search and browse the environmental legislation database — Spanish national and regional regulations covering environmental, labor, governance, and ESG reporting obligations. Each entry includes the official title, status, categories, and an LLM-generated summary.
The legislation database currently covers Spanish law (BOE — Boletín Oficial del Estado). Field names use Spanish terminology (e.g. titulo, estado, categorias).

list_legislation

Search applicable environmental legislation with optional text search. Parameters:
ParameterTypeRequiredDefaultDescription
organization_idstringNodefault orgOrganization UUID
searchstringNoText search across titles and descriptions
pageintegerNo1Page number
sizeintegerNo50Results per page
Example response:
{
  "items": [
    {
      "id": "a1b2c3d4-...",
      "identificador": "BOE-A-2022-5809",
      "titulo": "Ley 7/2022, de 8 de abril, de residuos y suelos contaminados para una economía circular",
      "rango": "ley",
      "jurisdiccion": "es",
      "ambito": "nacional",
      "categorias": ["medio_ambiente"],
      "subcategorias": ["residuos", "economia_circular"],
      "fecha_publicacion": "2022-04-09",
      "estado": "vigente",
      "resumen_llm": "Establishes the regulatory framework for waste prevention and management...",
      "fuente_url": "https://www.boe.es/eli/es/l/2022/04/08/7/con",
      "created_at": "2025-01-10T12:00:00"
    }
  ],
  "total": 234,
  "page": 1,
  "size": 50,
  "pages": 5
}
Key response fields:
FieldDescription
identificadorOfficial BOE identifier (e.g. BOE-A-2022-5809)
tituloFull official title of the legislation
rangoLegal rank: ley, real_decreto, orden, reglamento, etc.
ambitoTerritorial scope: nacional or autonomico (regional)
estadoStatus: vigente (in force), derogada (repealed), parcialmente_derogada, expirada
categoriasESG categories: medio_ambiente, laboral, gobernanza, reporting, etc.
resumen_llmAI-generated summary in English
fuente_urlOfficial BOE source URL

get_legislation

Get full details for a specific piece of legislation, including the complete text. Parameters:
ParameterTypeRequiredDefaultDescription
legislation_idstringYesUUID of the legislation
organization_idstringNodefault orgOrganization UUID
The detail response includes texto_completo — the full consolidated text of the legislation. This can be very large for comprehensive laws.
Example prompts:
"What environmental legislation applies to us?"
"Search for waste management regulations"
"Show me CSRD-related legislation"
"List all active environmental laws"
"What are the emissions trading regulations in Spain?"

Workflow

  1. Search legislationlist_legislation with a search term to find relevant regulations
  2. Get detailsget_legislation for the full text and summary of a specific law
  3. Check compliance scope — Compare the legislation’s categorias with your organization’s activities

Organizations

Organization details to match against legislation scope

Emissions

GHG emissions data relevant to environmental compliance