Invoke Skill Reports Audit Workpaper Prepare
post
/api/v1/skills/reports.audit-workpaper.prepare/invokePrepare an audit working paper β lead schedules, substantive testing, planning memos, going-concern, debt confirmations, related-party.
Prepares an audit working paper such as a lead schedule, substantive test, planning memo or going-concern assessment. You must supply client_id and period, and can set the working paper type, materiality, sample size and auditing framework. It returns the paper as a downloadable artefact with its sections, findings and sample results.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | UUID of the client the working paper is prepared for. |
workpaper_type | "lead_schedule" | "substantive_test" | "planning_memo" | "going_concern" | "subsequent_events" | "revenue_testing" | "expense_testing" | "debt_confirmation" | "related_party" | Kind of working paper to prepare; defaults to a lead schedule.lead_schedulesubstantive_testplanning_memogoing_concernsubsequent_eventsrevenue_testingexpense_testingdebt_confirmationrelated_party |
periodrequired | string | Audit period the working paper covers, as a free-text label such as 2026-06. |
materiality | number | string | null | Materiality threshold as an amount in the engagement currency. |
sample_size | integer | Number of items to select when the working paper includes sample testing. |
framework | "ASA" | "ISA" | "PCAOB" | "GAAS" | "ISA_UK" | Auditing standards framework the working paper follows, such as ISA_UK.ASAISAPCAOBGAASISA_UK |
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/reports.audit-workpaper.prepare/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"workpaper_type": "lead_schedule",
"period": "string",
"materiality": null,
"sample_size": 0,
"framework": "ASA"
}'