It depends how you recorded the prepayment.
If you recorded it through a purchase order, than this is where your invoice needs to be.
If you recorded it through a "prepayment" AP invoice journal, than you can record the invoice on the AP invoice journal.