Get an invoice
Retrieve invoice details by its id
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
"inv_drjjua6ampd1op2fg98k89x8"
Response
invoice
Unique identifier of the invoice.
"inv_drjjua6ampd1op2fg98k89x8"
Human-readable invoice number displayed on the invoice document
"H62SU12A-003"
Numeric month (1-12) for which the invoice is issued
4
Four-digit year for which the invoice is issued
2025
Timestamp marking the beginning of the billing period (inclusive)
"2025-03-31T22:00:00Z"
Timestamp marking the end of the billing period (exclusive)
"2025-04-30T22:00:00Z"
Sequential number of the billing period within the subscription (1-based)
3
Current status of the invoice:
open
, paid
, voided
"open"
Total energy consumption in kilowatt-hours (kWh) during the billing period
100
Total amount due in euros (EUR) including all fees, taxes, and energy costs
110.04