Ah, the second operation was without VAT, so I suppose they wanted to cancel the first debiting and then debit correctly without VAT. They managed to do the second, but did not perform the first correctly. Or maybe internally somebody thought that the first operation had been already cancelled and so debited a second time, without VAT.

Not that I am justifying them, it's really a bad professional performance anyway.