issue is resolve, partially. as I find out, the "Invoice" is not the invoice, so they don't need to be generated, just needs to be viewable. Instead of this, I created an Invoice export, what goes in to XERO, where the invoice is generated and distributed automatically.
Thanks for you help.