Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Prepare Asc606 Memo

post/api/v1/skills/prepare.asc606.memo/invoke

Prepare an ASC 606 revenue-recognition workpaper + memo. Supply either an uploaded contract (file_ids) OR the full contract text as scenario β€” the engine extracts payment streams, parties, term, and royalty tiers from the text inline. No file upload needed when scenario contains the contract text.

Request bodyapplication/json

FieldTypeDescription
file_idsstring (uuid)[]Optional Archie file IDs for uploaded contract PDFs. If empty, the engine synthesises the brief from scenario alone.
scenariostringFull contract text OR a detailed arrangement description. When file_ids is empty, the engine synthesises the document brief directly from this text β€” paste the contract verbatim. When file_ids is present, a short description suffices.
questionsstring[]β€”
jurisdiction"AU" | "GB" | "CA" | "US" | "NZ" | nullβ€”
frameworkstring | nullβ€”

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
artifact_idstring (uuid) | nullβ€”
download_urlstringβ€”
executive_summarystringβ€”
citationsany[]β€”
warningsstring[]β€”
stub_fieldsstring[]β€”
positions_analysedstring[]β€”
open_itemsstring[]β€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/prepare.asc606.memo/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "file_ids": [
         "00000000-0000-0000-0000-000000000000"
       ],
       "scenario": "string",
       "questions": [
         "string"
       ],
       "jurisdiction": null,
       "framework": null
     }'