Talk with Archie
API reference › Reports
Skills › Reports

Memo asc842

POST/api/v1/skills/prepare.asc842.memo/invoke
Prepares an ASC 842 lessee memo and lease schedules for an accountant. The lease liability is the present value of the payments at the discount rate, and the right-of-use asset, expense pattern and maturity ladder follow from it; an ungrounded rate or payment is flagged for partner input. Send monthly_payment, lease_term_months and annual_rate. It returns the initial lease liability, the initial right-of-use asset, the classification, the verification status and memo sections.
Body parameters
subject_entitystring
Name of the lessee entity.
classificationstring · default OPERATING
Lease classification under ASC 842: OPERATING or FINANCE.
monthly_paymentnumber or integerRequired
Base rent per month as a plain number in the lease currency, with no currency symbol or commas.
lease_term_monthsintegerRequired
Length of the lease term in whole months.
annual_ratenumber or integerRequired
Annual discount rate as a decimal fraction, so 0.0284 means 2.84%, never a string such as '2.84%'.
in_advanceboolean · default false
Whether payments fall at the start of each period (annuity due) rather than the end.
abatement_monthsinteger · default 0
Number of leading months with no rent.
initial_direct_costsnumber or integer · default 0
Initial direct costs of obtaining the lease, as a plain number.
lease_incentivesnumber or integer · default 0
Lease incentives received from the lessor, as a plain number.
prepaid_rentnumber or integer · default 0
Rent paid before commencement, as a plain number.
rent_grounding
Evidence for the base-rent clause: a document quote or a named person's assertion.
rate_grounding
Evidence for the discount rate: a document quote or a named person's assertion.
Returns

Skill executed successfully

skillstringRequired
Example prepare_asc842_memo
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.lease_liability_initialnumber
output.rou_asset_initialnumber
output.classificationstring · default
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.asc842.memo/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "subject_entity": null,
       "classification": "string",
       "monthly_payment": null,
       "lease_term_months": 0,
       "annual_rate": null,
       "in_advance": false,
       "abatement_months": 0,
       "initial_direct_costs": null,
       "lease_incentives": null,
       "prepaid_rent": null,
       "rent_grounding": null,
       "rate_grounding": null
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "prepare.asc842.memo",
    subject_entity=None,
    classification="string",
    monthly_payment=None,
    lease_term_months=0,
    annual_rate=None,
    in_advance=False,
    abatement_months=0,
    initial_direct_costs=None,
    lease_incentives=None,
    prepaid_rent=None,
    rent_grounding=None,
    rate_grounding=None,
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("prepare.asc842.memo", {
  "subject_entity": null,
  "classification": "string",
  "monthly_payment": null,
  "lease_term_months": 0,
  "annual_rate": null,
  "in_advance": false,
  "abatement_months": 0,
  "initial_direct_costs": null,
  "lease_incentives": null,
  "prepaid_rent": null,
  "rent_grounding": null,
  "rate_grounding": null
});
console.log(result);
Response
{
  "skill": "prepare_asc842_memo",
  "output": {
    "blocked_inputs": [],
    "classification": "OPERATING",
    "lease_liability_initial": 642697.92,
    "memo_sections": [
      {
        "anchor": "memo-initial-measurement",
        "body": [
          "The initial lease liability is $642,697.92."
        ],
        "citations": [],
        "heading": "Initial measurement",
        "level": 2
      }
    ],
    "rou_asset_initial": 642697.92,
    "summary": "Operating lease: initial lease liability and right-of-use asset of $642,697.92 over 60 months at 6.25% a year.",
    "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.