---
title: "Get invoice lines for a single invoice"
method: GET
path: "/billing-group/{billing_group_id}/invoice/{invoice_number}/lines"
tags: ["BillingGroup"]
deprecated: true
---

# Get invoice lines for a single invoice

`GET /billing-group/{billing_group_id}/invoice/{invoice_number}/lines`

## Request

- Base URL: `https://api.aiven.io/v1`
- URL: `https://api.aiven.io/v1/billing-group/{billing_group_id}/invoice/{invoice_number}/lines`
- Auth: HTTP bearer and OAuth 2
  - Authorization code: `https://console.aiven.io/oauth/authorize`
  - Token URL: `https://api.aiven.io/v1/oauth2/token` scopes: `billing:read`

> **Deprecated.**

The API endpoint /v1/billing-group/{billing\_group\_id}/invoice/{invoice\_number}/lines is deprecated. Use https://api.aiven.io/v1/organization/{organization\_id}/invoice/{invoice\_number}/lines instead. It will be removed on 2026-09-22.

## Path parameters

- `billing_group_id` string, required
- `invoice_number` string, required

## Response `200`

Response

- BillingGroupInvoiceLinesListResponse: BillingGroupInvoiceLinesListResponse
  - `errors` object[]: List of errors occurred during request processing
    - `message` string, required: Printable error message
    - `more_info` string: URL to the documentation of the error
    - `status` integer, required: HTTP error status code
  - `lines` object[]: List of invoice lines
    - `cloud_name` string: Name of the cloud, if billed resource is associated with a cloud resource
    - `commitment_name` string: Name of the commitment which is referred to this invoice line
    - `description` string, required: Human-readable short description of the invoice line
    - `line_pre_discount_local` string: Pre-tax sum of invoice line, in local currency, before any discounts
    - `line_total_local` string: Pre-tax sum of invoice line, in the local currency configured for the invoice
    - `line_total_usd` string, required: Pre-tax sum of invoice line, in USD
    - `line_type` 'commitment_fee' | 'credit_consumption' | 'extra_charge' | 'multiplier' | 'other_event' | 'pro_platform_charge' | 'rounding' | 'service_charge' | 'support_charge', required: Type of the invoice line
    - `local_currency` string: Currency used for line_local_total
    - `project_name` string: Name of the project this line is associated with, if any
    - `service_name` string: Name of the service, if invoice line is for service use
    - `service_plan` string: Service plan name, if invoice line is for service use
    - `service_type` 'alert_triage' | 'alertmanager' | 'application' | 'clickhouse' | 'datahub' | 'dragonfly' | 'elasticsearch' | 'flink' | 'grafana' | 'kafka' | 'kafka_connect' | 'kafka_mirrormaker' | 'mysql' | 'nomadclient' | 'opensearch' | 'pg' | 'sandbox' | 'sandbox_api' | 'sparkpool' | 'stresstester' | 'sw' | 'thanos' | 'thanoscompactor' | 'thanosparquet' | 'thanosquery' | 'thanosreceiver' | 'thanosruler' | 'thanosstore' | 'valkey' | 'vector' | 'vmalert': Service type, if invoice line is for service use
    - `tags` object: Billing tags
    - `timestamp_begin` string: Begin timestamp of the billed time period, for resources billed by time
    - `timestamp_end` string: End timestamp of the billed time period, for resources billed by time
  - `message` string: Printable result of the request

## Changes

- **2026-10-15** `84b4640e4ef5`: 1 warning
  - added the new `sandbox_api` enum value to the `lines/items/service_type` response property for the response status `200`
- **2026-10-14** `890113a87c87`: 1 warning
  - added the new `sandbox` enum value to the `lines/items/service_type` response property for the response status `200`
- **2026-08-28** `c949573465e3`: 1 warning
  - added the new `alert_triage` enum value to the `lines/items/service_type` response property for the response status `200`
- **2026-07-31** `871517494397`: 1 info
  - endpoint deprecated
- **2026-07-26** `b262b3b4c127`: 1 info
  - endpoint reactivated

[Operation history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/billing-group/:billing_group_id/invoice/:invoice_number/lines/get.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.dev/aiven/apis/aiven-api-documentation/revisions/562453405db0?raw)
