It works for all moves that cause damage.
>All moves that actively deal damage and do not already have a chance to flinch will gain a 10% chance of flinching the opponent. (This chance doubles to 20% if the holder has Serene Grace.) This effect does not stack with Stench, and is not affected by Sheer Force.
Source