msio_ar_aging
Bucket overdue invoices by age to see outstanding balances, prioritize collections, and support AR cash flow analysis with adjustable payment terms and filters.
Instructions
Bucket overdue invoices by age for accounts receivable analysis.
USE WHEN: "How much money is owed?", AR review, collection priority, cash flow analysis. DO NOT USE WHEN: Looking for specific invoice (use hcp_list_invoices). GOTCHAS: Invoice endpoint has no server-side filters. For large accounts (29K+ invoices), results are capped at max_invoices. Check metadata.coverage_pct.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "msio_ar_aging"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | ||
| max_invoices | No | ||
| payment_terms_days | No | ||
| include_zero_amount | No | ||
| minimum_amount_cents | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No | ||
| success | Yes | ||
| metadata | Yes |