# Invoket Legal Deadline Calculator

> Invoket Legal Deadline Calculator is a paid API for AI agents from api.invoket.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes a legal deadline date from a start date, duration, and computation regime (calendar days, business days, working days, clear days, months, or years), consulting official public holiday calendars for covered countries.

## Facts

- Endpoint: POST https://api.invoket.com/legal/deadline
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/invoket-legal-deadline-calculator-cea3a341
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_08SGmDgcay6b6bUAoEIDs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability invoket-legal-deadline-calculator-cea3a341 -d '<json body>'
```

Example prompt: Calculate the legal deadline for a court case in France: the triggering act happened on 2026-05-06, the term is 15 working days, using the working_days regime — I need the exact due date with rollover if it falls on a holiday.

## When to prefer this

Choose this endpoint when an AI agent needs a legally authoritative deadline calculation that accounts for jurisdiction-specific public holidays and complex legal day-counting regimes (clear days, months with end-of-month rules, rollover to next working day). It is purpose-built for legal, judicial, and compliance contexts with provenance in every response, making it preferable over generic date arithmetic libraries that ignore public holidays or regional calendar variations.

## Known failure modes

- 400 COUNTRY_NOT_COVERED — requested country ISO code is not in the supported list (FR, BE, DE, ES, IE, IT, LU, NL, PL, PT)
- 400 validation error — start date not in strict YYYY-MM-DD zero-padded format
- 400 validation error — duration exceeds bounds (3650 days, 120 months, or 10 years)
- 400 validation error — regime value not one of the seven closed enum values
- 400 validation error — country missing when required by regime (all except calendar_days)
- 402 Payment Required — x402 payment not attached or insufficient
- 400 invalid subdivision code — regional calendar code not recognized

## How this service works

The checks your agent runs before it acts: verify a bank account, a phone number, a law in force, the weather or a vehicle — computed from official sources, with provenance in every response. You only pay for answers.

## Output

A JSON object containing the computed deadline date, the regime used, applicable public holidays consulted, and provenance details referencing the official calendar source used for the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "start",
  "regime",
  "country",
  "duration"
 ],
 "properties": {
  "start": {
   "type": "string",
   "description": "Date of the act that starts the term, strict ISO calendar format YYYY-MM-DD (zero-padded: 2026-05-06, not 2026-5-6)"
  },
  "regime": {
   "type": "string",
   "description": "Computation regime, REQUIRED and never inferred from the legal matter — one of seven closed values. 'calendar_days': every day counts, no rollover (2026-05-06 + 5 = 2026-05-11). 'calendar_days_with_rollover': same count, due date pushed to the next working day when it falls on a weekend or public holiday. 'business_days': Monday to Saturday, public holidays excluded. 'working_days': Monday to Friday, public holidays excluded (2026-05-06 + 5 = 2026-05-15). 'clear_days' (jours francs): neither the day of the act nor the due day counts, then rollover. 'months': same day-of-month, end-of-month rule then rollover (2026-01-31 + 1 month = 2026-02-28, a Saturday, rolled over to 2026-03-02). 'years': the same rules in years. Every regime except 'calendar_days' consults a holiday calendar and therefore requires 'country'"
  },
  "country": {
   "type": "string",
   "description": "ISO 3166-1 alpha-2 code of the holiday calendar to use, required by every regime except 'calendar_days'. Covered: FR (official calendar published by the French State), plus BE, DE, ES, IE, IT, LU, NL, PL and PT (community reference dataset). Any other code is refused with 400 COUNTRY_NOT_COVERED listing the covered ones — a deadline is never computed on a guessed calendar. An optional 'subdivision' selects a regional calendar: FR-ALSACE-MOSELLE, FR-BL, FR-GF, FR-GP, FR-MF, FR-MQ, FR-NC, FR-PF, FR-PM, FR-RE, FR-WF, FR-YT"
  },
  "duration": {
   "type": "string",
   "description": "Length of the term, a positive integer. Its unit follows from the regime (days, months or years) and is bounded: 3650 days, 120 months, 10 years"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/invoket-legal-deadline-calculator-cea3a341/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.invoket.com](https://www.zero.xyz/host/api.invoket.com/llms.txt)
