ChargebeeAPI

Retrieve Invoice as PDF

Idempotency Supported
Try in API Explorer

Gets the invoice as PDF. The returned URL is secure and allows download. The URL will expire in 60 minutes.

Sample Request

URL Format

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

Input Parameters

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