Analyze Payment Trends
analyze_payment_trendsMonth-over-month payment trends (PaymentComparison, 32).
Surfaces total collections per month (with % change), per-property rollup of last vs prior month, and a tenant-level list of payment drops bigger than drop_threshold_pct (default 50%). Defaults to a trailing ~90 day window so 3 month columns surface. Answers: 'which tenants stopped paying', 'how did collections trend last quarter', 'which properties are losing collections'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| end_date | No | ||
| portfolio | No | ||
| start_date | No | ||
| property_ids | No | ||
| drop_threshold_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |