get one over on

Obere Mittelstufe (B2) informal

To win against someone, trick them, or make them look foolish.

"He thought he could get one over on the tax office, but they caught up with him eventually."