---
title: "Procedural time limits — ES (LEC) and England and Wales (CPR r 2.8)"
method: POST
path: "/api/v1/plazos/calcular"
tags: ["Deadlines"]
---

# Procedural time limits — ES (LEC) and England and Wales (CPR r 2.8)

`POST /api/v1/plazos/calcular`

## Request

- Base URL: `https://legal.nexusquantum.legal`
- URL: `https://legal.nexusquantum.legal/api/v1/plazos/calcular`
- Auth: HTTP bearer

Computes the due date of a procedural time limit under the law of a SPECIFIC forum. **`jurisdiction` is required and has no default (v1.61)**: a period counted under another jurisdiction's rules produces a date the client may act on, and a missed limitation period cannot be undone.

- **`ES`** — LEC + LOPJ, national CGPJ holidays and, optionally, the holidays of the autonomous community given in `ccaa`. August counts as non-working by default (Art. 183 LOPJ).
- **`GB-EAW`** — CPR r 2.8 for England and Wales: **clear days**; if the period is **5 days or less**, Saturdays, Sundays, bank holidays, Christmas Day and Good Friday are excluded, and if it is **more than 5 days all days are counted**. There is **no August vacation**: the courts' Long Vacation does not suspend CPR time limits. `tipo_computo` takes a day count only (`meses`/`anios` return 400) and the answer comes back as `clear_days`. Set `acto_en_oficina` when the act must be done at the court office, so r 2.8(5) applies.

Scotland (`GB-SCT`) and Northern Ireland (`GB-NIR`) return 400 rather than an approximation: their rules and their bank holidays differ — 2 January is a holiday in Scotland and not in England. Cost: 0 LLM, pure in-memory computation.

## Request body

- object
  - `jurisdiction` 'ES' | 'GB-EAW', required: Forum whose procedural rules govern the count. REQUIRED, no default.
  - `fecha_base` string, date, required
  - `cantidad` integer, required
  - `tipo_computo` 'habiles' | 'naturales' | 'meses' | 'anios', required: GB-EAW takes a day count only; the response reports `clear_days`.
  - `ccaa` string, nullable: ES only.
  - `agosto_inhabil` boolean: ES only. There is no August vacation under the CPR.
  - `acto_en_oficina` boolean: GB-EAW only — CPR r 2.8(5): the act must be done at the court office, so the period is extended if it ends on a day the office is closed.

## Response `200`

{ jurisdiction, fecha_vencimiento, tipo_computo, regla_aplicable, ajustes_aplicados, ... }

## Other responses

- `400`: MISSING_JURISDICTION (required, no default — v1.61) | JURISDICTION_NOT_SUPPORTED (incl. GB-SCT / GB-NIR) | TIPO_COMPUTO_NOT_APPLICABLE (months/years under the CPR) | CALENDAR_NOT_LOADED (outside the years of the England and Wales bank-holiday calendar) | INVALID_FECHA_BASE | INVALID_CANTIDAD | INVALID_TIPO_COMPUTO | INVALID_CCAA
- `402`: INSUFFICIENT_CREDITS — paywall from minute one (balance > 0 required; the calculation does not deduct credits).

---

[API](https://skmtc.dev/nexusquantum/apis/nexus-legal-api.md) · [All operations](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/revisions/4084d8d4eb0b?raw)
