Skip to main content

settle_mmm

Function settle_mmm 

Source
pub fn settle_mmm(input: &MmmInput) -> Result<SettlementResult, BillingError>
Expand description

Calculate a Mehr-/Mindermengen settlement invoice (PID 31005, Strom and Gas).

Selected from the delivery period, because StromNZV and GasNZV both ceased to apply with effect from the end of 31.12.2025:

PeriodStromGas
to 31.12.2025StromNZV §13 Abs. 3GasNZV §25
from 01.01.2026GPKE (BK6-24-174) Teil 1 Kap. 8.4GaBi Gas 2.1 (BK7-24-01-008)

GeLi Gas 3.0 does not carry Mehr-/Mindermengen; its transferred scope is Netzzugangsverträge, Lieferantenwechsel and Messung.

§Errors

BillingError::InvalidInput when period_from >= period_to.