In my case, the process flow is Sales Order → Delivery Note → Sales Invoice. However, when the Delivery Note is submitted, it doesn’t create an entry for Sales and Taxes. Only when the Sales Invoice is submitted do these entries get created. My main objective is to have the Sales and Taxes entries generated from the Delivery Note rather than from the Sales Invoice.