add iteration over products in invoices.dat