How can i add discount code field as a text

How can i add discount code field as a text

How can i add discount code field as a text  in aggregative field of invoice module in Invoiced Items. 
as shared the screenshot for reference. 

There i can see only number, Currency and decimal field type.

Thanks,
Sidhant A.