Invoke Skill Prepare Asc610 20 Gain
post
/api/v1/skills/prepare.asc610.20.gain/invokePrepare an ASC 610-20 gain-on-derecognition memo for the sale of a nonfinancial asset to a non-customer. Deterministic engine: gain = consideration - carrying amount - transaction costs, re-computed from GROUNDED inputs (each a verbatim document quote or an attributed assertion). An ungrounded monetary input (e.g. a GL carrying amount not in the deal docs) is FLAGGED for partner input β never printed as a gain.
Prepares an ASC 610-20 memo for an accountant on the gain from selling a nonfinancial asset to a non-customer. The gain is recomputed as consideration less carrying amount less transaction costs, and any amount not backed by a document quote or a named person's assertion is flagged for partner input instead of being printed. Send consideration_components and carrying_amount. It returns the gain on derecognition, the verification status, memo sections and any blocked inputs.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
subject_entity | string | null | Name of the entity selling the asset. |
consideration_componentsrequired | any[] | Each part of the consideration received, such as cash at closing or escrow, each backed by a quote or an assertion. |
carrying_amountrequired | any | The carrying amount of the asset derecognised, backed by a quote or an assertion. |
transaction_costs | any[] | Costs of the sale deducted from the gain, each backed by a quote or an assertion. |
judgment_items | any[] | Consideration lines that are a judgement call; they are left out of the gain and flagged for partner sign-off. |
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.asc610.20.gain/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"subject_entity": null,
"consideration_components": [
null
],
"carrying_amount": null,
"transaction_costs": [
null
],
"judgment_items": [
null
]
}'