Yes query will do it, but a couple of things to think about first.
How are you going to determine which invoices to print (have they already been paid in either part of full or are they even due yet)
When printing the invoice you will need to print at least 2 copies, one for the client and one...