Skills › Memo
Prepare an ASC 606 Revenue-Recognition Workpaper + Memo
POST/api/v1/skills/prepare.asc606.memo/invoke
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.
Body parameters
file_idsarray of strings
Optional Archie file IDs for uploaded contract PDFs. If empty, the engine synthesises the brief from scenario alone.
scenariostring · default
Full 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.
questionsarray of strings
Specific accounting questions the memo must answer, one per entry.
jurisdictionenum
ISO 3166-1 alpha-2 code of the jurisdiction whose standards apply.
AUGBCAUSNZ
frameworkstring
Name of the accounting standard to apply, such as 'ASC 606' or 'IFRS 15'.
Returns
Skill executed successfully
skillstringRequired
Example prepare_asc606_memo
outputobjectRequired
output.artifact_idstring · uuid
output.download_urlstring · default
output.executive_summarystring · default
output.citationsarray of values
output.warningsarray of strings
output.stub_fieldsarray of strings
output.positions_analysedarray of strings
output.open_itemsarray of strings
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALID Authentication required
403PERMISSION.CAPABILITY_DENIED Insufficient permissions
404SKILL.NOT_FOUND Skill not found
422VALIDATION.INVALID_FORMAT Validation error
429RATE_LIMIT.USER Rate limit exceeded
5XXINTERNAL.UNKNOWN Internal server error
curl https://uk.heyarchie.com/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 }'
from heyarchie import Archie archie = Archie(api_key="sk_...") result = archie.skills.invoke( "prepare.asc606.memo", file_ids=["00000000-0000-0000-0000-000000000000"], scenario="string", questions=["string"], jurisdiction=None, framework=None, ) print(result)
import { Archie } from "heyarchie";
const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("prepare.asc606.memo", {
"file_ids": [
"00000000-0000-0000-0000-000000000000"
],
"scenario": "string",
"questions": [
"string"
],
"jurisdiction": null,
"framework": null
});
console.log(result);Response
{
"skill": "prepare_asc606_memo",
"output": {
"artifact_id": "a9d4f6b2-17c8-4e35-b0a1-8f3d2c6e9b74",
"citations": [
{
"confidence": 0.9,
"section": "606-10-25-19",
"standard": "ASC 606"
}
],
"executive_summary": "The licence and the implementation services are distinct, so revenue is allocated between them and the licence is recognised over time.",
"open_items": [
"Confirm the standalone selling price of the services."
],
"positions_analysed": [
"Licence and services are separate performance obligations",
"Fixed fee is allocated by relative standalone selling price"
]
},
"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.