# Prepare an ASC 610-20 Gain-On-Derecognition Memo

> 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…

POST /api/v1/skills/prepare.asc610.20.gain/invoke

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.

Body parameters

subject_entity string

Name of the entity selling the asset.

consideration_components array of values Required

Each part of the consideration received, such as cash at closing or escrow, each backed by a quote or an assertion.

carrying_amount Required

The carrying amount of the asset derecognised, backed by a quote or an assertion.

transaction_costs array of values

Costs of the sale deducted from the gain, each backed by a quote or an assertion.

judgment_items array of values

Consideration lines that are a judgement call; they are left out of the gain and flagged for partner sign-off.

Returns

Skill executed successfully

skill string Required

Example prepare_asc610_20_gain

output object Required

output.artifact_id string · uuid

output.download_url string · default

output.summary string · default

output.citations array of values

output.warnings array of strings

output.stub_fields array of strings

output.gain_on_derecognition number

output.verification_status string · default

output.memo_sections array of objects

output.blocked_inputs array of strings

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Previous ← Prepare an ASC 360 Capex Memo](https://heyarchie.com/en-gb/developers/api-reference/reports/prepare-an-asc-360-capex-memo/)[Next Memo asc842 →](https://heyarchie.com/en-gb/developers/api-reference/reports/memo-asc842/)

```
curl https://uk.heyarchie.com/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
       ]
     }'
```

```
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "prepare.asc610.20.gain",
    subject_entity=None,
    consideration_components=[null],
    carrying_amount=None,
    transaction_costs=[null],
    judgment_items=[null],
)
print(result)
```

```
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("prepare.asc610.20.gain", {
  "subject_entity": null,
  "consideration_components": [
    null
  ],
  "carrying_amount": null,
  "transaction_costs": [
    null
  ],
  "judgment_items": [
    null
  ]
});
console.log(result);
```

Response

```
{
  "skill": "prepare_asc610_20_gain",
  "output": {
    "blocked_inputs": [],
    "gain_on_derecognition": 1300000,
    "memo_sections": [
      {
        "anchor": "memo-gain-on-derecognition",
        "body": [
          "The gain is $1,300,000."
        ],
        "citations": [],
        "heading": "Gain on derecognition",
        "level": 2
      }
    ],
    "summary": "Gain on derecognition of $1,300,000: consideration of $5,000,000 less carrying amount of $3,500,000 less transaction costs of $200,000.",
    "verification_status": "passed"
  },
  "correlation_id": "<string>"
}
```

```
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
```

Every response also carries X-Request-ID. Quote it if you write to us about a call.
