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.

Prepares an ASC 606 revenue-recognition workpaper and technical memo for an accountant to review. Supply either the contract as uploaded file_ids or the full contract text as the scenario, and optionally the questions to answer. It returns an executive summary, the positions analysed, open items that need a decision and citations to the standard.

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[]Specific accounting questions the memo must answer, one per entry.
jurisdiction"AU" | "GB" | "CA" | "US" | "NZ" | nullISO 3166-1 alpha-2 code of the jurisdiction whose standards apply.
frameworkstring | nullName of the accounting standard to apply, such as 'ASC 606' or 'IFRS 15'.

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
     }'