Audit a landlord's expense statement against the lease
audit_expense_statementAudit a landlord's operating-expense (CAM) statement for a tenant, from verified facts only. Give the lease's facts (doc_abstract_lease or doc_verify_facts: pro-rata share, cap, base year or stop, admin fee, gross-up, excluded categories, capital-item treatment, audit right) and the statement's facts (each billed line, share applied, fee, gross-up, cap applied, totals, estimates, the date the tenant received it), each with its quote and page and passing fact_validate; optionally the prior year's lines. Returns findings, each with a stable code, the landlord's figure, the figure the lease yields, the dollar difference, the lease and statement fact ids with the quotes and pages, the calculation steps, a confidence class (follows_from_terms: the arithmetic follows from a quoted term and the statement's own numbers; depends_on_reading: it depends on how the lease sentence is read; question_to_ask: a question, never an overcharge) and what a person must confirm; totals; the last day to dispute or invoke the audit right with the notice form the lease requires; whether the difference crosses the lease's cost-shifting threshold; package_items ready for fact_package_send (state_ours with the landlord's figure as their_value for each finding, accept_theirs for lines with no finding); and checks_not_run with the reason (a missing lease term is never guessed). Twelve checks: management fee, cap, capital items, gross-up, pro-rata share, excluded categories, duplicates, base year or stop, arithmetic, year over year, deadlines, cost-shifting. Deterministic and no model: a finding without a verified lease fact behind it is never produced; same inputs, same findings; as_of is an input. Findings are differences against quoted terms, not legal conclusions: each finding carries its quote, for a person to review before anything is sent. On the hosted API the whole answer also carries attestation, the service's signature over the items, grades and figures that fact_package_send carries, so the FactLot record can show them as computed by FactLot and unchanged since; a service without a signing key returns none and says so. On the hosted API, callers without a Pro or Team key get the summary only (finding count, total difference, deadlines, checks not run) and the answer says what is withheld. Each free, email-verified account (an fl_free_ key) gets one whole document in total across audit_expense_statement, estoppel_prepare and rent_roll_certify: that answer says so, and the report built from the same arguments is included for 24 hours; Pro and Team include every document with the monthly allowance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lease_facts": "<lease_facts>",
"statement_facts": "<statement_facts>",
"as_of": "<as_of>"
},
"name": "audit_expense_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Today's date, YYYY-MM-DD. The tool reads no clock: deadlines are counted from this date. | |
| lease_facts | Yes | The lease's verified facts (doc_abstract_lease's facts, or doc_verify_facts' verified[].fact), each with its quote and page. Read by predicate: lease.pro_rata_share (number; required: every finding rests on it), lease.pro_rata_basis {tenant_sf, building_sf}, lease.cam_cap {method, rate} or, when the lease says only 'cumulative' or 'non-cumulative' and not how, lease.cam_cap_rate {rate} (the audit then shows the figure under each of the three methods), lease.operating_expense_base_year (integer), lease.expense_stop {amount} (building-level USD per year), lease.cam_admin_fee {rate, base: actual|grossed_up, excluded_from_base: [category words]}, lease.cam_gross_up {target_occupancy, applies_to: variable_expenses|all_expenses, base_year_grossed_up?: boolean}, lease.cam_exclusion (one per excluded category: a string, or {category, keywords?: [words]}), lease.capex_treatment {keywords: [words], recoverable: excluded|amortized, amortization_years?, interest_rate?}, lease.audit_right {window_days, starts_from: statement_receipt|statement_date, notice_form, auditor?, cost_shift_threshold?: {type: percent_of_billed|amount, value}}. A check whose lease term is missing is listed in checks_not_run; nothing is guessed. | |
| yoy_threshold | No | A line that rose by more than this fraction over the prior year is listed as a question to ask (default 0.10 = 10%). Never an overcharge. Must be greater than 0. | |
| statement_facts | Yes | The landlord's statement as verified facts, each with its quote and page. Read by predicate: statement.period {year, statement_date, received_date}, statement.line {label, amount (building-level USD), controllable?, variable?, capital?, grossed_up_amount?, amortization?: {cost, years, rate}} (one per billed line), statement.total {amount}, statement.share_applied {share, building_sf?}, statement.gross_up {actual_occupancy, target_occupancy}, statement.admin_fee {rate, base_amount, amount}, statement.cap_reference {year, amount} (the tenant's controllable amount in the cap's reference year), statement.cap_applied {limit: number or null}, statement.base_year_applied {base_year?, stop_amount?, deduction, grossed_up?}, statement.base_year_total {year, amount}, statement.separately_billed {label, amount}, statement.tenant_charge {amount}, statement.estimates_credited {amount}, statement.estimates_paid {amount}, statement.balance_claimed {amount}. | |
| prior_statement_facts | No | Optional: the prior year's statement.line and statement.period facts, for the year-over-year questions. |