I asked her out to the movies.

Literal

Her movie [to-に] invited [explanatory-んだ].

映画に誘った means 'invited to a movie.' ~んだ adds explanatory context — the speaker is telling someone about it.