Get invoice metrics

GET/api/v1/invoices/metrics

Retrieve aggregated invoice metrics for the business: total outstanding and total overdue across all open invoices.

Operation ID: get_invoice_metrics_api_v1_invoices_metrics_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

200Successful Response

successboolean
messagestring
codestring
dataInvoiceMetricsResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject