Join the Chargebee Developers Discord — Connect, ask questions, and build faster.Join
Idempotency Supported
Try in API ExplorerRetrieves usages record for an invoice in PDF file format.
Sample Request
URL Format
POST https://[site].chargebee.com/api/v2/usages/pdf
Input Parameters
optional, enumerated string, default=attachment
Determines the pdf should be rendered as inline or attachment in the browser.
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