AgentInvoiceAgentInvoice

Get invoice statistics

Returns aggregated invoice statistics including total outstanding, paid this month, and counts by status. Includes period-over-period change metrics.

GET
/invoices/stats
AuthorizationBearer <token>

API key issued from your AgentInvoice account settings.

In: header

Response Body

application/json

curl -X GET "https://app.agentinvoice.co/api/invoices/stats"
{
  "totalOutstanding": "5250.00",
  "totalPaidThisMonth": "3000.00",
  "overdueCount": 2,
  "draftCount": 5,
  "totalInvoices": 48,
  "totalOutstandingChange": 0,
  "totalPaidChange": 0,
  "overdueCountChange": 0,
  "draftCountChange": 0
}