Skip to main content

Revenue Recovery

The system tracks all revenue recovered via dunning for efficiency analysis.

Recovery Record

Each successful payment via retry creates a RecoveryRecord:

FieldDescription
Billing accountAccount that paid
InvoiceRecovered invoice
PaymentPayment that settled the debt
Amount (cents)Amount recovered
Days overdueHow many days overdue at the time of recovery
AttemptsHow many attempts until success
Recovery methodE.g.: auto_retry_pix, manual_retry_card
Original due dateWhen the invoice should have been paid
Recovered atPayment date

Available Metrics

Overview

MetricDescription
Total recoveredSum of all recovered payments
Total lostInvoices marked as uncollectible
Recovery ratePercentage of potential recovered
Average days to recoverAverage days overdue until payment
Average attemptsAverage attempts until success

By Payment Method

Distribution of recoveries by method:

  • PIX
  • Credit card
  • Boleto
  • Bank transfer

By Aging Bucket

BucketEstimated recovery rate
1-7 days85%
8-15 days70%
16-30 days50%
30+ days25%

Track monthly evolution:

  • Recovered and lost amounts per month
  • Monthly recovery rate
  • Number of invoices processed

Recovery Potential

Estimate of how much can be recovered from currently overdue invoices, based on historical rates per aging bucket.