Cancel order with status 'On hold' not possible and no credit invoice
Since last week we have some difficulties cancelling orders via API when the orderstatus is 'On hold'. We first have to change the status via the backoffice to 'Off hold'. After that, we are able to cancel the order via API, but there is no credit invoice created. It's also not possible to create the credit invoice afterwards in the backoffice.
Also when the order has never had the 'On hold' status, there is no credit invoice created after cancelling via API. Before this, it was always possible to cancel an order and the credit invoice was created automatically.
Is this a bug? We now have multiple cancelled orders without credit invoice.