Docs
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.
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.
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.
Chargebee uses an S3 endpoint for quote and invoice PDFs. Salesforce needs a remote site setting named CB_S3fileaccess.
The remote site URL can be taken from the error message. Sample screenshot:
Use a supported version of the Chargebee for Salesforce package. Older versions may not fully support PDF regeneration.
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.
Was this article helpful?