---
title: "Daily appointment financial stats for a month"
method: POST
path: "/api/analytics/finance/appointments/daily-stats"
tags: ["analytics"]
---

# Daily appointment financial stats for a month

`POST /api/analytics/finance/appointments/daily-stats`

Returns daily counts by status (completed, paid, rejected, pending, no-rebooking, to-do) for the given month.

## Request body

- DailyStatsRequest — Daily appointment financial stats request model.
  - `month` integer, required — Month (1-12)
  - `year` integer, required — Year

## Response `200`

Successful Response

- DailyAppointmentFinancialResponse — Daily appointment financial stats response model.
  - `data` DailyAppointmentFinancialRow[] — One row per day in the requested month
    - `day` string, date, required — Date (day)
    - `created_appointments` integer — Appointments created on that day
    - `to_do_appointments` integer — DA_FARE appointments count for that day
    - `paid_appointments` integer — Paid count
    - `paid_with_birthday_discount_appointments` integer — Paid appointments redeemed with birthday discount
    - `rejected_appointments` integer — Rejected/cancelled count
    - `pending_appointments` integer — Pending payment count
    - `completed_no_rebooking_appointments` integer — Completed with no follow-up rebooked
    - `completed_appointments` integer — Completed (FATTO) count
    - `free_completed_appointments` integer — Completed free appointments count
    - `free_to_do_appointments` integer — To-do free appointments count

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
