Implemented the code to read from the invoice detail form into the corresponding model.