get and validate line item data from model