ChargebeeAPI
Join the Chargebee Developers Discord — Connect, ask questions, and build faster.Join

Retrieve Usages for an Invoice as PDF

Idempotency Supported
Try in API Explorer

Retrieves usages record for an invoice in PDF file format.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/usages/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

invoice[0..n]
Parameters for invoice
pass parameters as invoice[<param name>]

Returns

downloadDownload object
Resource object representing download