---
title: "UsagesBySubscriptionID (Chargebee)"
description: "Usages by Subscription ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/chargebee/Chargebee.Subscriptions.UsagesBySubscriptionID
original: https://documentation.invantive.eu/en/datamodels/chargebee/Chargebee.Subscriptions.UsagesBySubscriptionID
updated: 2024-06-10T18:44:26Z
license: https://documentation.invantive.eu/en/
---

# UsagesBySubscriptionID: Chargebee Usages by Subscription ID

`read only` `REST`

- Catalog: `Chargebee`
- Schema: `Subscriptions`
- Primary Keys: `id`
- Label: Usages by Subscription ID

Can only retrieve data.

## API Source

- Endpoint: `/usages`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `subscription_id` | `` | [x] |  |  |

## Table Columns

The columns of the table `UsagesBySubscriptionID` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `created_at` | `datetime` | Created at | [ ] |  |  |
| `id` | `varchar2(100)` | ID | [x] |  |  |
| `invoice_id` | `varchar2(100)` | Invoice ID | [ ] |  |  |
| `item_price_id` | `varchar2(100)` | itgen_cbe_item_price_id | [ ] |  |  |
| `line_item_id` | `varchar2(100)` | Line Item ID | [ ] |  |  |
| `note` | `varchar2` | Note | [ ] |  |  |
| `quantity` | `int32` | Quantity | [ ] |  |  |
| `resource_version` | `int64` | Resource Version | [ ] |  |  |
| `source` | `varchar2` | Source | [ ] |  |  |
| `subscription_id` | `varchar2(100)` | Subscription ID | [ ] |  |  |
| `updated_at` | `datetime` | Updated at | [ ] |  |  |
| `usage_date` | `datetime` | itgen_cbe_usage_date | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Chargebee](/en/release-notes/drivers?driver=chargebee)

