Skip to content
Updated Sep 11, 2026 by Barča Dvořáková · Owner: analysisactiveenumconfluence-migration Edit on GitHub

Enum - InvoiceValueKind ​

Key: enum.invoiceValueKind

Measurement dimension on invoiceValue identifying what kind of figure a value represents. Combined with tariff, it forms part of the composite identity distinguishing the segmented rows of a single invoice. Deliberately narrow and fixed — unlike EM2's single 14-value Segment enum shared across invoices and readings, this enum only covers the values that are meaningful on an invoice.

Revision note (2026-08-18): restored as the active enum for invoiceValue.kind (an earlier revision the same day briefly retired this in favour of reusing Enum - ReadingType — reverted per decision to keep cost tracking as a supported, if currently unused, capability). power was added as a new value, confirmed present in live data.

Values ​

ValueDescription
consumptionInvoiced energy consumption quantity for the period, in the gauge's medium (e.g. kWh). Broken down by tariff when the gauge has multiple tariff bands. Also covers delivered/fed-in energy ("dodávka/přetok" / supply/feed-in) for export-direction gauges — direction is a property of the gauge itself, not a separate dimension here.
powerInvoiced power quantity (e.g. kW) — a physically distinct measure from energy consumption, confirmed present in live data (staging query, 2026-08-18: 772 rows in invoice_value, 1,631 rows in gauge_reading_value), likely reserved-capacity/demand-related charges.
costWithVatInvoiced cost, gross (incl. VAT), corresponding to this row's tariff breakdown. No historical rows exist in EM2 data today — kept as a valid, intentionally-supported value for future use, not removed on that basis.
costWithoutVatInvoiced cost, net (excl. VAT), corresponding to this row's tariff breakdown. Same status as costWithVat — no historical data, valid for future use.

References ​

  • invoiceValue.kind
  • Invoice Management (feature)