Talk with Archie
API reference › Reports
Skills › Reports

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

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_entitystring
Name of the entity selling the asset.
consideration_componentsarray of valuesRequired
Each part of the consideration received, such as cash at closing or escrow, each backed by a quote or an assertion.
carrying_amountRequired
The carrying amount of the asset derecognised, backed by a quote or an assertion.
transaction_costsarray of values
Costs of the sale deducted from the gain, each backed by a quote or an assertion.
judgment_itemsarray 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

skillstringRequired
Example prepare_asc610_20_gain
outputobjectRequired
output.artifact_idstring · uuid
output.download_urlstring · default
output.summarystring · default
output.citationsarray of values
output.warningsarray of strings
output.stub_fieldsarray of strings
output.gain_on_derecognitionnumber
output.verification_statusstring · default
output.memo_sectionsarray of objects
output.blocked_inputsarray of strings
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
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>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "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.