---
search:
  tags:
    - Sessions
    - POST
seo:
  description: >-
    Any signed in user. Files cash counted at the till against the session's…
    Reference for the POST /api/v1/sessions/tender endpoint in the PharmaFlow
    API.
sidebar:
  label: Declare the counted cash
  badge: POST
title: Declare the counted cash
type: openapi-operation
---
Any signed in user. Files cash counted at the till against the session's expected amount. It reads as overage, shortage, or balanced, and a caller with no session cannot declare.

`POST /api/v1/sessions/tender`

**Request body** (`application/json`, required)

- `declared_cash` (number, required)
- `notes` (string)

Request body example:

```json
{
  "declared_cash": 0,
  "notes": ""
}
```

**Responses**

- `200` — The filed declaration
- `400` — Invalid request body: a declared cash amount is required
- `401` — Not authenticated
- `404` — No active session

Response example, 200:

```json
{
  "id": "string",
  "session_id": "string",
  "declared_cash": "string",
  "expected_cash": "string",
  "difference": "string",
  "status": "string",
  "declared_at": "string"
}
```
