New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Agents
  • Chargebee Copilot
  • Chargebee MCP Server (Model Context Protocol)

Developer Resources


  • Developer Resources Overview
  • Articles and FAQ

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Usage Alerts
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Ecommerce Management
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Integrations
  3. Articles and FAQ
  4. Salesforce
  1. Billing
  2. Integrations
  3. Articles and FAQ
  4. Salesforce

Why do updated quote PDFs in Salesforce replace previous versions?

Problem Statement

When a quote is created from Salesforce, the first PDF is generated successfully. After the quote is updated, running Generate Quote PDF again may not produce a visibly new file, or merchants may expect multiple PDF versions. In practice, Salesforce does not version Chargebee quote PDFs; each new PDF replaces the previous one.

Related Scenarios

  • The first quote PDF generates, but later updates do not create a separate new PDF file.
  • Need to keep multiple PDF versions for the same quote.
  • Remote site settings or permissions may block PDF regeneration.

Solution

Salesforce does not create multiple PDF versions for Chargebee quotes. When you update a quote and generate a new PDF, the existing PDF is replaced, not versioned. This is expected. To keep version history, download and store PDFs externally.

If Generate Quote PDF does nothing, check remote site settings, Salesforce permissions, and the Chargebee for Salesforce package version.

Steps to Set It Up

Use the "Generate Quote PDF" action after every update

After any change to a quote (for example, products or expiry date), trigger Generate Quote PDF again in Salesforce. The new PDF replaces the existing one.

Verify remote site settings

Chargebee uses an S3 endpoint for quote and invoice PDFs. Salesforce needs a remote site setting named CB_S3fileaccess.

  1. In Salesforce, go to Setup.
  2. In Quick Find, search for Remote Site Settings.
  3. Confirm CB_S3fileaccess exists and the URL matches the Chargebee S3 URL in any error message.
  4. If it is missing, create a new Remote Site Setting with the URL from the error message, then save and retry.
image

The remote site URL can be taken from the error message. Sample screenshot:

image

Confirm Salesforce package version

Use a supported version of the Chargebee for Salesforce package. Older versions may not fully support PDF regeneration.

Check user permissions

The Salesforce user must be able to view the Quote object and create attachments or files. Missing permissions can prevent the PDF from being updated on the quote record.

Additional Information

  • Salesforce does not support PDF versioning for Chargebee quote PDFs. Each new PDF replaces the previous one. For version history, download and store earlier PDFs manually.
  • This is current expected behavior.

Related Articles

'Sync Rule for Opportunities in Salesforce: Allow Chargebee to update the opportunity products in Salesforce with subscription''s products in Chargebee setting'
Salesforce- populate Customer.Billing_Address.Company
Business Entity is not showing up for selection in Chargebee Settings of Salesforce

Was this article helpful?