Add a list of database entries to a form

Im sorry if the title is incorrect, but it is quite hard to explain.
So I’m building an invoice maker and I have database type for the invoice. But I also have a database type for the products. So my question is how can I add a number of specific products to my invoice (on the invoice maker form)?