---
title: "Aged balance of money owed to suppliers, bucketed by how far each échéance is from today"
method: GET
path: "/v1/statistics/unpaidexpenses"
tags: ["Statistics"]
---

# Aged balance of money owed to suppliers, bucketed by how far each échéance is from today

`GET /v1/statistics/unpaidexpenses`

## Request

- Base URL: `https://api.altoviz.com`
- URL: `https://api.altoviz.com/v1/statistics/unpaidexpenses`
- Auth: none required
- TypeScript: <https://skmtc.dev/altoviz/apis/altoviz-api/docs/v1/statistics/unpaidexpenses/get.ts> (a function with typed inputs; its response is checked against the schema)

The payables mirror of M:Altoviz.Api.Controllers.StatisticsController.UnpaidInvoices(Altoviz.Api.Services.InvoicingClientService); subtract one from the other for a net position.

## Response `200`

OK

- UnpaidCommitmentBucket[]
  - `count` integer: Number of échéances in this bucket
  - `period` integer: Negative is overdue, 0 is due today, positive is upcoming. -7 is more than 90 days late, 7 more than 90 days ahead; the steps in between are 1, 7, 15, 30, 60 and 90 days.
  - `total` number, double: Amount still due in this bucket

## Changes

- **2026-09-14** `4f7fa64cf9e3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/altoviz/apis/altoviz-api/changes/v1/statistics/unpaidexpenses/get.md)

---

[API](https://skmtc.dev/altoviz/apis/altoviz-api.md) - [All operations](https://skmtc.dev/altoviz/apis/altoviz-api/llms.txt) - [OpenAPI document](https://skmtc.dev/altoviz/apis/altoviz-api/revisions/4f7fa64cf9e3?raw)
