Possesses triterpene oxidizing activity. Catalyzes the C28 hydroxylation of alpha-amyrin, beta-amyrin, and lupeol, producing uvaol, erythrodiol, and betulin, respectively. Catalyzes the C28 carboxylation of alpha- and beta-amyrin. Belongs to the cytochrome P450 family.