Currently in a workflow, when an invoice template is used, the products are those of the template.
Ideally, the invoice template should be customized according to the products of an approved/signed document or an approved/signed estimate.