Bifunctional enzyme that catalyzes the post-translational modification of inactive peptidylglycine precursors to the corresponding bioactive alpha-amidated peptides, a terminal modification in biosynthesis of many neural and endocrine peptides (PubMed:12699694). Alpha-amidation involves two sequential reactions, both of which are catalyzed by separate catalytic domains of the enzyme. The first step, catalyzed by peptidyl alpha-hydroxylating monooxygenase (PHM) domain, is the copper-, ascorbate-, and O2- dependent stereospecific hydroxylation (with S stereochemistry) at the alpha-carbon (C-alpha) of the C-terminal glycine of the peptidylglycine substrate (PubMed:12699694). The second step, catalyzed by the peptidylglycine amidoglycolate lyase (PAL) domain, is the zinc-dependent cleavage of the N-C-alpha bond, producing the alpha-amidated peptide and glyoxylate (PubMed:12699694). Similarly, catalyzes the two-step conversion of an N-fatty acylglycine to a primary fatty acid amide and glyoxylate (By similarity).