{"uid":"cap_08SGmDgcay6b6bUAoEIDs","slug":"invoket-legal-deadline-calculator-cea3a341","name":"Invoket Legal Deadline Calculator","description":"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.","url":"https://api.invoket.com/legal/deadline","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q-8GbecJ0hqgukBLpP8c5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"French court filing deadline","prompt":"A document was served on 2026-03-10 in France. I need to know when the 30-working-day response deadline falls, using the working_days regime and the French official holiday calendar."},{"title":"Belgian contract notice period","prompt":"A termination notice was issued in Belgium on 2026-01-15. Calculate when the 3-month notice period expires using the months regime, with rollover if the end date lands on a weekend or public holiday."},{"title":"Clear days deadline for judicial act","prompt":"A judicial act occurred in France on 2026-06-01. What is the deadline after 8 clear days (jours francs), applying the clear_days regime with the French mainland holiday calendar?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:57.519Z","isFirstParty":false}