Aged Debtors Report

GET https://app.speybooks.com/api/v1/reports/aged-debtors

Accounts receivable aging report. Lists all outstanding sales invoices grouped by contact, with each invoice classified into an aging bucket based on days past the due date:

  • current — not yet due
  • 1–30 — 1 to 30 days overdue
  • 31–60 — 31 to 60 days overdue
  • 61–90 — 61 to 90 days overdue
  • 90+ — more than 90 days overdue

Amounts are computed as total − amount_paid. Only invoices with a positive outstanding balance are included. Defaults to today's date if asOfDate is not specified.

Query parameters

asOfDate string optional
Report as of date (default: today)
date

Response

200 Default Response
Show response fields
contacts array<object>
Show child attributes
contactId string
contactName string
current integer
days1to30 integer
days31to60 integer
days61to90 integer
days90plus integer
total integer
reportDate string
reportTitle string
totalContacts integer
totalInvoices integer
totals object
Show child attributes
current integer
total integer