Setup for Invoice and Quote line fields is done under the Settings > Customer section. Custom fields for Invoice lines are available from within the invoice from:
The custom fields for a specific line will be available by firstly selecting the invoice line entry then the Custom Fields text. This will display the line specific custom fields under the line
Enter data into the fields as required.
Invoice and Quote layouts need to be customised to display the custom fields.