Invoke Skill Prepare Asc360 Memo
post
/api/v1/skills/prepare.asc360.memo/invokePrepare an ASC 360 capex memo (PP&E capitalise-vs-expense, depreciation, impairment). Deterministic engine: capitalised cost = sum of GROUNDED cost components; depreciation = depreciable base / useful life; impairment via the recoverability test. An ungrounded capitalisation policy or cost component is FLAGGED for partner input β never printed as a cost.
Prepares an ASC 360 memo on property, plant and equipment for an accountant: which costs to capitalise, the annual depreciation charge and, when impairment inputs are supplied, the recoverability conclusion. Every figure is recomputed from cost components backed by a document quote or a named person's assertion, and anything ungrounded is flagged for partner input rather than printed. Send cost_components and useful_life. It returns the capitalised cost, annual depreciation, verification status and memo sections.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
subject_entity | string | null | Name of the entity that owns the asset. |
cost_componentsrequired | any[] | Each cost to capitalise, such as purchase price and installation, each backed by a quote or an assertion. |
capitalisation_policy | any | null | Evidence for the entity's capitalisation threshold policy: a document quote or a named person's assertion. |
salvage_value | number | integer | Expected residual value at the end of the useful life, as a plain number. |
useful_liferequired | integer | Useful life of the asset in whole years. |
lhi_cost | number | integer | null | Cost of leasehold improvements, as a plain number, when they are part of the asset. |
lhi_useful_life | integer | null | Useful life of the leasehold improvements in whole years. |
remaining_lease_term | integer | null | Remaining lease term in whole years, which caps the life of the leasehold improvements. |
carrying_amount | number | integer | any | null | Carrying amount of the asset or asset group for the recoverability test, as a plain number or a grounded object. |
sum_undiscounted_cash_flows | number | integer | any | null | Sum of the undiscounted future cash flows used in the recoverability test, as a plain number or a grounded object. |
fair_value | number | integer | any | null | Fair value of the asset used to measure an impairment loss, as a plain number or a grounded object. |
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/prepare.asc360.memo/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"subject_entity": null,
"cost_components": [
null
],
"capitalisation_policy": null,
"salvage_value": null,
"useful_life": 0,
"lhi_cost": null,
"lhi_useful_life": null,
"remaining_lease_term": null,
"carrying_amount": null,
"sum_undiscounted_cash_flows": null,
"fair_value": null
}'