Get bill metrics

GET/api/v1/bills/metrics

Retrieve aggregated bill metrics for the business: total due and total balance due across all received and partially paid bills.

Operation ID: get_bill_metrics_api_v1_bills_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
dataBillMetricsResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

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