Cal. Health & Safety Code § 13878
A district may contract with any person or public agency to provide district services to territory which is outside the district. A contract shall provide for payment in advance.