Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.Try now
Chargebeechargebee API

Retrieve Usages for an Invoice as PDF

Idempotency Supported

Retrieves usages record for an invoice in PDF file format.

Sample Request

Retrieve Usages for an Invoice as PDF

Sample Result[JSON]

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.

Enum Values
attachment

PDF is rendered as attachment in the browser

inline

PDF is rendered as inline in the browser

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

Returns

Download object
Resource object representing download