integrated the scaffold for adding purchases to an invoice