# usage\_record\_summary

From **Stripe API**.

- Type: `object`

## Properties

### `id`

- Required: true
- Type: `string`
- maxLength: `5000`

Unique identifier for the object.

### `invoice`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

The invoice in which this usage period has been billed for.

### `livemode`

- Required: true
- Type: `boolean`

Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

### `object`

- Required: true
- Type: `string`
- Allowed values: `"usage_record_summary"`

String representing the object's type. Objects of the same type share the same value.

### `period`

- Required: true
- Type: `object`

### `subscription_item`

- Required: true
- Type: `string`
- maxLength: `5000`

The ID of the subscription item this summary is describing.

### `total_usage`

- Required: true
- Type: `integer`

The total usage within this usage period.

## JSON Schema

```json
{"properties":{"id":{"description":"Unique identifier for the object.","maxLength":5000,"type":"string"},"invoice":{"description":"The invoice in which this usage period has been billed for.","maxLength":5000,"nullable":true,"type":"string"},"livemode":{"description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.","type":"boolean"},"object":{"description":"String representing the object's type. Objects of the same type share the same value.","enum":["usage_record_summary"],"type":"string"},"period":{"$ref":"#/components/schemas/period"},"subscription_item":{"description":"The ID of the subscription item this summary is describing.","maxLength":5000,"type":"string"},"total_usage":{"description":"The total usage within this usage period.","type":"integer"}},"required":["id","livemode","object","period","subscription_item","total_usage"],"title":"UsageRecordSummary","type":"object","x-expandableFields":["period"],"x-resourceId":"usage_record_summary"}
```
