Invoke Skill Reports Tax Return Prepare
post
/api/v1/skills/reports.tax-return.prepare/invokePrepare a tax return artifact β income, BAS, IAS, VAT, corporate tax, payroll, or self-assessment.
Prepares a tax return for a period from the client's books, with supporting files if you send them. Send client_id, jurisdiction and tax_year; the return type and entity type default to income and company. The answer holds the return summary by box or line, the workpapers, an estimated liability and a download link.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | UUID of the taxpayer entity the return is for. |
jurisdictionrequired | "AU" | "GB" | "CA" | "US" | "NZ" | Tax jurisdiction code: AU, GB, CA, US or NZ.AUGBCAUSNZ |
entity_type | "individual" | "company" | "partnership" | "trust" | Type of taxpayer: individual, company, partnership or trust; company when omitted.individualcompanypartnershiptrust |
return_type | "income" | "bas" | "ias" | "vat" | "corp" | "payroll" | "self_assessment" | Kind of return: income, bas, ias, vat, corp, payroll or self_assessment; income when omitted.incomebasiasvatcorppayrollself_assessment |
tax_yearrequired | string | Tax period as YYYY, FY{YYYY} or Q{1-4}-{YYYY} for a quarterly return such as VAT or BAS. |
file_ids | string (uuid)[] | UUIDs of uploaded supporting files to use. |
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.tax-return.prepare/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"jurisdiction": "AU",
"entity_type": "individual",
"return_type": "income",
"tax_year": "string",
"file_ids": [
"00000000-0000-0000-0000-000000000000"
]
}'