Does Invoice Ninja give you a URL that you can use to get to an invoice?
If Yes,
create a field in the Admin panel -> Manage -> Forms -> Ticket Details form.
Then your Agents can put the URL into the ticket to reference it later.
If No,
then you would have to create a plugin or something to do whatever it is that you are trying to do.