List invoices
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
1 <= x <= 100Filterable fields:
status(enum: open, paid, voided, uncollectible):eq,ne,inperiod_start(date):gte,lte,is_nullperiod_end(date):gte,lte,is_nulltype(enum: usage, prepayment, void):eq,ne,insubscription(string):eq,ne,in,is_null,contains,starts_with,ends_with
Any other field or operator returns 400. See Filtering Documentation for the syntax.
"value"
Response
Invoices summarise the amounts owed/payed for a subscription. Usage invoices (type: "usage") bill the metered electricity consumption of a billing period and include all line items such as energy, grid fees and taxes. Prepayment invoices (type: "prepayment") charge a fixed advance amount and carry no usage; an unpaid prepayment that is cancelled surfaces with status: "uncollectible". Void invoices (type: "void") are Storno documents that reverse a previously paid invoice and reference the original via voids. Voided originals are included with status: "voided". The related PDFs are available via the /invoices/{id}/file endpoint. Customer users will only see their own. Use filter[subscription][eq]= to scope to a single subscription.
list - Usage invoice
- Prepayment invoice
- Void invoice
"eyJsYXN0X2NyZWF0ZWRfYXQiOiIyMDI1LTAxLTE1VDEwOjMwOjAwLjAwMFoiLCJsYXN0X2lkIjoic3ViX21pNGYwb2RhNng5bTdnY3N2amswb2xlMSIsImxpbWl0IjoyMH0="