Client health score
client_healthScore each client's financial health from 0 to 100 using transparent rules like receivables, payroll coverage, and DSO to flag healthy, watch, or at-risk accounts.
Instructions
0-100 health score per client from transparent rules (each rule and its points is listed): 90+ day receivables share, payroll coverage, expense spike (z-score of latest month vs trailing months), growing director loan, DSO, unreconciled items, falling income. >=80 healthy, 60-79 watch, <60 at risk. Omit org for all clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Client org: tenant id or (part of) the organisation name, e.g. 'Northwind'. | |
| as_of | No | Report date (YYYY-MM-DD). Defaults to today (demo mode: 2026-09-30). |