Energy Sharing Allocation
Annual billing report — sums N monthly allocations per consumer (#284)
Replays and bills each allocation in allocationIds (same logic as billingReport, one call per ID) using the same tariffEurPerKWh, then sums the results per consumer. A consumer missing data in some months is summed only over the months that have data — monthsWithData/monthsWithoutData/complete report the coverage transparently, never masking an incomplete year as a complete one.
post/api/energy-sharing-allocation/annual-billing-report
Request
- Base URL: https://api.cernion.de
- URL: https://api.cernion.de/api/energy-sharing-allocation/annual-billing-report
- Auth: none declared
Query parameters
tokenstring
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
{
"allocationIds": [
"alloc-jan",
"alloc-feb"
],
"tariffEurPerKWh": 0.25
}Response
Annual billing report (JSON) or semicolon-delimited CSV export
Changes
No recorded changes to this operation across all 2 revisions of this API.