Retrieve usages for an invoice as PDF
Open in PostmanAdvanced Usage-Based Billing
For high-scale usage ingestion, use Advanced Usage-Based Billing with the Usage Events API. The Usage Events API supports schemaless event ingestion at scale, including individual events, batch ingestion, and usage file ingestion.
Retrieves usages record for an invoice in PDF file format. This endpoint is part of the Usages API for Automated Metered Billing.
For Usage-Based Billing invoices, you can optionally group a metered feature's usage by its configured group-by attributes. Automated Metered Billing continues to render the existing ungrouped usage PDF.
Availability
Support for adding GROUP BY to metered features and retrieving usage grouped by attributes is an upcoming capability and is not generally available yet. It will be made available in the coming weeks.
Use Cases
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
Returns
Resource object representing download