Alternate solution is probably to write a suitelet...
# general
b
Alternate solution is probably to write a suitelet that generates the invoice for you.