T999-develop: link invoice to a command

If you do not create the invoice from the order,
it can connect to a command by clicking "bind a command"