Detection of benzoylecgonine typically involves immunoassay techniques such as enzyme-linked immunosorbent assay (ELISA), followed by confirmatory tests like gas chromatography-mass spectrometry (GC-MS) or liquid chromatography-mass spectrometry (LC-MS). These methods provide high sensitivity and specificity, ensuring reliable identification of the metabolite.