I am trying to use custom script in which I want my system to submit invoice automatically when status==Draft. Below sample code for reference. Can anyone help me out in this case.
Dear @NCP Issue is when I’m trying to send a Sale Invoice through API in that case it is not submitting the record auto. With manual creating sales, Invoice is fine. Can you suggest?