Sales Ledger - Invoice GL entries - Using Ref Codes

Hi,

I am looking to use Ref codes , so when an invoice is posted it uses a gl ref codes. Basically, I have a list of projects with corresponding ref codes which are currently used more manual generals. I would like to ref codes when posting invoices. I can't seem to find anything obvious within the standard system. Is this possible in epicor 9 or vantage 8.03.4+.

Thanks in advance