List Invoice Filter Options
Return the universe of filter values available for a facility and invoice type
GET
Overview
Returns the distinct values that can be used to populate filter dropdowns for the invoices list of a given facility and invoice type (heat,
electricity, water, recharge, process, waste_water_treatment).
The response represents the universe of values that exist for that
facility + type. It is not scoped by the filters the user has already
selected — this lets the UI offer cross-filter combinations without a
cascade that hides valid options.
Query Parameters
Facility whose invoices should be scanned.
Invoice type.Allowed values:
heat, electricity, water, recharge, process, waste_water_treatmentResponse
Distinct CUPS codes seen on invoices of that facility + type.
Suppliers referenced on existing invoices.
Users who have uploaded invoices.
Distinct invoice sources. Known values:
manual, pdf, bulk_file,
datadis. Invoices with a NULL source are surfaced as "manual" so
the UI can offer a single “Manual” option that also matches legacy rows.Stationary fuels referenced on heat invoices.
Facility fuels referenced on existing invoices.
Supply contracts referenced on existing invoices.

