RyzeDeskRyzeDesk

Stripe

4105 articles

Enables expansion for invoice pricing details


Enables expansion for invoice pricing details

What’s new

You can now expand the price_details.price hash on Invoice Line Items and Invoice Items so that the details of the Price object are included in the response.

Previously, the pricing_details.price field returned only the price ID. You had to make a separate API call to retrieve the object details of the related Price.

Impact

You can now get detailed information about Prices associated with Invoice Items and Invoice Line Items with a single API request. This reduces the number of API requests needed to get granular pricing information for invoices.

To use this feature, specify the price field (including parent attributes) in the expand parameter when retrieving these resources.

Changes

FieldsChangeFrom → to
InvoiceItem. pricing. price_details. price InvoiceLineItem. pricing. price_details. priceChangedstring → expandable($Price)

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
  • If you don’t use an SDK, update your API requests to include Stripe-Version: 2025-12-15. clover
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .

Learn more about Stripe API upgrades.

Last verified 2026-09-27

Is this helpful?