Important
For sites where both legacy and latest product catalog versions are active, GET API requests return responses in a compat format by default. This format works with both latest and legacy Product Catalog.
Override options:
chargebee-response-schema-type: items→ Return response in latest product catalog format only.chargebee-response-schema-type: plans_addons→ Return response in legacy product catalog format only.
Retrieve the invoice for the specified invoice ID.
Sample Request
Sample Result[JSON]
URL Format
GET https://[site].chargebee.com/api/v2/invoices/{invoice-id}
Input Parameters
Specify the maximum number of line items to include in the response.
Note:
- Applicable only when Enterprise-scale Invoicing is enabled.
- Enterprise-scale Invoicing is currently in Private Beta. Please reach out to Chargebee Support to enable this feature.
Specify the starting point for retrieving line items. Use the value from the line_items_next_offset attribute of the previous retrieve API response.
Note:
- Applicable only when Enterprise-scale Invoicing is enabled.
- Enterprise-scale Invoicing is currently in Private Beta. Please reach out to Chargebee Support to enable this feature.
Returns
Invoice object
Resource object representing invoice