Monthly billing report for an existing allocation (kWh → EUR, #284)
Replays the allocation, fetches each consumer's EDM consumption timeseries, caps the quota-based allocation at actual consumption (#282), aggregates Restmenge/Überschuss per consumer (#283), and applies tariffEurPerKWh to produce a billing report. Only allocatedKWh (internal solar share actually used) is billed — remainderKWh (grid draw) is reported for transparency but never billed here. A consumer with no EDM consumption data for the period gets billingAmountEur: null, never a misleading €0.00.
Request
- Base URL: https://api.cernion.de
- URL: https://api.cernion.de/api/energy-sharing-allocation/allocations/:id/billing-report
- Auth: none declared
Path parameters
Allocation UUID
Query parameters
Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.
Request body
Example request
{
"tariffEurPerKWh": 0.25
}Response
Billing report (JSON) or semicolon-delimited CSV export
Changes
No recorded changes to this operation across all 2 revisions of this API.