I've researching online on how to generate an invoice from a sales order through suitescript 2.0 but without any luck.
Could anyone shed a light on how to do this please.
Here's my situation: Order is placed through API SOAP and I want to auto-generate an invoice once the order is placed on Netsuite. Once the invoice is created, then email that invoice to the customer.