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
| Fields | Change | From → to |
|---|---|---|
| InvoiceItem. pricing. price_details. price InvoiceLineItem. pricing. price_details. price | Changed | string → expandable($Price) |
Upgrade
- View your current API version in Workbench.
- 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
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.