---
title: "Insight into expenses, grouped by bill."
method: GET
path: "/v1/insight/expense/bill"
tags: ["insight"]
---

# Insight into expenses, grouped by bill.

`GET /v1/insight/expense/bill`

This endpoint gives a summary of the expenses made by the user, grouped by (any) bill.

## Query parameters

- `start` string, date, required
- `end` string, date, required
- `bills[]` integer[]
- `accounts[]` integer[]

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A list of budget and expense details. Each budget has one row per currency.

- InsightGroupEntry[]
  - `id` string, string — This ID is a reference to the original object.
  - `name` string, string — This is the name of the object.
  - `difference` string, string — The amount spent or earned between start date and end date, a number defined as a string, for this object and all asset accounts.
  - `difference_float` number, double — The amount spent or earned between start date and end date, a number as a float, for this object and all asset accounts. May have rounding errors.
  - `currency_id` string, string — The currency ID of the expenses listed for this account.
  - `currency_code` string, string — The currency code of the expenses listed for this account.

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
