Invoke Skill Prepare Asc842 Memo
post
/api/v1/skills/prepare.asc842.memo/invokePrepare an ASC 842 lessee memo + lease schedules. Deterministic engine: lease liability = present value of the payment vector at the discount rate; ROU asset, operating single-cost / finance amortisation and the maturity ladder all re-computed from GROUNDED inputs. An ungrounded discount rate or payment clause is FLAGGED for partner input β never printed as a measurement.
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.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
subject_entity | string | null | Name of the lessee entity. |
classification | string | Lease classification under ASC 842: OPERATING or FINANCE. |
monthly_paymentrequired | number | integer | Base rent per month as a plain number in the lease currency, with no currency symbol or commas. |
lease_term_monthsrequired | integer | Length of the lease term in whole months. |
annual_raterequired | number | integer | Annual discount rate as a decimal fraction, so 0.0284 means 2.84%, never a string such as '2.84%'. |
in_advance | boolean | Whether payments fall at the start of each period (annuity due) rather than the end. |
abatement_months | integer | Number of leading months with no rent. |
initial_direct_costs | number | integer | Initial direct costs of obtaining the lease, as a plain number. |
lease_incentives | number | integer | Lease incentives received from the lessor, as a plain number. |
prepaid_rent | number | integer | Rent paid before commencement, as a plain number. |
rent_grounding | any | null | Evidence for the base-rent clause: a document quote or a named person's assertion. |
rate_grounding | any | null | Evidence for the discount rate: a document quote or a named person's assertion. |
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.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
}'