Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now
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