Invoke Skill Audit Workpaper Review
post
/api/v1/skills/audit.workpaper.review/invokeAdvisory β LLM-driven; verify against authoritative sources before relying. Review an audit workpaper β completeness, methodology, evidence sufficiency, and standards compliance. Pairs with prepare_audit_workpaper; supports self-check, senior review, partner review, and concurring-partner review tiers.
Reviews an audit working paper for completeness, methodology, evidence sufficiency and standards compliance, at one of four review tiers: self-check, senior, partner or concurring partner. You must supply client_id, period and file_ids, the uploaded workpaper files. It returns a review status, findings, recommendations and a coverage assessment, and this advisory output needs checking before you rely on it.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | UUID of the client the working paper belongs to. |
periodrequired | string | Audit period the working paper covers, as a free-text label such as 2026-06. |
file_idsrequired | string (uuid)[] | Uploaded workpaper file(s) to review. At least one required. |
workpaper_type | "lead_schedule" | "substantive_test" | "planning_memo" | "going_concern" | "subsequent_events" | "revenue_testing" | "expense_testing" | "debt_confirmation" | "related_party" | Kind of working paper under review; defaults to a lead schedule.lead_schedulesubstantive_testplanning_memogoing_concernsubsequent_eventsrevenue_testingexpense_testingdebt_confirmationrelated_party |
framework | "ASA" | "ISA" | "PCAOB" | "GAAS" | "ISA_UK" | Auditing standards framework to review the working paper against.ASAISAPCAOBGAASISA_UK |
review_level | "self_check" | "senior_review" | "partner_review" | "concurring_partner_review" | Review tier to apply, from a self-check up to a concurring-partner review.self_checksenior_reviewpartner_reviewconcurring_partner_review |
materiality | number | string | null | Materiality threshold as an amount in the engagement currency. |
focus_areas | string[] | Optional reviewer focus shortlist β e.g. ['sample_selection', 'evidence_sufficiency', 'cutoff', 'standards_compliance']. Empty means full review. |
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/audit.workpaper.review/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"period": "string",
"file_ids": [
"00000000-0000-0000-0000-000000000000"
],
"workpaper_type": "lead_schedule",
"framework": "ASA",
"review_level": "self_check",
"materiality": null,
"focus_areas": [
"string"
]
}'