I'd like to invite you for a coffee, if you have time.
Ti invito a un caffè, se hai tempo.
Sounds roughly like tee een-VEE-toh ah oon kahf-FEH, seh eye TEM-poh (estimated)
Informal, A2. for friends and people your age
Word by word.
Swap un caffè for: un tè (a tea), un aperitivo (an aperitif), una birra (a beer), un gelato (an ice cream), un cappuccino (a cappuccino). Alternatives are estimated.