# Prepare an ASC 606 Revenue-Recognition Workpaper + Memo

> 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…

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_ids array of strings

Optional Archie file IDs for uploaded contract PDFs. If empty, the engine synthesises the brief from scenario alone.

scenario string · 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.

questions array of strings

Specific accounting questions the memo must answer, one per entry.

jurisdiction enum

ISO 3166-1 alpha-2 code of the jurisdiction whose standards apply.

AU GB CA US NZ

framework string

Name of the accounting standard to apply, such as 'ASC 606' or 'IFRS 15'.

Returns

Skill executed successfully

skill string Required

Example prepare_asc606_memo

output object Required

output.artifact_id string · uuid

output.download_url string · default

output.executive_summary string · default

output.citations array of values

output.warnings array of strings

output.stub_fields array of strings

output.positions_analysed array of strings

output.open_items array of strings

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Previous ← Prepare a Litigation Expert Report](https://heyarchie.com/en-gb/developers/api-reference/memo/prepare-a-litigation-expert-report/)

```
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>"
  }
}
```

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