compute_lease
Measure a lease under ASC 842 (v1: the lessee side — real estate and equipment). Give the term, the CERTIFIED discount rate (the rate implicit in the lease, or the incremental borrowing rate — it will NOT assume one), and the payment schedule; it measures the lease liability (present value of the payments), the right-of-use asset (liability + initial direct costs − incentives), and the amortization schedule — a single straight-line lease cost for an operating lease (842-20-25-6) or amortization + interest for a finance lease (842-20-25-5). Usage-based variable payments are excluded from the liability (842-10-30-6). Whatever it can't ground — a missing rate, an undetermined classification — it logs as an OPEN ITEM rather than guessing; lessor accounting is deferred. The result is recorded on the engagement file; a principal signs before the workpapers are delivered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| party | No | v1 is lessee-only; a lessor request is deferred to v2. | |
| payments | Yes | The lease payment schedule. | |
| prepaid_usd | No | Payments made at or before commencement — added to the ROU asset. | |
| term_periods | Yes | The lease term as a number of periods. | |
| engagement_id | Yes | The lease engagement (opened via open_engagement, classified as a lease). | |
| classification | No | The certified classification. Omit to default to operating (the v1 real-estate wedge). | |
| incentives_usd | No | Lease incentives received (e.g. a tenant-improvement allowance) — reduces the ROU asset. | |
| payment_timing | No | Whether payments fall at period end (arrears, default) or start (advance). | |
| periods_per_year | No | Periods per year: 12 monthly (default), 4 quarterly, 1 annual. | |
| annual_discount_rate_pct | Yes | The CERTIFIED annual discount rate (%). Omit and it will ask — it never assumes a rate. | |
| initial_direct_costs_usd | No | Initial direct costs — added to the ROU asset. |