Adds support for pre-tax credit amount information to invoices
What’s new
Adds the pretax_credit_amounts attribute to the Invoice Line Item resource and the total_pretax_credit_amounts attribute to the Invoice resource. These fields contains information about billing credits, along with other pre-tax credits like discounts, that were applied to the invoice.
Impact
You can now see a breakdown of credits applied to an invoice before tax calculations, including discounts. This information shows which credit notes were issued and how they relate to the invoice.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| pretax_credit_amounts | Added | InvoiceLineitem |
| total_pretax_credit_amounts | Added | Invoice |
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: 2024-10-28. acacia
- 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.