# The License Fee Version object

### The License Fee Version object

```json
{
  "created": "2025-01-01T00:00:00.000Z",
  "id": "licfv_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy",
  "license_fee_id": "licf_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy",
  "object": "v2.billing.license_fee_version",
  "tiering_mode": "graduated",
  "tiers": [
    {
      "flat_amount": null,
      "unit_amount": "20.00",
      "up_to_decimal": null,
      "up_to_inf": "inf"
    }
  ],
  "transform_quantity": {
    "divide_by": 1000,
    "round": "down"
  },
  "unit_amount": "20.0",
  "livemode": true
}
```

## Attributes

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

- `object` (string, value is "v2.billing.license_fee_version")
  String representing the object’s type. Objects of the same type share the same value of the object field.

- `created` (timestamp)
  Timestamp of when the object was created.

- `license_fee_id` (string)
  The ID of the parent License Fee.

- `livemode` (boolean)
  Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

- `tiering_mode` (enum, nullable)
  Defines whether the tiering price is graduated or volume-based. In volume-based tiering, the maximum quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity grows into new tiers. Can only be set if `tiers` is set.
Possible enum values:
  - `graduated`
    Use graduated tiering: the pricing at each tier applies to the quantity within that tier.

  - `volume`
    Use volume-based tiering: the maximum quantity within a period determines the per-unit price for that period.

- [`tiers`](https://docs.stripe.com/api/v2/license-fees/license-fee-versions/object.md?query=tiers) (array of objects)
  Each element represents a pricing tier. Cannot be set if `unit_amount` is provided.

- [`transform_quantity`](https://docs.stripe.com/api/v2/license-fees/license-fee-versions/object.md?query=transform_quantity) (object, nullable)
  Apply a transformation to the reported usage or set quantity before computing the amount billed.

- `unit_amount` (string, nullable)
  The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. Cannot be set if `tiers` is provided.
