Invoke Skill Compliance Deadline Calendar
post
/api/v1/skills/compliance.deadline.calendar/invokeProduce a structured calendar of upcoming filing/compliance deadlines for a client over a window. Covers tax returns, BAS/VAT/GST, payroll/STP/RTI, annual returns, audit requirements, super/pension, and board meetings. Read-only β the user or a workstream cycle acts on each entry separately.
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.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | The UUID of the client whose deadlines to calendar. |
jurisdictionrequired | "AU" | "GB" | "CA" | "US" | "NZ" | ISO 3166-1 alpha-2 code of the tax authority's country: AU, GB, CA, US or NZ.AUGBCAUSNZ |
entity_type | "individual" | "corporation" | "s_corporation" | "partnership" | "trust" | "non_profit" | The legal form of the client, which decides which filings apply.individualcorporations_corporationpartnershiptrustnon_profit |
window | "next_30_days" | "next_quarter" | "next_year" | "explicit" | How far ahead to look; explicit uses lookahead_days instead of a fixed span.next_30_daysnext_quarternext_yearexplicit |
lookahead_days | integer | null | Used only when window='explicit'; ignored otherwise. |
deadline_types | string[] | Optional category filter β e.g. ['tax_return', 'bas', 'vat', 'payroll', 'annual_return', 'audit', 'super', 'pension']. Empty means scan all categories. |
Responses
200Skill executed successfully
| Field | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | |||||||||||||||||||||||||||||||||
outputrequired | object | βshow nested
| |||||||||||||||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
curl https://api.dev.arch.ie/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"
]
}'