Customer meter consumption

Invoice All Consumption

POST
/orgs/{organizationId}/customers/{customerId}/consumption/invoice

Invoices all outstanding consumption for a customer. Optionally adds items to an existing draft invoice. Optionally filters by specific meter IDs.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

customerId*string

Request Body

application/json
  1. body
invoiceId?string
meterIds?array<string>

Response Body

OK

application/json
  1. response
curl -X POST 'https://api.tillor.eu/orgs/string/customers/string/consumption/invoice' \  -H 'Content-Type: application/json' \  -d '{}'
null