Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Replaces top-level tax-related properties with improved tax modeling on Invoices, Invoice Line Items, and Credit Note Line Items


Breaking changes

Replaces top-level tax-related properties with improved tax modeling on Invoices, Invoice Line Items, and Credit Note Line Items Breaking changes

What’s new

We’re introducing a new taxes concept on Invoice Line Items and Credit Note Line Items that contains tax-related data and unifies the structure of tax objects in preparation for adding new types of tax objects. This replaces the top-level tax-related properties on the Invoice Line Item and Credit Note Line Item objects.

We’re also introducing a new total_taxes property on the Invoice and Credit Note objects for aggregated tax information.

Why is this a breaking change?

  • tax _ rates and tax _ amounts are no longer available on the Invoice Line Item and Credit Note Line Item objects.
  • total _ tax _ amounts is no longer available on the Invoice object.

Impact

Tax Rate IDs on Invoice Line Items and Credit Note Line Items are now nested inside the new taxes property:

  • Replace line _ item. tax _ rates[0] with line _ item. taxes[0]. tax _ rate _ details. tax _ rate (after verifying that line _ item. taxes[0]. type is tax _ rate _ details )
  • Replace line _ item. tax _ amounts[0]. amount with line _ item. taxes[0]. amount

Tax totals on Invoices and Credit Notes are now stored in total_taxes:

  • Replace invoice. total _ tax _ amounts[0]. amount with invoice. total _ taxes[0]. amount (after verifying that invoice. total _ taxes[0]. type is tax _ rate _ details )

Changes

ParametersChangeResources or endpoints
tax_amountsRemovedCreditNote CreditNoteLineItem InvoiceLineItem
amount_excluding_tax unit_amount_excluding_taxRemovedCreditNoteLineItem InvoiceLineItem
tax_ratesRemovedInvoiceLineItem
tax total_tax_amountsRemovedInvoice
total_taxesAddedCreditNote Invoice
taxesAddedCreditNoteLineItem InvoiceLineItem

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-03-31. basil
  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 .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?