Earlier, for shipments created via the POST V2/salesorder/{salesOrderNbr}/action/createShipment endpoint, the Prepare invoice action always created invoices of the type Credit note. This has now been fixed.
Earlier, for shipments created via the POST V2/salesorder/{salesOrderNbr}/action/createShipment endpoint, the Prepare invoice action always created invoices of the type Credit note. This has now been fixed.