See this chapter of the UPC except as provided below. 906.1 Roof Termination. See this section of the UPC except add the following to the end: "Exception: When approved by the authority having jurisdiction, a fixture or fixture branch may be permitted to be vented by the use of an approved Air Admittance Valve (AAV) in accordance with its listing when conventional venting termination methods are not available."
N.M. Admin. Code § 14.8.2.19