Hello,
I’m having difficulty creating an import scenario to generate a Prepayment Invoice from the Sales Order screen.
In the manual process, the user clicks the Prepayment Invoice button, which opens a pop-up window asking for the amount or percentage of the sales order. After confirming, the system navigates to the AR Invoice and Memo screen, automatically copying all relevant data from the Sales Order screen. At this point, the user simply needs to click Save to complete the creation of Prepayment Invoice.
Please see screenshot below the whole process.

Based on the manual process, I attempted to create an import scenario. I tried using the Add Invoice Details object under the sales Order screen, but I noticed that this object does not include a Save Action. Could someone please advise or guide me on how to proceed with this . We need prepayment Invoice due to VAT requirement,

