---
title: "Get Expense Summary"
method: GET
path: "/api/v1/expenses/summary"
tags: ["expenses", "expenses"]
---

# Get Expense Summary

`GET /api/v1/expenses/summary`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/expenses/summary`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

## Query parameters

- `year` integer, nullable

## Response `200`

Successful Response

- ExpenseSummary
  - `year` integer, required
  - `total_amount` string, required
  - `total_deductible` string, required
  - `written_off` string
  - `investments` string
  - `count` integer, required
  - `by_category` object

## Other responses

- `422`: Validation Error

---

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