---
title: "Get outstanding auto payment count"
method: GET
path: "/business-units/outstanding-auto-payment-count"
tags: ["businessUnitOutstandingAutoPayment"]
---

# Get outstanding auto payment count

`GET /business-units/outstanding-auto-payment-count`

Get all business units where the user has the Process and Allocate Payments permission. Return their pending interface files and tills to allocate count

## Response `200`

Business unit outstanding auto payment count response

- BusinessUnitOutstandingAutoPaymentCountResponse
  - `businessUnits` BusinessUnitOutstandingAutoPaymentCount[]
    - `businessUnitId` integer, required
    - `businessUnitName` string, required
    - `fileCount` integer, required
    - `tillsCount` integer, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error
- `503` — Service unavailable

---

[API](https://skmtc.net/hm-courts-and-tribunals-service/apis/opal-fines-service-business-units.md) · [All operations](https://skmtc.net/hm-courts-and-tribunals-service/apis/opal-fines-service-business-units/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hm-courts-and-tribunals-service/opal-fines-service-business-units/revisions/2660bf8b2ef8/schema)
