Can my water district's billing practices still be legal?
They are likely to be legal, but it isn't entirely clear.
Contract Law
ETo data is not published in advance of billing, which seems to
violate Contract Law's notion of agreement between parties.
A contract can set forth a formula for determining a price, rather than a particular dollar amount.
For example, my utility company charges me a rate for electricity and natural gas that is based upon the market price of those commodities that it has to pay (although since my utility is a regulated utility, it has to get approval from a government agency each time it does so to confirm that it is really charging the market rate).
Similarly, in the construction industry, and in government contracts, "cost plus" contracts that charge based upon whatever is spent to get the job done plus a market up by the general contractor, are not uncommon.
Proposition 218
The Proposition 218 analysis is trickier. This is clearly not a tax or an assessment. So the threshold question is whether this is a Property Related Fee. In December of 2018 a legislative analysis stated that:
A fee is a charge imposed on an individual or business for a service
or facility provided directly to an individual or business. Local
governments charge fees for a wide range of purposes, from park entry
fees to building plan check fees. The amount of the fee may not exceed
the cost of government to provide the service.
Proposition 218 restricts property-related fees, defined as fees
imposed "as an incident of property ownership." At this time, there is
no consensus as to which fees meet this definition. The drafters of
Proposition 218 indicate that it was their intent to include most fees
commonly collected on monthly bills to property owners, such as those
for water delivery, garbage service, sewer service, and storm water
management fees. Other analysts of Proposition 218 contend that fees
that vary by level of service (for example, a fee for metered water
usage) should not be considered a property-related fee, because it is
based on service usage, rather than property ownership. Because
Proposition 218 does not restrict nonproperty-related fees, the
definition of this term will be an important and sensitive issue for
the Legislature and courts.
But, the California Supreme Court clarified this in July of 2006 in the case of Bighorn-Desert View Water Agency v. Verjil, ruling that metered rates for consumption of water are “property-related fees” subject to Proposition 218.
So, assuming that your Water District is a governmental agency and not just a private company like a Ditch Company from which you receive privately owned water because you have shares in it, Proposition 218 should apply. This leads to the second question:
Does the amount of the fee exceed the cost of government to provide the service?
This is a non-trivial question with lots of ambiguities associated with it, that are fundamentally accounting issues, regarding the level of generality at which you analyze it.
At the most general level, the water district clearly isn't allowed to collect more in fees in the aggregate than is necessary for it to break even from purchasing the water from someone and conducting its operations (assuming that it is a governmental entity).
But, assuming that this threshold is met, the question is then how much discretion the water district has to allocate its costs, many of which are fixed costs that benefit all of the people in the water district, to particular users. It sounds from the question as if some of its costs involve purchasing water from a wholesaler, and some involve things like distributing that water to individual customers, metering usage, invoicing customers and collecting payments.
Also, another question of generality is over what time period costs have to match services. At a fairly broad level of generality, perhaps it is permissible to match fees to cost on an annual basis. Certainly, the matching doesn't have to be any more specific than for an individual billing cycle, but it isn't obvious that this much precision in timing is required.
Almost certainly, the water district is entitled to some deference in how it decides to allocate costs to services when there is more than one reasonable way to do so.
Very likely, the water district evaluated its billing policy with its municipal attorney in light of Proposition 218 when it adopted this system and obtained an opinion of counsel that its plan was compliant. Indeed, it probably has covenants in its municipal bond offerings that require it to do so.
Therefore, it is very unlikely that the water district's billing policy blatantly and unambiguously violates Proposition 218, even though it make be pushing the envelope with a billing scheme that isn't clearly allowed or clearly forbidden by court precedents that are factually similar.
If that is the case, you might find a lawyer willing to bring a class action lawsuit to test the validity of the billing system, but it would likely be a long and difficult case with an uncertain outcome that the water district is more likely to win than you are, although it still might be a technical violation.
Given the small stakes you have in the question with your own relatively small water bill, and the high stakes that the water district has in justifying its billing system for all of its customers, it is hard to see how this would be an economic battle for you to fight.