Payroll risk ranking
payroll_riskRank client orgs by payroll shortfall risk: compare cash minus bills due before payday against average wages; coverage below 1.0 flags a shortfall.
Instructions
Ranks orgs by how close they are to missing their next payroll. coverage = (cash in bank - bills due on or before payroll date) / payroll amount. Below 1.0 means a shortfall. Payroll amount defaults to the average of wages/salaries P&L lines over the last 3 months, next payroll date to the next 25th; override with set_payroll_profile. Shows the formula with numbers for each org.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Report date (YYYY-MM-DD). Defaults to today (demo mode: 2026-09-30). |