---
title: "Get Expected Cash Balance"
method: GET
path: "/billing/cash-balance/expected/{location_id}"
tags: ["provider", "billing"]
---

# Get Expected Cash Balance

`GET /billing/cash-balance/expected/{location_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/billing/cash-balance/expected/{location_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/billing/cash-balance/expected/:location_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the expected cash balance for a location based on last close + payments - refunds.

## Path parameters

- `location_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- ExpectedCashBalance: Expected cash balance calculation for a location.
  - `expectedCash` integer, required: Expected cash balance in cents
  - `lastClosingBalance` integer, required: Last closing balance in cents
  - `paymentsSinceClose` integer, required: Cash payments since last close in cents
  - `refundsSinceClose` integer, required: Cash refunds since last close in cents
  - `adjustmentsSinceClose` integer, required: Cash balance adjustments since last close in cents
  - `lastCloseDate` string, date-time, nullable: Date of last close

## Other responses

- `422`: Validation Error

---

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