Analyze Aged Payables
analyze_aged_payablesAccounts-payable aging snapshot (AgedPayables, 79).
AP by aging bucket (Current / 1-30 / 31-60 / 61+), top GL accounts
owed, and a focused list of GL accounts with 61+ day balances. Mirror
image of analyze_aged_receivables. Scope to a single park or portfolio
with portfolio / property_ids — the report honors PropertyIDs
even though its CSV has no Property column for client-side filtering.
SLOW when UNSCOPED — a portfolio-wide first call takes 1-3 minutes, so BEFORE calling without a scope send the user a one-liner: 'This report takes 1-3 minutes to generate, I'll have results shortly.' Scoping to a park or portfolio returns in seconds. Follow-up queries within 5 minutes are cached and return instantly.
Args: portfolio: Portfolio name or 3-letter prefix. property_ids: Comma-separated property IDs. Use this OR portfolio. as_of_date: MM/DD/YYYY for the as-of snapshot. Defaults to today. top_n: Number of top GL accounts to list (default 10, max 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| portfolio | No | ||
| as_of_date | No | ||
| property_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |