Opinion
I
Plaintiff B & P Development Corporation, doing business as B & P Inc., appeals from an order dismissing the action after a general and special demurrer by defendant City of Saratoga (City) was sustained without leave to amend. Plaintiff seeks a refund of various development fees expended on a subsequently abandoned condominium project. We affirm for the following reasons.
II
Scope of Review
A general demurrer presents the same question to the appellate court as to the trial court, namely, whether the plaintiff has alleged sufficient facts to justify any relief, notwithstanding superfluous allegations or claims
*953
for unjustified relief.
(Harnish
v.
Bramer
(1886)
In evaluating a demurrer, we assume the truth of all material facts properly pleaded in the complaint unless they are contradicted by facts judicially noticed (Code Civ. Proc., §§ 430.30, subd. (a), 430.70;
Saltares
v.
Kristovich
(1970)
Ill
The Complaint
The subject of this appeal is plaintiff’s second amended complaint, filed after a demurrer was sustained by stipulation to the first amended complaint. The original had been amended as a matter of course (Code Civ. Proc., § 472) without prior demurrer. It attempts to state five causes of action, all seeking recovery of development fees plaintiff paid to defendant in the course of subdividing property for condominium units.
The first cause of action alleges: on August 21, 1980, defendant’s City council granted conditional approval for a subdivision map containing plaintiff’s plan for developing condominium units on certain property located in *954 the City. Both before and after obtaining defendant’s approval, plaintiff paid defendant the following fees as a condition of subdividing the property: On July 8, 1980, storm drain connection fees of $6,655.70, park development fees of $26,900, engineering and inspection fees of $8,400; probably on the same date (the check copy is virtually illegible) a cash deposit regarding an improvement contract of $10,000, and on July 25,1980, sewer connection fees of $600, and on April 1, 1982, fees for letters of credit of $641.55; 1 all totaling $53,197.25. These fees were based on the proposed number of condominium units. Defendant subsequently abandoned the project without building any units and in early 1983, filed a governmental claim for refund of the fees, which defendant denied.
The second cause of action alleges that after obtaining defendant’s subdivision map approval, on September 16, 1980, plaintiff paid defendant $12,750.76 in building permit fees, which were based on the proposed number of condominium units. Defendant subsequently abandoned the project without building any units and, in early 1983, filed a governmental claim for refund of the fees, which defendant denied.
The third cause of action alleges that in connection with the fees described in the first cause of action, plaintiff is informed and believes that in 1983 defendant rezoned the subject property, which extinguished plaintiff’s development rights under the approved subdivision map. Defendant has refused plaintiff’s claim for a refund and is unjustly enriched.
The fourth cause of action alleges the rezoning had the same effect as described in the third cause of action on the building permit fees described in the second cause of action.
The fifth cause of action alleges defendant has unlawfully taken plaintiff’s development rights by rezoning the property as described in the third and fourth causes of action.
IV
Subdivision Map Act Fees
We now examine the statutory basis for the fees in order to locate any refund provisions.
*955 A. Park Fees
Some of the development fees which are the subject of the first, third and fifth causes of action were imposed pursuant to provisions in the Subdivision Map Act (Map Act). (Gov. Code, tit. 7, div. 2, § 66410 et seq.)
2
We observe in general a city cannot, as a condition of granting subdivision map approval, exact general revenue fees not specifically authorized by the Map Act.
(Kelber
v.
City of Upland
(1957)
The $26,900 park development fee was authorized by section 66477, which provided in 1980 (Stats. 1979, ch. 1192, § 7, pp. 4694-4695): “The legislative body of a city or county may, by ordinance, require the dedication of land, the payment of fees in lieu thereof, or a combination of both, for park or recreational purposes as a condition to the approval of a final map or parcel map, provided that: . . . [1Í] (c) The land, fees, or combination thereof are to be used only for the purpose of providing park or recreational facilities to serve the subdivision. ... [11] (e) The amount ... of land to be dedicated or the fees to be paid shall bear a reasonable relationship to the use of the park and recreational facilities by the future inhabitants of the subdivision. [If] (f) . . . . Any fees collected under the ordinance shall be committed within five years after the payment of such fees or the issuance of building permits on one-half of the lots created by the subdivision, whichever occurs later. If such fees are not committed, they shall be distributed and paid to the then record owners of the subdivision in the same proportion that the size of their lot bears to the total area of all lots within the subdivision. ...”
Defendant City had a subdivision ordinance (§ 13.8) in effect at the time which authorized collection of park fees.
B. Storm Drain and Sewer Connection Fees
We presume the statutory basis for the $6,655.70 storm drain connection fee and the $600 sewer connection fee is section 66483, which provides: “There may be imposed by local ordinance a requirement for the payment *956 of fees for purposes of defraying the actual or estimated costs of constructing planned drainage facilities for the removal of surface and storm waters from local or neighborhood drainage areas and of constructing planned sanitary sewer facilities for local sanitary sewer areas, subject to the following conditions: ...” The drainage and sanitary sewer fees must be no greater than necessary and used to construct facilities to benefit the subdivision. (§ 66483.)
When there is a surplus, no more than 5 percent of such unexpended funds may be transferred to the city’s general fund. (§ 66483.1, subd. (a).) Otherwise it must be used to improve the facilities within the affected area (§ 66483.1, subd. (b)) or refunded (§ 66483.1, subd. (c)). The refund goes to the current lot owners and then, if unclaimed, to the city. (§ 66483.2.) 4
Defendant City’s subdivision ordinance (§ 4) imposed a storm drainage fee. Defendant City characterizes the sewer connection fee as really a performance bond, but recognizes that the record does not support this contention. Based on the allegations of the complaint, we must presume it is related to the storm drainage fee.
C. Performance Security Fees
The $10,000 cash deposit was part of the security to guaranty plaintiff would perform certain improvements, such as building and maintaining streets, which was authorized by section 66499 et seq. Presumably the $641.55 expended for letters of credit was also part of the security. The security may be partially or wholly released upon the subdivider’s promised performance. (§ 66499.7.) Defendant City’s subdivision ordinance (§ 17) required such a security.
D. Engineering and Inspection Fees
Defendant City has not directed us to any statutory basis for the $8,400 engineering and inspection fee, other than its own subdivision ordinance *957 (§ 4), which provides in pertinent part: “The inspection fee to be paid on filing of improvement plans shall be a percentage of the estimated costs of the improvements as determined by the City Engineer excluding any cost of constructing sanitary sewers and/or public utilities . . . . [1Í] Upon payment of said fee, the City Engineer shall assume full jurisdiction over the inspection of construction of the improvements after the subdivider’s engineer has set alignment and grade stakes in accordance with accepted engineering practice. Upon satisfactory completion of improvements the City Engineer will certify to the City Council that the improvements have been completed in accordance with this ordinance. If the actual cost of the improvement is less than the estimated cost, the balance of the fee remaining shall be refunded to the subdivider. If the actual cost of the improvement exceeds the estimated cost, the subdivider shall pay such additional fee before final acceptance. [H] Accurate cost data based upon contract unit prices and final quantities shall be submitted to the City Engineer by the subdivider within 90 days after construction is completed. If this provision is not complied with, there shall be no refund of any fees to the subdivider. Anything to the contrary hereinabove notwithstanding, in no event will the amount of the original fee, less any refund, be less than the actual cost of inspection services provided by the City based on time, materials, equipment and overhead. [1Í] In the event the cost data furnished by the subdivider shows the actual cost of the actual improvements to be less than the estimated cost, any refund due thereby shall not be computed or paid until the expiration of subdivider’s maintenance time of said improvements and the correction of any and all deficiencies in construction and maintenance, and the final acceptance of said improvements by the City.”
Section 66451.2 at the time of the payment provided: “The local agency may establish reasonable fees for the processing of tentative, final and parcel maps and for other procedures required or authorized by this division or local ordinance.” (Stats. 1974, ch. 1536, § 4,pp. 3473-3474.) An additional fee may be imposed if the owner requests a certificate of compliance with the act from the city, but none is required when there is a filed and recorded final map. (§ 66499.35, subds. (a), (d); Stats. 1977, ch. 234, § 14, p. 1039.)
We are not sure that these provisions or any others in the Map Act authorize the city engineer to charge for inspection and approval of planned improvements as a condition of filing a final subdivision map, although the parties do not share our concern. A certificate by the city engineer is required to be filed with the final map (§ 66435) which attests to compliance with the Map Act and applicable local ordinances (§ 66442, subd. (a)(3)). But the focus of the act is on the preparation of adequate plans, not the adequacy of the subsequent construction.
*958
The complaint and the ordinance do not clarify to which specific improvements the engineering and inspection fee apply. Perhaps these fees arise by a contract between the developer and the city. A city may approve a final map with improvements still under construction conditioned on an agreement with the subdivider that either the city or the subdivider will complete the planned improvements. (§ 66462, subd. (a).) (Cf.
City of Buena Park
v.
Boyar
(1960)
E. General Refund Provisions
We have already quoted the specific refund provisions applicable to park fees, storm drain and sewer fees, and engineering and inspection fees. We now take note of general refund provisions in the Map Act. The final act in establishing a subdivision under the act is for the subdivider to file and record a final map. (§§ 66412.7, 66425, 66426, 66429, 66440, 66457, 66468.) The act allows for a subdivision to revert to acreage thereafter. (§ 66499.11 et seq.) The procedure commences with a petition and involves findings by the legislative body that any dedications are not needed and either all property owners consent, or none of the planned improvements were built within either two years of recordation of the final map or an agreed later time, or no lots have been sold within five years of recording the final map. (§ 66499.16.) Reversion takes effect upon filing of a final map. (§ 66499.18.) “When a reversion is effective, all fees and deposits shall be returned and all improvement security released, except those retained pursuant to Section 66499.17.” (§ 66499.19.) Section 66499.17 states: “As conditions of reversion the legislative body shall require: [H] (a) Dedications or offers of dedication necessary for the purposes specified by local ordinances following reversion. [11] (b) Retention of all previously paid fees if necessary to accomplish the purposes of this division or local ordinance adopted pursuant thereto. [11] (c) Retention of any portion of required improvement security or deposits if necessary to accomplish the purposes of this division of [szc] local ordinance adopted pursuant thereto.”
V
Case Law
In the lower court the disagreement between the parties was whether plaintiff had stated a cause of action in contract or quasi-contract for a refund of development fees. They also disagreed on whether the second amended complaint was uncertain. The court order sustaining the demurrer
*959
adequately incorporated by reference all the grounds stated in the general and special demurrer to support its order. (Code Civ. Proc., § 472d.) As plaintiff’s counsel contended at oral argument, ordinarily on appeal we determine whether any of the grounds raised by the defendant’s demurrer justifies the court’s ruling.
(Gonzales
v.
State of California
(1977)
An appellate court may also consider new theories on appeal from the sustaining of a demurrer to challenge or justify the ruling. As a general rule a party is not permitted to change its position on appeal and raise new issues not presented in the trial court.
(Estate of Westerman
(1968)
We requested further briefing discussing
Wright Development Co.
v.
City of Mountain View
(1975)
*960 The opinion explains that prior to the lawsuit, “the approval of the subdivision map expired by operation of law.” (Id., at p. 276.) While the opinion does not elaborate further, the former Subdivision Map Act then applicable provided: “Any failure to record a final map within the period prescribed by ordinance from the approval or conditional approval of the tentative map or any extension thereof granted by the governing body, shall terminate all proceedings. Before a final map may thereafter be recorded, a new tentative map shall be submitted.” (Former Bus. & Prof. Code, § 11555 (Stats. 1965, ch. 1180, § 12, p. 2985); see now Gov. Code, § 66452.6.)
The appellate court determined the property owner was entitled to a refund. The court did not perceive any restriction in former Business and Professions Code section 11546 (id., at p. 275, fn. 1; now Gov. Code, § 66477) on use of the fees only to benefit the subdivision (id., at p. 276), but did conclude that no condominium subdivision ever came into existence, so there was no basis for collecting the fee and it must be returned. (Id., at p. 277.)
We find
Wright Development Co.
distinguishable in two important respects. First, we judicially notice, at defendant’s request and over plaintiff’s objection, that plaintiff on September 16,1980, filed and recorded its final subdivision map. (Evid. Code, § 452, subds. (g), (h).) “An appellate court is permitted to take judicial notice of any matter specified in Evidence Code section 452, although the trial court did not take notice of it and it is not in the record, so long as a record is made of the matter and each party is afforded an opportunity to respond to it. (Evid. Code, § 459 . . . .)”
(Whispering Pines Mobile Home Park, Ltd.
v.
City of Scotts Valley
(1986)
The
Wright
court was confronted with an approved, but unrecorded, final map, which had expired and lost effect because not recorded within a certain time. The
Wright
court addressed a situation where the subdivider had no existing authorization to create a condominium. In contrast, the subdivider here, having caused an approved final map to be filed and recorded, is entitled to proceed with the subdivision, subject, of course, to any other applicable legal requirements, such as building permits.
(Hazon-Iny Development, Inc.
v.
City of Santa Monica
(1982)
More importantly, Wright is distinguishable because under the version of the Map Act then in effect, there was no general provision for a refund of fees upon a reversion to acreage. The act did contain a comparable procedure allowing the local governing body to revoke its approval of a final map on which no action had been taken for a specified time, but this procedure did not expressly provide for a fee refund. (Former Bus. & Prof. Code, § 11640; Stats. 1959, ch. 1956, § 1, p. 4561.) The Wright court filled in a gap in the earlier legislation to address the possibility of a fee refund on abandonment of a subdivision.
We decline to similarly create a common law alternative provision for obtaining a refund now that, as noted above, the current version of the Map Act expressly provides for a refund of all unused and unnecessary fees upon a formal reversion to acreage. (Gov. Code, §§ 66499.17, 66499.19.) Moreover, we have seen there are alternative provisions for obtaining a refund of excess, unused park (§ 66477, subd. (f)) 6 and storm drain and sewer connection fees (§ 66483.2). We also note defendant City has provided in its ordinance for a similar alternative refund of excess, unused engineering and inspection fees.
A statutory remedy for a statutory right is considered exclusive where the Legislature so intended
(Strauss
v. A.
L. Randall Co.
(1983)
We have also seen that the Legislature has time and again restricted the exaction of subdivision fees to those reasonably required to regulate and benefit the particular subdivision. The Legislature has also time and again specifically provided methods for obtaining a refund of unused, excess fees. We decline plaintiff’s invitation to improve on this comprehensive scheme by judicial creation of an alternative.
In three versions of the complaint, plaintiff never suggested compliance with this statutory refund procedure. Our ultimate concern is: “If there is any reasonable possibility that the plaintiff can state a good cause of action, it is error to sustain a demurrer without leave to amend.”
(Youngman, supra,
We also do not see how the alleged 1983 rezoning could furnish plaintiff an excuse for noncompliance with this procedure for obtaining a refund. The general refund procedure may be invoked either upon rezoning or the subdivider’s abandonment of the subdivision or for any other reason, so long as the statutory requirements for reversion to acreage are met.
*963
We do not understand how the retention of the fees constitutes an unconstitutional taking of plaintiff’s property without due process of law. Plaintiff advances without elaboration for the first time on appeal the vested rights doctrine, which is predicated in part on this constitutional provision.
(Urban Renewal Agency
v.
California Coastal Zone Conservation Com.
(1975)
VI
Building Permit Fees
The building permit fees of $12,750.76 which are the subject of the second, fourth and fifth causes of action were imposed pursuant to a provision in the State Housing Law. (Health & Saf. Code, div. 13, pt. 1.5, § 17910.) This law requires cities to adopt (§ 17958) and enforce (§ 17960) state building standards, including those based on the Uniform Building Code (§ 17922, subd. (a)(2)). In 1980, when these fees were paid, section 17951 provided: “(a) The governing body of any city or county may prescribe fees for permits, certificates, or other forms or documents required or authorized by this part or rules and regulations promulgated pursuant thereto. [11] (b) The governing body of any city or county or fire protection district may prescribe fees to defray the costs of enforcement required by this part to be carried out by local enforcement agencies. [11] (c) The amount of the fees prescribed pursuant to subdivisions (a) and (b) of this section shall not exceed the amount reasonably required to administer or process such permits, certificates, or other forms or documents, or to defray the costs of enforcement required by this part to be carried out by local enforcement agencies, and shall not be levied for general revenue purposes. . . .” (Stats. 1979, ch. 1152, § 76.5, pp. 4268-4269.)
A city is required to keep an official copy of building plans (Health & Saf. Code, § 19850) but may charge for so doing. In 1980, section 19852 provided: “The governing body of a city or county may prescribe such fees as will pay the expenses incurred by the building department of such city or county in maintaining the official copy of the plans of buildings for which it has issued a building permit.” (Stats. 1971, ch. 616, § 1, p. 1218.)
*964 Specific plan review and building permit fees were imposed as provided for by the 1979 Uniform Building Code section 304. Under the applicable 1979 Uniform Building Code, the building permit lapsed if no work commenced within 180 days of the date of the permit. (§ 303, subd. (d).) A permittee could obtain up to an 80 percent refund of permit and plan review fees, so long as a written refund request was made within 180 days of the fee payment. (§ 304, subd. (e).)
The State Housing Law itself contains no provisions comparable to the Map Act for obtaining a fee refund. However, the Uniform Building Code which it incorporates by reference does contain refund provisions. In three versions of the complaint, plaintiff never suggested compliance with this statutory refund procedure.
Plaintiff objects to consideration of a statute of limitations defense on appeal because it was not raised in the trial court. It is true that an appellate court usually will not consider the effect of a statute of limitations asserted for the first time on appeal.
(Coruccini
v.
Lambert
(1952)
Instead, we find the requirement for filing a refund claim under the Uniform Building Code to be comparable to the statutory prerequisite of presenting a governmental claim prior to filing suit against a public entity. (Gov. Code, § 945.4.) It is an element of the cause of action, subject to general demurrer, that a timely demand has been presented to the public entity and rejected or there is an excuse for noncompliance.
(Tietz
v.
Los Angeles Unified Sch. Dist.
(1965)
Plaintiff’s counsel at oral argument admitted doubt about his ability to amend the complaint to cure this defect. We share that doubt, and since plaintiff has never suggested making a timely written request for a refund of building permit fees, we hold the trial court did not abuse its discretion *965 in sustaining the demurrer without leave to amend to plaintiff’s second, fourth, and fifth causes of action seeking refund of those fees.
VII
The judgment is affirmed.
Brauer, J., and Simmons, J., * concurred.
Notes
The exhibits attached to the complaint indicate these fees were paid to a bank and not the defendant.
Further statutory citations are to the Government Code unless otherwise noted.
We recognize these cases have been disapproved in part by
The Pines
v.
City of Santa Monica
(1981)
Section 66483.2 provides: “Any surplus remaining shall be refunded as follows:
“(a) There shall be refunded to the current owners of property for which a fee was previously collected, the balance of such moneys in the same proportion which each individual fee collected bears to the total of all individual fees collected from the particular drainage or sewer area;
“(b) Where property for which a fee was previously collected has subsequently been subdivided into more than one lot, each current owner of a lot shall share in the refund payable to the owners of the property for which a fee was previously collected in the same proportion which the area of each individual lot bears to the total area of the property for which a fee was previously collected; and
“(c) There shall be transferred to the general fund of the county or city any remaining portion of the surplus which has not been paid to or claimed by the persons entitled thereto within two years from the date either of the completion of the improvements, or the adoption by the legislative body of a resolution declaring a surplus, whichever is later to occur.”
If there has been any agreement or local regulation to the contrary in our case, it is not contained in the record.
We note that more than five years have passed since the.park fees were paid in July 1980. Nevertheless, we are not concerned with the statute requiring park fees to be committed within five years or returned to the property owners, because the original complaint was filed in September 1983. Generally, a lawsuit cannot be filed in anticipation of the occurrence of facts constituting a cause of action. (Cf.
Gardner
v.
Shreve
(1949)
Assigned by the Chairperson of the Judicial Council.
