The function of Ensembl gene identifier ENSG00000136881 (BAAT, bile acid-CoA:amino acid N-acyltransferase) is as follows. Catalyzes the amidation of bile acids (BAs) with the amino acids taurine and glycine (PubMed:12239217, PubMed:12810727, PubMed:2037576, PubMed:8034703). More than 95% of the BAs are N-acyl amidates with glycine and taurine (PubMed:8034703). Amidation of BAs in the liver with glycine or taurine prior to their excretion into bile is an important biochemical event in bile acid metabolism (PubMed:12810727). This conjugation (or amidation) plays several important biological roles in that it promotes the secretion of BAs and cholesterol into bile and increases the detergent properties of BAs in the intestine, which facilitates lipid and vitamin absorption (PubMed:12810727). May also act as an acyl-CoA thioesterase that regulates intracellular levels of free fatty acids (PubMed:12239217, PubMed:12810727, PubMed:8034703). In vitro, catalyzes the hydrolysis of long- and very long-chain saturated acyl-CoAs to the free fatty acid and coenzyme A (CoASH), and conjugates glycine to these acyl-CoAs (PubMed:12810727). {ECO:0000269|PubMed:12239217, ECO:0000269|PubMed:12810727, ECO:0000269|PubMed:2037576, ECO:0000269|PubMed:8034703, ECO:0000303|PubMed:12810727, ECO:0000303|PubMed:8034703}.