Assess Payment Risk
invoice_riskAssess an invoice's late-payment risk (0-100) by analyzing amount, client history, due date, and reminders to prioritize collections.
Instructions
Predict late-payment risk for a specific invoice on a 0-100 scale. The model combines invoice amount (relative to client average), client payment history (avg_days_to_payment, late_payment_count), days remaining until due date, and prior reminder_count. Returns {risk_score (0-100), risk_level ("low"|"medium"|"high"|"critical"), factors (array of {factor, impact, detail}), recommended_action (string), next_reminder_date (ISO string or null)}. Use for prioritizing collection effort on high-value invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | UUID of the invoice to assess |