ChargebeeAPI

Retrieve a quote as PDF

Idempotency Supported
Try in API Explorer

Retrieves the quote as a PDF. The returned URL is secure, allows download and expires in 60 minutes.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/quotes/{quote-id}/pdf

Input Parameters

consolidated_view
optional, boolean, default=false

When true, the quote PDF has summary of all charges on the quote. When false, the quote PDF has a detailed view of charges grouped by charge event. This parameter does not affect one-time quotes.

disposition_type
optional, enumerated string, default=attachment

Determines the pdf should be rendered as inline or attachment in the browser.

Possible Enum Values
attachment

PDF is rendered as attachment in the browser

inline

PDF is rendered as inline in the browser

Returns

downloadDownload object

Resource object representing download