pub fn settle_mmm(input: &MmmInput) -> Result<SettlementResult, BillingError>Expand description
Calculate a Mehr-/Mindermengen settlement invoice (PID 31005, Strom and Gas).
§Legal references
Selected from the delivery period, because StromNZV and GasNZV both ceased to apply with effect from the end of 31.12.2025:
| Period | Strom | Gas |
|---|---|---|
| to 31.12.2025 | StromNZV §13 Abs. 3 | GasNZV §25 |
| from 01.01.2026 | GPKE (BK6-24-174) Teil 1 Kap. 8.4 | GaBi 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.