Talk with Archie
API reference › Compliance
Skills › Compliance

Produce a Structured Calendar of Upcoming filing/compliance Deadlines

POST/api/v1/skills/compliance.deadline.calendar/invoke
Builds a calendar of the filing and compliance deadlines coming up for a client. Supply the client_id and the jurisdiction, and optionally an entity type, a window and a list of deadline categories. It returns each deadline with its due date, urgency and authority, together with the window covered. It only reads; nothing is filed.
Body parameters
client_idstring · uuidRequired
The UUID of the client whose deadlines to calendar.
jurisdictionenumRequired
ISO 3166-1 alpha-2 code of the tax authority's country: AU, GB, CA, US or NZ.
AUGBCAUSNZ
entity_typeenum · default individual
The legal form of the client, which decides which filings apply.
individualcorporations_corporationpartnershiptrustnon_profit
windowenum · default next_quarter
How far ahead to look; explicit uses lookahead_days instead of a fixed span.
next_30_daysnext_quarternext_yearexplicit
lookahead_daysinteger
Used only when window='explicit'; ignored otherwise.
deadline_typesarray of strings
Optional category filter — e.g. ['tax_return', 'bas', 'vat', 'payroll', 'annual_return', 'audit', 'super', 'pension']. Empty means scan all categories.
Returns

Skill executed successfully

skillstringRequired
Example compliance_deadline_calendar
outputobjectRequired
output.artifact_idstring · uuid
output.download_urlstring · default
output.summarystring · default
output.citationsarray of values
output.warningsarray of strings
output.stub_fieldsarray of strings
output.deadlinesarray of values
output.jurisdictionstring · default
output.window_startstring · date
output.window_endstring · date
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
curl https://uk.heyarchie.com/api/v1/skills/compliance.deadline.calendar/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "jurisdiction": "AU",
       "entity_type": "individual",
       "window": "next_30_days",
       "lookahead_days": null,
       "deadline_types": [
         "string"
       ]
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "compliance.deadline.calendar",
    client_id="00000000-0000-0000-0000-000000000000",
    jurisdiction="AU",
    entity_type="individual",
    window="next_30_days",
    lookahead_days=None,
    deadline_types=["string"],
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("compliance.deadline.calendar", {
  "client_id": "00000000-0000-0000-0000-000000000000",
  "jurisdiction": "AU",
  "entity_type": "individual",
  "window": "next_30_days",
  "lookahead_days": null,
  "deadline_types": [
    "string"
  ]
});
console.log(result);
Response
{
  "skill": "compliance_deadline_calendar",
  "output": {
    "artifact_id": null,
    "citations": [],
    "deadlines": [
      {
        "action_required": "Submit the return through Making Tax Digital.",
        "authority": "HMRC",
        "category": "vat",
        "due_date": "2026-05-07",
        "name": "VAT return for the quarter to 31 March",
        "reference": "One month and seven days after the end of the VAT quarter.",
        "urgency": "medium"
      },
      {
        "action_required": "File the confirmation statement online.",
        "authority": "Companies House",
        "category": "annual_return",
        "due_date": "2026-06-18",
        "name": "Confirmation statement",
        "reference": "Companies Act 2006, section 853A.",
        "urgency": "low"
      }
    ],
    "download_url": "",
    "jurisdiction": "GB",
    "stub_fields": [],
    "summary": "Two filings fall due for Northwind Trading Ltd in the next quarter.",
    "warnings": [],
    "window_end": "2026-06-30",
    "window_start": "2026-04-01"
  },
  "correlation_id": "<string>"
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}

Every response also carries X-Request-ID. Quote it if you write to us about a call.