Consolidated AR Aging (Gestoria)
gestoria_aging_consolidatedGenerate a cross-client accounts receivable aging report to prioritize dunning and end-of-month collections. Returns totals by overdue period, per-workspace breakdown, and top overdue invoices.
Instructions
Get a cross-client AR aging report for a gestor — totals bucketed by current / 30-60 / 60-90 / 90+ days overdue, a per-workspace breakdown, and the top overdue invoices. Defaults to the authenticated gestor; pass ownerUid to query a specific gestor (requires elevated scope). Useful for dunning prioritisation and end-of-month chase lists. / Obtiene un informe de antiguedad de saldos cruzando todos los clientes del gestor — totales por tramo (al dia / 30-60 / 60-90 / 90+ dias), desglose por espacio y top vencidas. Util para priorizar reclamaciones y listas de cobro de fin de mes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerUid | No | Gestor UID to query (defaults to authenticated caller; elevated scope required for other UIDs) / UID del gestor (por defecto el llamante) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totals | Yes | ||
| byWorkspace | Yes | ||
| topOverdue | Yes | ||
| generatedAt | No |