Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Security and privacy
Security
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesChangelogAcacia2024-09-30.acacia

Adds support for templates to Invoices and Customers

What’s new

Adds the template field to the Invoice and Customer resources.

Added
rendering.templatestring

ID of the invoice rendering template to use for this invoice.

Added
invoice_settings.rendering_options.templatenullable string

ID of the invoice rendering template to be used for this customer’s invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice.

Impact

This version allows you to specify which template to apply to invoices or invoices for specific customers.

Changes

ParameterChangeResources or endpoints
templateAdded
Customer#create.invoice_settings.rendering_optionsCustomer#update.invoice_settings.rendering_optionsCustomer.invoice_settings.rendering_options
 + 3 more
Invoice#create.renderingInvoice#update.renderingInvoice.rendering

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: 2024-09-30.acacia
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Related changes

  • Adds Invoice Rendering Templates for Invoices
  • Adds retrieve and archive methods for Invoice Rendering Templates
  • Adds version support for Invoice Rendering Templates
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc