---
title: "Get the billing report for an organization"
method: POST
path: "/organization/{organization_id}/billing-report"
tags: ["Organizations"]
---

# Get the billing report for an organization

`POST /organization/{organization_id}/billing-report`

> This endpoint **may be changed or removed at any time**. Don't use it in production environments.

## Path parameters

- `organization_id` string, required

## Request body

- OrganizationBillingReportReadRequestBody — OrganizationBillingReportReadRequestBody
  - `billing_group_name` string — Name of the Billing Group to fetch invoice lines for
  - `ending_date` string, required — Date before which invoice lines should be returned (exclusive)
  - `service_name` string — Name of the service to fetch invoice lines for
  - `starting_date` string, required — Date after which invoice lines should be returned (inclusive)

## Response `200`

Response

- OrganizationBillingReportReadResponse — OrganizationBillingReportReadResponse
  - `line_items` object[], required — List of invoice line items
    - `billing_group_id` string, required — Billing group ID
    - `ending_before` string, required — Ending time for the time slice for which this line item was accrued
    - `list_price` number, required — The list price associated with the line item.
    - `name` string, required — Product name
    - `presentation_group_values` object, required — Metadata for this particular product consumption
    - `pricing_group_values` object, required — Pricing dimensions for this particular product's consumption
    - `product_custom_fields` object, required — Custom fields for this product
    - `product_tags` string[], required — The current product tags associated with the line item's product_id.
    - `product_type` 'FixedProductListItem' | 'UsageProductListItem' | 'SubscriptionProductListItem' | 'CompositeProductListItem', required — The type of the line item's product
    - `quantity` number, required — How much of this product was metered in this time slice
    - `starting_at` string, required — Starting time for the time slice for which this line item was accrued
    - `total` number, required — Total price in USD of this line item
    - `type` 'scheduled' | 'commit_purchase' | 'usage' | 'subscription' | 'applied_commit_or_credit' | 'cpu_conversion', required — The type of line item
    - `unit_price` number, required — The unit price associated with the line item.

## Other responses

- `404` — Resource not found

## Changes

- **2026-07-26** `b262b3b4c127` — 1 warning, 2 info
  - removed the request property `billing_group_id`
  - added the required property `line_items/items/billing_group_id` to the response with the `200` status
  - added the required property `line_items/items/list_price` to the response with the `200` status

[Change history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/organization/:organization_id/billing-report/post.md)

---

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