I want to second Johnny’s comment that “I invite you for dinner” is poor English. There are plenty of things that you can be invited to, though, where you would be expected to bring something or offer to bring something.
We’re invited to Jeff’s birthday party (gift)
We’re invited to a Memorial Day picnic at the Johnson’s (typically potluck, so bring a dish)
The Smiths invited us over for dinner (a bottle of wine, dessert etc)
I’d like to invite you over for dinner.
I’d like to invite you to dinner.
(In a dating situation, these two would imply that the invitee doesn’t have to pay, though it could be nice to offer something)