# The Subscription Item object

### The Subscription Item object

```json
{
  "id": "si_NcLYdDxLHxlFo7",
  "object": "subscription_item",
  "created": 1680126546,
  "metadata": {},
  "price": {
    "id": "price_1Mr6rdLkdIwHu7ixwPmiybbR",
    "object": "price",
    "active": true,
    "billing_scheme": "per_unit",
    "created": 1680126545,
    "currency": "usd",
    "custom_unit_amount": null,
    "discounts": null,
    "livemode": false,
    "lookup_key": null,
    "metadata": {},
    "nickname": null,
    "product": "prod_NcLYGKH0eY5b8s",
    "recurring": {
      "interval": "month",
      "interval_count": 1,
      "trial_period_days": null,
      "usage_type": "licensed"
    },
    "tax_behavior": "unspecified",
    "tiers_mode": null,
    "transform_quantity": null,
    "type": "recurring",
    "unit_amount": 1000,
    "unit_amount_decimal": "1000"
  },
  "quantity": 2,
  "subscription": "sub_1Mr6rbLkdIwHu7ix4Xm9Ahtd",
  "tax_rates": []
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string)
  String representing the object’s type. Objects of the same type share the same value.

- `billed_until` (timestamp, nullable, expandable (can be expanded into an object with the `expand` request parameter))
  The time period the subscription item has been billed for.

- [`billing_thresholds`](https://docs.stripe.com/api/subscription_items/object.md?query=billing_thresholds) (object, nullable)
  Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period

- `created` (integer)
  Time at which the object was created. Measured in seconds since the Unix epoch.

- `current_period_end` (timestamp)
  The end time of this subscription item’s current billing period.

- `current_period_start` (timestamp)
  The start time of this subscription item’s current billing period.

- `discounts` (array of strings, expandable (can be expanded into an object with the `expand` request parameter))
  The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.

- `metadata` (map)
  Set of [key-value pairs](https://docs.stripe.com/api/metadata.md) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

- [`price`](https://docs.stripe.com/api/subscription_items/object.md?query=price) (object)
  The price the customer is subscribed to.

- `quantity` (integer, nullable)
  The [quantity](https://docs.stripe.com/subscriptions/quantities.md) of the plan to which the customer should be subscribed.

- `subscription` (string)
  The `subscription` this `subscription_item` belongs to.

- [`tax_rates`](https://docs.stripe.com/api/subscription_items/object.md?query=tax_rates) (array of objects, nullable)
  The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
