Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Reports Trust Accounts Prepare

post/api/v1/skills/reports.trust-accounts.prepare/invoke

Prepare trust accounts β€” distributions, beneficiary statements, capital accounts, income allocation, trustee reporting.

Prepares year-end trust accounts for an accountant's trust client from its trial balance, covering the trust-level income computation, beneficiary income allocation, capital-account roll-forward and any reasonableness warnings. Send client_id, the UUID of the trust, and period; a distribution resolution can steer the allocation. It returns a download link for the accounts, the period and warnings, and names in stub_fields any structured allocation field it has not filled.

Request bodyapplication/json

FieldTypeDescription
client_idrequiredstring (uuid)UUID of the trust client the accounts are prepared for.
periodrequiredstringAccounting period of the trust: a year such as 2026, a financial year such as FY2026, or an ISO 8601 date range written start/end.
distribution_resolutionobjectThe trustees' distribution resolution as an object, used to steer how income is allocated.
show nested
Empty object.
output_format"pdf" | "xlsx" | "both"Format of the accounts: pdf, xlsx or both.
pdfxlsxboth
include_beneficiary_statementsbooleanWhether to include a statement for each beneficiary.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
artifact_idstring (uuid) | nullβ€”
download_urlstringβ€”
summarystringβ€”
citationsany[]β€”
warningsstring[]β€”
stub_fieldsstring[]β€”
xlsx_download_urlstring | nullβ€”
periodstringβ€”
income_allocationobjectβ€”
show nested
Empty object.
distributionsobject[]β€”
item shape
Empty object.
beneficiary_statementsobject[]β€”
item shape
Empty object.
capital_accountsobjectβ€”
show nested
Empty object.
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/reports.trust-accounts.prepare/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "period": "string",
       "distribution_resolution": {},
       "output_format": "pdf",
       "include_beneficiary_statements": false
     }'