<p>A scroll compressor as a fluid machine has a housing for receiving a scroll unit and an armature of an electric motor together and has connection device (66) for electrically connecting a stator coil (62) of the armature and a circuit board outside the housing. The connection device (66) has a tubular lead holder (70) and a wire-like lead (76). The lead holder (70) extends in an airtight manner from the inside of the housing to the outside of a housing wall (16) through a through-hole (68), and has a head (72) and a snap anchor (74) for clamping the housing wall (16). The lead (76) extends from the stator coil (62) and is led out to the outside of the housing wall (16) after passing in an airtight manner through the inside of the lead holder (70).</p>