Invoke Skill Reports Financial Prepare
post
/api/v1/skills/reports.financial.prepare/invokeGenerate a financial report (TB, P&L, balance sheet, mgmt accounts, or financial statements).
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | β |
report_typerequired | "trial_balance" | "profit_loss" | "balance_sheet" | "management_accounts" | "monthly_management" | "leave_provision" | "soce" | "payroll_summary" | "financial_statements" | βtrial_balanceprofit_lossbalance_sheetmanagement_accountsmonthly_managementleave_provisionsocepayroll_summaryfinancial_statements |
periodrequired | string | β |
comparison_periods | string[] | β |
industry | string | null | β |
output_format | "pdf" | "xlsx" | "both" | βpdfxlsxboth |
max_age_hours | number | null | β |
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.financial.prepare/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"report_type": "trial_balance",
"period": "string",
"comparison_periods": [
"string"
],
"industry": null,
"output_format": "pdf",
"max_age_hours": null
}'