To create heading for the Items, first you have to enable the option in the settings. Please go to Document settings >> Enable Item Headers >> Select the document >> Update settings.
After enabling the option, In the Invoice creation page, when you hover on the item name, you will get Header option. Enter the title name and click on green tick.